Hi fellows, I've got the following innerException at my Globals setting. It seems that the code is not able to get the custom configuration in the site's config-file. Is there anybody out there who could help me with this problem?
Thanks in advance!
Here is the inneException:
Code:
TYPE:
System.Configuration.ConfigurationErrorsException
MESSAGE:
An error occurred creating the configuration section handler for TheCwcSiteSection: Could not load file or assembly '__code' or one of its dependencies. The system cannot find the file specified. (C:\Users\Ãgaren\Documents\Visual Studio 2008\Projects\WebApplication1\WebApplication1\web.config line 4)
STACK TRACE:
at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
at System.Web.HttpContext.GetSection(String sectionName)
at System.Web.Configuration.HttpConfigurationSystem.GetSection(String sectionName)
at System.Web.Configuration.WebConfigurationManager.GetSection(String sectionName)
at cwc.website.Globals..cctor() in C:\Users\Ãgaren\Documents\Visual Studio 2008\Projects\WebApplication1\WebApplication1\Code\Globals.cs:line 18