asp.net Configuration Error on host

Posted by zey on Stack Overflow See other posts from Stack Overflow or by zey
Published on 2013-06-25T10:20:16Z Indexed on 2013/06/25 10:21 UTC
Read the original article Hit count: 271

Filed under:
|
|
|
|

I uploaded my asp.net site to hosting site , and my site browse correctly . But when I go to login url , it's show me the 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.

 Source Error:


 Line 23:       </assemblies>
 Line 24:     </compilation>
 Line 25:     <authentication mode="Forms">
 Line 26:       <forms loginUrl="~/Account/Login.aspx" timeout="2880" />
 Line 27:     </authentication>

How can I fix it ?

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET