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

The type initializer for 'Syncfusion.XlsIO.Implementation.Shapes.ShapeFillImpl' threw an exception.

We found an interesting issue while trying to use XlsIO v9.403.0.62 in an ASP.NET v4.0 application. The full stack trace is:

System.TypeInitializationException: The type initializer for 'Syncfusion.XlsIO.Implementation.Shapes.ShapeFillImpl' threw an exception. ---> System.IO.FileNotFoundException: Could not find file 'Syncfusion.XlsIO.Base.resources'.
   at System.Reflection.RuntimeAssembly.InternalGetSatelliteAssembly(String name, CultureInfo culture, Version version, Boolean throwOnFileNotFound, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GetSatelliteAssembly(CultureInfo lookForCulture, StackCrawlMark& stackMark)
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
   at Syncfusion.XlsIO.Implementation.Shapes.ShapeFillImpl.GetResData(String strID)
   at Syncfusion.XlsIO.Implementation.Shapes.ShapeFillImpl..cctor()
   --- End of inner exception stack trace ---
   at Syncfusion.XlsIO.Implementation.Shapes.ShapeFillImpl..ctor(IApplication application, Object parent)
   at Syncfusion.XlsIO.Implementation.Charts.ChartBorderImpl..ctor(IApplication application, Object parent)
   at Syncfusion.XlsIO.Implementation.Charts.ChartFrameFormatImpl.SetDefaultValues(Boolean bAutoSize, Boolean bIsInteriorGray)
   at Syncfusion.XlsIO.Implementation.Charts.ChartTextAreaImpl.CreateFrameFormat()
   at Syncfusion.XlsIO.Implementation.Charts.ChartTextAreaImpl.InitFrameFormat()
   at Syncfusion.XlsIO.Implementation.Charts.ChartImpl.CreateChartTitle()
   at Syncfusion.XlsIO.Implementation.Charts.ChartImpl..ctor(IApplication application, Object parent)
   at Syncfusion.XlsIO.Implementation.Collections.ShapesCollection.AddChart()
   at Syncfusion.XlsIO.Implementation.Collections.WorksheetChartsCollection.Add()


1 Reply

MK Manoj Kumar G M Syncfusion Team November 21, 2013 11:38 AM UTC

Hi Mathew Weaver,

Thank you for using Syncfusion products and sharing the solution for the above issue.

We have created the ASP.NET web application to reproduce the reported issue, and we are unable to reproduce the issue at our end. Please share a sample or modify the below update sample illustrating the issue which would help us to proceed further.

Sample Link:

http://www.syncfusion.com/downloads/support/directtrac/115952/CreateSpreadSheet953742614.zip

Please let us know if you need any clarification.

Regards,

Manojkumar.


Loader.
Live Chat Icon For mobile
Up arrow icon