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.

System.TypeInitializationException

Thread ID:

Created:

Updated:

Platform:

Replies:

64785 Jul 24,2007 04:03 AM Jul 26,2007 04:58 AM General Discussion 2
loading
Tags: General Discussion
DominicLi
Asked On July 24, 2007 04:03 AM

When i release my project and copy them to another PC the application raise this exception.
"
An unhandled exception of type 'System.TypeInitializationException' occurred in Syncfusion.Tools.Windows.dll

Additional information: The type initializer for 'Syncfusion.Windows.Forms.Tools.XPMenus.BarManager' threw an exception.
"
Did anybody ever saw this problem before ? Does the client need to install the syncfution ?

untitled44.zip

Melba Winshia [Syncfusion]
Replied On July 25, 2007 10:50 AM

Hi,

1) Does the client need to install the Syncfusion?
--------------------------------------------

No, the client does not need to install Syncfusion Essential Studio.


a) Could you please check whether all tools dependent assemblies are available on the client machine?

Syncfusion.Core
Syncfusion.Compression.Base
Syncfusion.Grid.Base
Syncfusion.Grid.Windows
Syncfusion.Shared.Base
Syncfusion.Shared.Windows
Syncfusion.Tools.Windows
Syncfusion.Tools.Base

b) And also, please check if the licenses.licx file embedded as a resource in your project? If not please include license file in your application as an embedded resource. This would embed the syncfusion license into the dll. Now Recompile and deploy the application.

Please refer the following KB article for more details to deploy Windows Forms application in client machine.

http://www.syncfusion.com/support/kb/studio/Default.aspx?ToDo=view&questId=40

Please try this and let me know if this helps.

Thanks,
Melba

DominicLi
Replied On July 26, 2007 04:58 AM

have fixed this. The problem was that i had copied different versions of Syncfusion assembly to my porject's release folder. thanks for your reply.

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.

;