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.

Fri Dec 09, 2016 10:12 am

Hi!

I am testing now .xsl free for .NET (free-xls-component.html).

The problem is that when I use a project based on "EditSheet-VS2012" demo added in another Visual Studio 2015 c# Project, Iam always getting "The type initializer for 'spr846' threw an exception" in the line: "Workbook workbook = new Workbook();"

I have all dll files in both folders, the EditSheet debug one and my other project folder.

Any Idea?

Thanks in advance!

javierserra
 
Posts: 4
Joined: Fri Dec 09, 2016 9:55 am

Mon Dec 12, 2016 2:44 am

Dear javierserra,

Thanks for your inquiry.
Please reference Spire.Pdf.dll in the same location as Spire.Xls.dll in your project.
And here is the dll information of free Spire.XLS.
1)Spire.Xls.dll V7.9.0.55040
2)Spire.Pdf.dll V3.6.230.55040
3)Spire.License.dll V1.3.5.40

Sincerely,
Betsy
E-iceblue support team
User avatar

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

Mon Dec 12, 2016 8:16 am

It works! Thanks for the answer!

javierserra
 
Posts: 4
Joined: Fri Dec 09, 2016 9:55 am

Mon Dec 12, 2016 8:20 am

Dear javierserra,

Thanks for the feedback.
Welcome to write to us again for further question. We will be happy to help you.

Sincerely,
Betsy
E-iceblue support team
User avatar

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

Return to Spire.XLS