Click here to Skip to main content
15,891,409 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have designing website suceessfull..i have publish the website...all files copy the
c:inetbub\wwwroot ok and then goto i have open the inetmgr in run command ok
my website r browse ok but error display

The error is
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 63:             ASP.NET to identify an incoming user. 
Line 64:         -->
Line 65: 		<authentication mode="Windows" />
Line 66: 		<!--
Line 67:             The <customerrors> section enables configuration 


 Source File:  c:\inetpub\wwwroot\sarav\web.config    Line:  65</customerrors>


should i change any method

Thanks Advance
Posted

1 solution

You don't want to place your application at the root (c:inetbub\wwwroot). You need to create a virtual directory under this and place your application there
 
Share this answer
 
Comments
kannan 2 21-Jul-11 8:02am    
how to create virtual directory
saini arun 21-Jul-11 8:30am    

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