Hi Howy,
1) You can just include this license file
License
or you can include this line in the licenses.licx file of your application
Syncfusion.ExcelRW.ExcelRWConfig, Syncfusion.ExcelRW.Base
This would embed the syncfusion license. Recompile and deploy the application.
2) You would need to deploy the following dll''s
Syncfusion.ExcelRW.Base.dll
Syncfusion.Core.dll
Syncfusion.Compression.Base.dll
Best regards,
Stephen.
>Hello together,
>
>i have the following problem.
>
>I developed an application on our development-server using Syncfusion.ExcelRW.ExcelUtils for reading cell-names from an excel-file. everything works fine. But, when i run the application on another server it produces the following exception:
>
>System.TypeInitializationException: The type initializer for "Syncfusion.ExcelRW.ExcelUtils" threw an exception. ---> System.ComponentModel.LicenseException: A valid license cannot be granted for the type Syncfusion.ExcelRW.ExcelRWConfig. Contact the manufacturer of the component for more information.
> at System.ComponentModel.LicenseManager.Validate(Type type)
> at Syncfusion.ExcelRW.ExcelEngine..ctor()
> at Syncfusion.ExcelRW.ExcelUtils..cctor()
> --- End of inner exception stack trace ---
> at Syncfusion.ExcelRW.ExcelUtils.Open(Stream stream)
> at Wächter.ErfassungSE.createErfassung()
> at Wächter.Controller.button_ErhebungsdatenBearbeiten_Click(Object sender, EventArgs e)
> at System.Windows.Forms.Control.OnClick(EventArgs e)
> at System.Windows.Forms.Button.OnClick(EventArgs e)
> at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
> at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
> at System.Windows.Forms.Control.WndProc(Message& m)
> at System.Windows.Forms.ButtonBase.WndProc(Message& m)
> at System.Windows.Forms.Button.WndProc(Message& m)
> at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
> at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
> at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
>
>
>Does someone know how i can fix that problem?
>
>thank you in advance :-)