Geeks With Blogs
Jeff Krebsbach February 2012 Entries
Type initializer for [ClassName] threw an exception
I was helping a coworker with some code changes on a windows console application, when suddenly the entire program refused to load:The type initializer for [program] threw an exception.was thrown at the static void main() routine starting the console app. The console application would not even load. Looking into the stack trace of the exception, it seemed to point to configuration problems, so first thought was to look at the app.config.Everything checked out. No issues there.After looking deeper ......

Posted On Thursday, February 23, 2012 9:20 PM

Copyright © jkrebsbach | Powered by: | Join free