Hello!
I've got software that uses Stimulsoft.Report.dll. While testing this soft on the computer with MS Office 2010 during the compilation of the report there is a "System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Office.Interop.Excel.dll' or one of its dependencies." occured.
But on the computer, which uses MS Office 2007, this error does not proceed.
Сan you help to solve this problem?
.Net 4.0
OS: Windows 7 professional
StimulSoft Version: 2011.1.1000.0
Inner exception:
2012.11.02.12.51.10 Execute command exception System.Reflection.TargetInvocationException System.Object _InvokeMethodFast(System.IRuntimeMethodInfo, System.Object, System.Object[], System.SignatureStruct ByRef, System.Reflection.MethodAttributes, System.RuntimeType) System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Office.Interop.Excel.dll' or one of its dependencies.
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at Stimulsoft.Base.StiAssemblyFinder.GetAssembly(String assemblyName)
at Stimulsoft.Report.StiReport.GetReferencedAssemblies()
at Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate, Object standaloneReportType)
at Stimulsoft.Report.StiReport.Compile(String path)
Thank you.
Could not load file or assembly *.Excel.dll
Re: Could not load file or assembly *.Excel.dll
Hello,
Please send us your report which reproduces the issue for analysis.
Thank you.
Please send us your report which reproduces the issue for analysis.
Thank you.
Re: Could not load file or assembly *.Excel.dll
Here it is.
Thank you.
Thank you.
- Attachments
-
- report.mrt
- (19.94 KiB) Downloaded 217 times
Re: Could not load file or assembly *.Excel.dll
Hello,
Please check the following link:
http://social.msdn.microsoft.com/Forums ... 9481298080
Thank you.
Please check the following link:
http://social.msdn.microsoft.com/Forums ... 9481298080
Thank you.