TypeInitializationException

  • Thread starter Thread starter Roshan Hadal via .NET 247
  • Start date Start date
R

Roshan Hadal via .NET 247

We are able to run our application succesfully through .Net IDE.When we try to run the .EXE of the same(created and installedthrough SetUp package) a type initialization exception(System.TypeInitializationException) is thrown. Our applicationis multi-threaded. We think it may be due to Win App. securityreasons, so it runs properly through IDE but when we try todeploy and run the .EXE it throws the above exception mentioned.What suggestions can you give us?
 
* Roshan Hadal via .NET 247 said:
We are able to run our application succesfully through .Net IDE. When
we try to run the .EXE of the same(created and installed through SetUp
package) a type initialization exception
(System.TypeInitializationException) is thrown. Our application is
multi-threaded. We think it may be due to Win App. security reasons, so
it runs properly through IDE but when we try to deploy and run the .EXE
it throws the above exception mentioned. What suggestions can you give
us?

What Windows version is the target machine running? Windows 98?
 
Back
Top