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.
Unfortunately, activation email could not send to your email. Please try again.

Excel engine fails

Thread ID:

Created:

Updated:

Platform:

Replies:

80043 Mar 9,2009 01:33 PM Jun 5,2013 05:54 AM WPF 4
loading
Tags: XlsIO
Dhanasekaran Veluchamy
Asked On March 9, 2009 01:33 PM

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



Geetha M [Syncfusion]
Replied On March 9, 2009 11:33 PM

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


Dhanasekaran Veluchamy
Replied On March 10, 2009 08:06 AM

Thanks Geetha, it worked


Sridhar [Syncfusion]
Replied On August 30, 2012 02:22 AM

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

Stef Heyenrath
Replied On June 5, 2013 05:54 AM

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'.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;