Im getting this odd error:
Any help would be great?
This is the error:
Server Error in '/Rugby' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Line 33: Line 34: Line 35: <roleManager enabled="true"> Line 36: Line 37: <providers>
Source File: C:\Websites\ADHS\andyhollis.co.uk\rugby\admin\web.config
Line: 35Show Additional Configuration Errors:
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
(C:\Websites\ADHS\andyhollis.co.uk\rugby\admin\web.config
line 43)It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
(C:\Websites\ADHS\andyhollis.co.uk\rugby\admin\web.config
line 67)
Version Information: Microsoft .NET
Framework Version:2.0.50727.3053;
ASP.NET Version:2.0.50727.3053
Best Answer
It could be because you've accidentally uploaded a web.config to a non-root directory, or because the directory containing the web.config isn't configured as an application root.