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.

Tue Apr 28, 2020 1:31 pm

With the .Net 6.2 version, I am getting the error "The type initializer for 'sprូ' threw an exception." when running the code below.

Workbook wkbk = new Workbook();

Just starting with Spire.Xls, this occurs both with the 10.1.1.6406 version and the most recent hotfix.

Michael.vanAltena@OrchidMedical.com
 
Posts: 2
Joined: Thu Jan 31, 2019 11:58 am

Wed Apr 29, 2020 1:59 am

Hello,

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. Below are the corresponding dlls of Spire.XLS Pack(Hotfix) Version:10.4.9 in NET4.6 folder, please check on your side.

Spire.Common.dll 10.4.9.6046
Spire.License.dll 1.3.8.46
Spire.Pdf.dll 6.4.9.2046
Spire.XLS.dll 10.4.9.6046

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Wed Apr 29, 2020 8:49 am

Thank you for the reply, this resolved the problem.

Michael.vanAltena@OrchidMedical.com
 
Posts: 2
Joined: Thu Jan 31, 2019 11:58 am

Wed Apr 29, 2020 9:41 am

Hello,

Thanks for your feedback.
If you encounter any question related to our product in the future, please feel free to contact us.
Wish you all the best!

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Return to Spire.XLS