Error 0x80040155 in iLogic

Error 0x80040155 in iLogic

PiazzaD
Contributor Contributor
541 Views
2 Replies
Message 1 of 3

Error 0x80040155 in iLogic

PiazzaD
Contributor
Contributor

Hello, we wrote an iLogic rule reading an embedded Excel file.The rule works fine on every PC we tested except one.

This PC W7x64 with IV2015 up to date and Office 2013 returns the following iLogic error:

 

System.Runtime.InteropServices.COMException (0x80040155): Classe non registrata. (Eccezione da HRESULT: 0x80040155)
   in Microsoft.Office.Interop.Excel.ApplicationClass.get_LanguageSettings()
   in iLogic.GoExcel.SetCurrentSheet(String fileName, String sheetName)
   in LmiRuleScript.Main()
   in Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)
   in iLogic.RuleEvalContainer.ExecRuleEval(String execRule)

 

Already reinstalled inventor and Office but no way. Anyone experiencing the same issue?

 

Thank you,

 

Daniele

0 Likes
542 Views
2 Replies
Replies (2)
Message 2 of 3

Mark.Lancaster
Consultant
Consultant

Do the other PCs have Office 2013?   On this machine have you at least launched excel?

Mark Lancaster


  &  Autodesk Services MarketPlace Provider


Autodesk Inventor Certified Professional & not an Autodesk Employee


Likes is much appreciated if the information I have shared is helpful to you and/or others


Did this resolve your issue? Please accept it "As a Solution" so others may benefit from it.

0 Likes
Message 3 of 3

PiazzaD
Contributor
Contributor

We tested on several PC with 2013 and no problems. Excel on that PC is working fine. I just disassembled the iLogic code and at that point is calling the Excel Interop. Probably something wrong with the PIA. The point is in Excel 2013 PIA is embedded in the Office setup. No more available as a stand alone installer.

0 Likes