TypeInitializationException error

K

Kodiak

I am getting a System.TypeInitializationException on a static class
and I cannot figure out why the error is occuring. The inner
exception says the likely cause of the error is because the FMS lib
folder is not in the system path. This is not true because the path
being referenced is in the Environment Path variable. I run the same
code in Visual Studio 2008 and the code works perfect, but when I
deploy the code to IIS 6 running on Windows 2003 SP2 server I get the
error. I cannot figure out what is going on when I VS it works, but
fails in IIS 6. Any help or suggestions is really appreciated!!!
 
G

Guest

I am getting a System.TypeInitializationException on a static class
and I cannot figure out why the error is occuring.  The inner
exception says the likely cause of the error is because the FMS lib
folder is not in the system path.  This is not true because the path
being referenced is in the Environment Path variable.  I run the same
code in Visual Studio 2008 and the code works perfect, but when I
deploy the code to IIS 6 running on Windows 2003 SP2 server I get the
error.  I cannot figure out what is going on when I VS it works, but
fails in IIS 6.  Any help or suggestions is really appreciated!!!

What is FMS lib? Is it possible to see any example of the code?

More about TypeInitializationException
http://msdn.microsoft.com/en-us/library/ms242144(VS.80).aspx

Some threads that may help
http://www.justskins.com/forums/unhandled-exception-system-typeinitializationexception-110812.html
http://weblogs.asp.net/rosherove/archive/2004/09/04/225467.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,142
Messages
2,570,819
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top