Click here to Skip to main content
15,903,175 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all,

I have this eror on my webpage
can you help me please.


Server Error in '/' 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:


<code>Line 73: </pages>
Line 74: <!-- The <authentication> section enables configuration of the security authentication mode used by ASP.NET to identify an incoming user. -->
Line 75: <authentication mode="Windows" />
Line 76: <!--
Line 77: The <customErrors> section enables configuration of what to do if/when an unhandled error occurs during the execution of a request.
</code>
Source File: \\fs4-n01\stor3wc2dfw1\509429\509986\www.lebmotor.com\web\content\site\web.config Line: 75

Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016
Posted
Updated 10-Aug-10 22:01pm
v2
Comments
Dalek Dave 11-Aug-10 4:02am    
Minor Edit for Spelling.

Generally this happens when you have more than one Web.Config file in your application folder.

Just check if you have more than one. If so, remove the duplicate copies. You should only have one copy for an application.
Read a similar issue resolved here:ASP.NET 2.0 & "allowDefinition='MachineToApplication'" error message[^]
 
Share this answer
 
on , I have only one web.config :sigh:

please help me
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900