Troubleshooting Exceptions: System.TypeInitializationException
The exception that is thrown as a wrapper around the exception thrown by the class initializer.
Remarks
When a class initializer fails to initialize a type, a TypeInitializationException is created and passed a reference to the exception thrown by the type's class initializer. The InnerException property of the TypeInitializationException holds the underlying exception.
See Also
Tasks
How to: Use the Exception Assistant