Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

Thu Mar 16, 2017 8:52 am

Hi,

I'm testing now Spire.Xls free for .NET latest versión 7.11.59.

But I get "The type initializer for 'spr1009' threw an exception" in the line: "Workbook workbook = new Workbook();"

I saw a topic about 'spr858' and i checked the Spire.pdf.dll is in the same location as Spire.xls.dll.

Thanks in advance

Ax2fg
 
Posts: 2
Joined: Thu Mar 16, 2017 8:23 am

Thu Mar 16, 2017 9:08 am

Dear Ax2fg,

Thanks for your inquiry.
Please reference all dlls from same folder. And here is the information of Spire.XLS Pack Hotfix Version:7.11.59 for checking.
1)Spire.Common.dll V1.2.610.7040
2)Spire.License.dll V1.3.6.40
3)Spire.XLS.dll V7.11.59.7040
4)Spire.Pdf.dll V3.8.197.7040
If there is any question, please let me know.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Fri Mar 17, 2017 9:20 am

Thank you Betsy for your answer asap,

I checked all dlls were in the same folder, uninstalled and installed again and other stuff.

After all of that i checked my app.config and i got 2 dependentAssembly of spire, maybe was cuz i got oldest version and when update it by error created a second dependentAssembly.

I deleted it and installed package again.

Now it works!

Regards!

Ax2fg
 
Posts: 2
Joined: Thu Mar 16, 2017 8:23 am

Fri Mar 17, 2017 9:25 am

Dear Ax2fg,

Thanks for your feedback.
Please feel free to contact us if you have any question, we are here for help :) .

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.XLS