We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Excel engine fails

Hi,
I am using Syncfusion ver:7.103.0.21
.NET Framework ver:3.5 WPF and VS2008-SP1

When i try to create the excel engine object like,
ExcelEngine excelEngine = new ExcelEngine();

It throws an exception "The type initializer for 'Syncfusion.XlsIO.Implementation.ApplicationImpl' threw an exception"

The stack trace is this:
at Syncfusion.XlsIO.Implementation.ApplicationImpl..ctor()
at Syncfusion.XlsIO.ExcelEngine..ctor()
at ...

Any help is greatly appreciated

Thanks in advance,
Dhana



4 Replies

GM Geetha M Syncfusion Team March 10, 2009 03:33 AM UTC

Hi Dhana,

Thank you for your interest in Syncfusion products.

Could you please make sure that you have referenced Syncfusion.Compression.Base assembly to your application? Missing this assembly may also cause this exception.

Regards,
Geetha



DV Dhanasekaran Veluchamy March 10, 2009 12:06 PM UTC

Thanks Geetha, it worked



SR Sridhar Syncfusion Team August 30, 2012 06:22 AM UTC

Hi Dhana,
 
Thank you for the update.
 
Please let us know if you require any further clarifications.
 
Thanks,
Sridhar.S


SH Stef Heyenrath June 5, 2013 09:54 AM UTC

The same error does also occur when using the 'Syncfusion.XlsIO.Mvc.dll' instead of the 'Syncfusion.XlsIO.Base.dll' in a non MVC environment (like commandline application).

So when building a commandline or windows applciation or windows service, make sure to reference the 'Syncfusion.XlsIO.Base.dll'.

Loader.
Live Chat Icon For mobile
Up arrow icon