Posted on: 1/26/2015 4:41:53 AM | Views : 715

Hi everyone,
When I run my ASP.NET web forms application, I keep hitting this runtime error every time I call a function in my "Utility.cs" class, which I use to keep all the re-usable functions for my application:
An exception of type 'System.TypeInitializationException' occurred in MyProjectName.dll but was not handled in user code. I think this is related to the fact that I just made a copy of this project, and renamed the project name and namespace. But my Utility.cs file is using the new namespace. What else do I need to change?
Thanks in advance for the advice.
UPDATE: I forgot to mention: I am using Visual Studio 2013.

Go to the complete details ...