TypeInitialization for class error

nikki

Member
Joined
Sep 7, 2006
Messages
21
Programming Experience
Beginner
Hi,

we have developed one s/w in windows application.we used .net 2003.when we run the coding application ,its running well.but when we make the installation and from the installation run the exe then this error is giving.
"the type initialization for "ClsGeneral" threw an exception".can you plz help me.its very urgent.


Thanks
 
Place breakpoints in the class' constructor and you find that it enters the constructor, but ends up throwing an exception there. When that happen, the Exception is caught by the system and another Exception of type TypeInitializationException is thrown instead.

You could also look for the inner exception that is in the TypeInitializationException for more information on the exception that was originally thrown.
 
Back
Top