I am trying to debug and application built with c#, and I am not that familiar with the language. The application was built with 2005 and I upgraded to 2008. I keep getting this error: The type initializer for 'class name here' threw an exception. Is this because I am missing a call to a new constructor? Like I said not very familiar with c# most of the stuff i have worked with was in vb.net. Also could upgrading from 2005 to 2008 cause issues?
I have included a screen shot. UI.mainApplication.loggedInUser = arg; is where the program is stopping. program-error.jpg
Microsoft Development.NET ProgrammingVisual C++.NET