Spire.XLS for .NET is a professional Excel .NET library that can be used to any type of .NET( C#, VB.NET, ASP.NET, .NET Core) application and Java (J2SE and J2EE) application.

Mon Dec 24, 2018 8:34 am

When I used Spire office(3.12.3) to opera excel then give me an error :"System.TypeInitializationException:““spr឴”的类型初始值设定项引发异常。” for one line
"
Workbook wb = new Workbook();
//load from the file
wb.LoadFromFile(@"D:\test.xlsx");

DLL BaseVersion
Spire.XLS(8.12.3.60040)
Spire.Pdf(4.12.7.2040)
Spire.License(1.3.7.40)

tpdove
 
Posts: 6
Joined: Thu Dec 13, 2018 3:45 am

Mon Dec 24, 2018 9:04 am

Hi,

Thanks for your inquiry.
Please make sure you have correctly referenced Spire.Pdf.dll from the same folder as Spire.Xls.dll in your project.
Besides, I didn't reproduce your issue after testing. I made a demo for your kind reference:
www.e-iceblue.com/downloads/demo/15966.zip
If you still have the issue, please provide a runnable project for showing your issue. You could send it to us(support@e-iceblue.com) via email.

Sincerely,
Betsy
E-iceblue support team
User avatar

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

Mon Dec 24, 2018 9:33 am

Thanks The problem has been solved.

tpdove
 
Posts: 6
Joined: Thu Dec 13, 2018 3:45 am

Mon Dec 24, 2018 9:44 am

Hi,

Thanks for your feedback.
If there is any question, welcome to get it back to us.

Sincerely,
Betsy
E-iceblue support team
User avatar

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

Return to Spire.XLS