Server Error in '/' Application.

Unable to send e-mail exception because: The type initializer for 'Util_Library.ConnStrings' threw an exception.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: Unable to send e-mail exception because: The type initializer for 'Util_Library.ConnStrings' threw an exception.

Source Error:


Line 48: 			{
Line 49: 				Exception l_NewException = new Exception("Error ocurred" + ex.Message);
Line 50: 				new Util_Library.ExceptionHandler(l_NewException, Util_Library.ExceptionHandler.ExceptionType.General, "0", false);
Line 51: 
Line 52: 			}

Source File: c:\Inetpub\Virtual\casinoprofitshare.com\terms.aspx.cs    Line: 50

Stack Trace:


[Exception: Unable to send e-mail exception because: The type initializer for 'Util_Library.ConnStrings' threw an exception.]
   Util_Library.ExceptionHandler.ProcessError() +525
   Util_Library.ExceptionHandler..ctor(Exception valException, ExceptionType valExceptionType, Boolean valRedirectToDefaultErrorPage) +133
   Util_Library.ExceptionHandler..ctor(Exception valException, ExceptionType valExceptionType, String valUniqueID, Boolean valRedirectToDefaultErrorPage) +39
   Casinoprofitshare.terms.LoadTACContent(String CasinoId, String TacTitle) in c:\Inetpub\Virtual\casinoprofitshare.com\terms.aspx.cs:50
   Casinoprofitshare.terms.Page_Load(Object sender, EventArgs e) in c:\Inetpub\Virtual\casinoprofitshare.com\terms.aspx.cs:19
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433