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.

Wed Oct 28, 2015 1:21 pm

Hi!

Thank for this excelent product!

I am testing now .xsl free for .NET (free-xls-component.html). I've downloaded latest versión (7.8)

The problem is that when I implement the "hello world" code (/Tutorials/Spire.XLS/Demos/Quick-guide/EXCEL-Hello-World-for-C-VB.NET.html) in my Visual Studio 2013 Asp.net c# Project, Iam always getting "The type initializer for 'spr858' threw an exception" in the line: "Workbook workbook = new Workbook();"

Any Idea?

Thanks in advance

doshareit
 
Posts: 2
Joined: Wed Oct 28, 2015 10:50 am

Thu Oct 29, 2015 1:19 am

Hi,

Thanks for your interests our Spire.Xls.
Please ensure Spire.pdf.dll file has been placed in the same location as Spire.xls.dll.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Thu Oct 29, 2015 11:02 am

Thanks!!!

Works great!

doshareit
 
Posts: 2
Joined: Wed Oct 28, 2015 10:50 am

Fri Oct 30, 2015 1:18 am

Hi,

I am glad that your issue has been resolved. Welcome to write to us again for further problems.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Mon Apr 11, 2016 1:49 pm

amy.zhao wrote:Hi,

I am glad that your issue has been resolved. Welcome to write to us again for further problems.

Best Regards,
Amy
E-iceblue support team


Hi,

I have the same problema, but I use one pdf free and I test the word.net.

The error occur in PdfConverterSettings settings = new PdfConverterSettings();

spr858' threw an exception

How to solve if I use the dll free for pdf and I would like to buy the spire dov for .net?

rodrigoporcionato@gmail.com
 
Posts: 2
Joined: Thu Mar 31, 2016 2:19 pm

Tue Apr 12, 2016 2:27 am

Hi,

Thanks for your posting.
When using two products in a project, it needs to use the related dlls from Spire.Office package. So the free pdf dll and Spire.Doc product can not be used together, sorry.
If you need Spire.Pdf product and Spire.Doc product in same project, please get Spire.Doc.dll, Spire.Pdf.dll and Spire.license.dll from Spire.Office package.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Fri Apr 15, 2016 8:25 am

Hi,

Has your issue been resolved?
Thanks for your feedback in advance.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Tue Apr 19, 2016 10:23 am

Yes I decided to uninstall your PDF component that does not work and installed Gembox. The strategy of your company is not very nice to want to force to buy a more expensive product.

rodrigoporcionato@gmail.com
 
Posts: 2
Joined: Thu Mar 31, 2016 2:19 pm

Wed Apr 20, 2016 1:48 am

Hi,

Sorry that maybe I wasn't being clear and let you have some misunderstandings about our products.
Please kindly note that you don't need to purchase a license of Spire.Office and only use the related dlls of Spire.Doc product and Spire.PDF product from Spire.Office package. It is to avoid Spire.PDF.dll version compatibility issue as both Spire.Doc and Spire.PDF include Spire.PDF.dll. If you want functions of two products(Spire.Doc and Spire.PDF), you only need to purchase a license for Spire.Doc and a license for Spire.PDF.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Wed May 24, 2017 12:28 am

I am using the following code to convert xlsx into xlsm but the sheet xlsm sheet that comes at output does not have any data inside it.


Workbook workbook = new Workbook();

workbook.LoadFromFile(SD.destinationFile, ExcelVersion.Version2013);

workbook.SaveToFile(SD.FinaldestinationFile, FileFormat.Version2013);

bhrugen1990@gmail.com
 
Posts: 1
Joined: Wed May 24, 2017 12:26 am

Wed May 24, 2017 2:28 am

Hi,

Thanks for your inquiry.
If you are using older version of Spire.XLS, we firstly suggest upgrading to the latest Spire.XLS Pack Hotfix Version:7.12.19. Hope this helps. If the problem persists, please upload your sample document here, or send it to us(Support@e-iceblue.com) via email. Then we will investigate it and update you.

Thanks,
Betsy
E-iceblue support team
User avatar

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

Sat Sep 08, 2018 1:35 pm

at spr483..ctor() at spr7869..ctor() at Spire.Xls.Workbook..ctor()

am getting this error on the production server when trying to download excel from server use spire

salmanpirani
 
Posts: 2
Joined: Mon May 14, 2018 10:15 am

Mon Sep 10, 2018 7:03 am

Hello,

Thanks for your inquiry and sorry for late reply as weekend.
Please make sure that you have referenced the correct Spire.Pdf.dll in your project. If you still face the issue, please provide a sample application which can reproduce the error to help us locate your issue quickly. You could send it to us via email support@e-iceblue.com.

Sincerely,
Nina
E-iceblue support team
User avatar

Nina.Tang
 
Posts: 1182
Joined: Tue Sep 27, 2016 1:06 am

Mon Aug 12, 2019 12:00 pm

Hi , I am working on .NET core application. I was facing the same error and always getting "The type initializer for 'spr858' threw an exception" in the line: "Workbook workbook = new Workbook();"

"System.TypeInitializationException
HResult=0x80131534
Message=The type initializer for 'Spire.Xls.Core.Spreadsheet.XlsStyle' threw an exception.
Source=Spire.XLS

Inner Exception 1:
FileLoadException: Could not load file or assembly 'Microsoft.Win32.SystemEvents, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)"

But Spire.pdf.dll file has been placed in the same location as Spire.xls.dll. And latest version of Spire.XLS v9.7 has been downloaded.

sudher
 
Posts: 8
Joined: Wed Jul 31, 2019 5:46 pm

Tue Aug 13, 2019 3:16 am

Hi sudher,

Thanks for your inquiry. This is Amber from E-iceblue support team.
Please make sure that you have referenced instead of only placing the Spire.Pdf.dll in the same location as Spire.Xls.dll into your project.
Here is the .NET Core dlls information of Spire.XLS Pack Version:9.7 for checking:
Spire.License.dll V 1.3.7.320
Spire.Xls.dll V 9.7.3.6320
Spire.Pdf.dll V 5.7.3.2320

If the issue still exists, please offer us a sample application which could reproduce your issue for further investigation. You could upload it here or send us via email(support@e-iceblue.com).

Best wishes,
Amber
E-iceblue support team
User avatar

Amber.Gu
 
Posts: 525
Joined: Tue Jun 04, 2019 3:16 am

Return to Spire.XLS