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.
Mon Oct 20, 2014 3:29 pm
Hello,
When I try to run a program I get an error on new Spire.Xls.Workbook(); "The type initializer for 'spr468' threw an exception.
Spire.Xls.Workbook book = new Spire.Xls.Workbook(); <--Error Here
Worksheet sheet = book.Worksheets[0];
I have used Spire.XLS several times but I have never received this error so I am at a loss.
The only reference in the program is spire.xls (version 7.5.20.4040) and spire.license (1.3.2.40)
I attached a screenshot of the error.
Thank You,
- Attachments
-
- spireError.png (68.68 KiB) Viewed 2197 times
-
drpotts
-
- Posts: 7
- Joined: Thu Mar 07, 2013 3:23 am
Tue Oct 21, 2014 7:13 am
Hello,
Thanks for your inquiry.
I tested your issue but didn't reproduce it at my end.
Please try to create a clean project to test whether the problem remains in your side, and then give us a feedback. Thanks.
Best wishes,
Amy
E-iceblue support team
-
amy.zhao
-
- Posts: 2774
- Joined: Wed Jun 27, 2012 8:50 am
Fri Oct 24, 2014 1:46 am
Hello,
Has your issue been resolved?
Thanks for your feedback.
Best wishes,
Amy
-
amy.zhao
-
- Posts: 2774
- Joined: Wed Jun 27, 2012 8:50 am
Sun Nov 09, 2014 10:57 pm
I updated to the latest hotfix and the error went away.
Thanks,
-
drpotts
-
- Posts: 7
- Joined: Thu Mar 07, 2013 3:23 am
Mon Nov 10, 2014 1:46 am
Hello,
Thanks for your feedback.
Please feel free to contact us if you have any problems.
Best wishes,
Amy
E-iceblue support team
-
amy.zhao
-
- Posts: 2774
- Joined: Wed Jun 27, 2012 8:50 am