简体   繁体   中英

Error on opening a Web page on remote server

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM