Type initializers can fail for a number of reasons. The exception being thrown should have an InnerException with more detail as to why initialization failed.
sknake
Industrious Poster
4,954 posts since Feb 2009
Reputation Points: 1,764
Solved Threads: 735