COM-объект класса "Excel.Application" не удалось создать. Убедитесь, что объект был должным образом зарегистрирован на компьютере
Подскажите кто-нибудь сталкивался с данной ошибкой?
Делаю отчет (XMLExcelReport_RU) в пакете, но возникла ошибка.
Причем файл создается в нужной мне папки, но возникает ошибка.
логи
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Dynamics.Ax.Application.ComOfficeDocument_RU.Getcomerrormsg() in ComOfficeDocument_RU.getCOMErrorMsg.xpp:line 7
at Dynamics.Ax.Application.ComOfficeDocument_RU.Initapplication(Boolean _bVisible, Int32 _displayAlerts, Boolean , Boolean ) in ComOfficeDocument_RU.initApplication.xpp:line 32
at Dynamics.Ax.Application.ComOfficeDocument_RU.Initapplication(Boolean _bVisible, Int32 _displayAlerts)
at Dynamics.Ax.Application.ComOfficeDocument_RU.Newfile(String _template, Boolean _bVisible, Int32 _displayAlerts, Boolean , Boolean , Boolean ) in ComOfficeDocument_RU.newFile.xpp:line 19
at Dynamics.Ax.Application.ComOfficeDocument_RU.@Newfile(String _template, Boolean _bVisible, Boolean , Boolean )
at Dynamics.Ax.Application.ComOfficeDocument_RU.Newfile(String _template, Boolean _bVisible)
at Dynamics.Ax.Application.XmlExcelReport_NormsExpense_VSN.Processinexcel(String _filename) in XmlExcelReport_NormsExpense_VSN.processInExcel.xpp:line 60
at Dynamics.Ax.Application.XMLExcelReport_RU.Run() in XMLExcelReport_RU.run.xpp:line 78
--- End of inner exception stack trace ---
|