NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

求帮助!!labview 2013 在生成excel报表时出现-41106报错信息

labview 2013 在生成excel报表时出现-41106报错信息,我查过英文版的解决方式,已实验过,但未解决问题,以下是报错信息。求高手们帮助解决!!1.png

0 项奖励
1 条消息(共 15 条)
7,608 次查看
0 项奖励
2 条消息(共 15 条)
7,604 次查看

这也打不开呀

0 项奖励
3 条消息(共 15 条)
7,600 次查看

Error-41106 Creating an Excel Report with the New Report VI

 



Primary Software: 
Primary Software Version: 2010
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Toolkits>>LabVIEW Report Generation Toolkit for Microsoft Office


Problem: 
Whenever I run an Excel report with the New Report VI, I always get Error -41106. The error states that Microsoft Excel is not installed on the computer. What can I do to run this report?

Solution: 
Most likely a beta version of Microsoft Office 2010 has been installed and proper uninstall of this version of Microsoft Office was not done. Also, this error code can occur when a piece of Office software is installed that is newer that the version of Excel used. For example, having Visio 2013 installed on the same machine as Microsoft Office 2010. Both scenarios can cause an extra registry key to be available. The registry key was not pointed to a Microsoft Excel Object Library and the Report Generation Toolkit was trying to use this registry.

Check Registry Keys for Excel

In order to do this go to Start»Run and type regedit and select OK. This will open the registry for editing.

Note: Editing the Registry can damage your computer. Making a backup copy before modifying the registry is strongly encouraged. To do this go to the Registry Menu and choose Export Registry File. Select All for the export range, and select a file name.

Once the registry editor is open, navigate to the following key for Microsoft Excel: 

HKEY_CLASSES_ROOT\TypeLib\{00020813-0000-0000-C000-000000000046}

This key contains the location of the type libraries for Excel. Under this key, check the following subkeys, shown below, to have the correct data associated with them.

  • The data for the 1.0 subkey should be Microsoft Excel 5.0 Object Library
  • The data for the 1.2 subkey should be Microsoft Excel 8.0 Object Library
  • The data for the 1.3 subkey should be Microsoft Excel 9.0 Object Library
  • The data for the 1.4 subkey should be Microsoft Excel 10.0 Object Library
  • The data for the 1.5 subkey should be Microsoft Excel 11.0 Object Library
  • The data for the 1.6 subkey should be Microsoft Excel 12.0 Object Library


If there any other registry keys that are not assigned to a Microsoft Excel Object Library then that registry needs to be deleted. 

For example, if there is a registry 1.7 and is not pointed to a Microsoft Excel Object Library it needs to be deleted. The error is occurring because ActiveX is trying to call upon that registry instead of the registry it needs to call upon to work with Excel.

0 项奖励
4 条消息(共 15 条)
7,507 次查看

在NI官网中直接搜索 Error-41106 Creating an Excel Report with the New Report VI

有新的进展,及时反馈

0 项奖励
5 条消息(共 15 条)
7,581 次查看

这个也看过了,没效果!!

0 项奖励
6 条消息(共 15 条)
7,577 次查看

您的office版本是多少,labview2013兼容的office版本为2003, 2007, 2010

0 项奖励
7 条消息(共 15 条)
7,554 次查看

你好!

          重装Office可以解决你的问题

0 项奖励
8 条消息(共 15 条)
7,546 次查看

office 2007重装也试过了,labview我都重装了,真不知道啥问题

 

 

开发机器用的是旗舰版2007,我用的是专业版,换成旗舰版也没效果,还会有啥引起这种现象的原因呢??

0 项奖励
9 条消息(共 15 条)
7,539 次查看

论坛上的一个同学重新安装了office2010解决了,但是你已经重新安装过了,还是没得到解决,所以建议你换台电脑试试了,有进展,及时反馈

 

0 项奖励
10 条消息(共 15 条)
7,537 次查看