Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Type initializer for threw an exception

$
0
0

I want to run my executable file (after installing the setup of my ERP) , the login screen appears and after taking the credentials of the user, hitting the OK button generates the following error :

Type initializer <module name> threw an exception...

When I debug  my project it works absolutely fine but after deploying to a client machine this error generates

Some details:

1) Project developed on .net framework 3.5 (using VB.net)

2) Gives error on 64-Bit operating systems.

3) Works fine if visual studio 2008 is installed on the client machine.

Any help ?

Regards,

Avaneesh.



Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>