Whenever I try to build a website in VS 2005 Pro on Vista Feb CTP, the compilation just dies with 'An error occurred loading a configuration file', and that's it. If I try to run the previous build, it dies with:
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
System.Web.Hosting.HostingEnvironment.get_W3SvcMajorVersion() +53
System.Web.Configuration.WebConfigurationHost.GetStreamName(String configPath) +97
System.Configuration.BaseConfigurationRecord.InitConfigFromFile() +268
[ConfigurationFileException: An error occurred loading a configuration file]
System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal) +110
System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors) +41
System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject) +89
System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission) +43
System.Configuration.BaseConfigurationRecord.GetSection(String configKey) +9
System.Web.Configuration.RuntimeConfig.GetSectionObject(String sectionName) +38
System.Web.Configuration.RuntimeConfig.GetSection(String sectionName, Type type, ResultsIndex index) +53
System.Web.Configuration.RuntimeConfig.get_Deployment() +28
System.Web.Configuration.DeploymentSection.get_RetailInternal() +143
System.Web.Configuration.CustomErrorsSection.CustomErrorsEnabled(HttpRequest request) +25
|
Any ideas? I've tried re-installing but to no avail.