When i try to open my Default.aspx page on remote server i get the following error
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.
Line 50: ASP.NET to identify an incoming user.
Line 51开发者_运维百科: -->
Line 52: <authentication mode="Windows"/>
Line 53: <!--
Line 54: The <customErrors> section enables configuration
Source File: C:\inetpub\wwwroot\toolbar\web.config Line: 52
how to resolve the above error.what should be the authentication mode. I have placed my website inside C:\inetpub\wwwroot\toolbar and all the files related to my website including web.config are inside the toolbar folder.
The solution is here, found by fast Googling..
I assume this will solve your error:
To resolve it, Right Click on the virtual directory - select properties and then click on "Create" next to the "Application" Label and the textbox. It will automatically create the "application" using the virtual directory's name. Now the application can be accessed.
精彩评论