0
votes

In web application, i developed one project and move to server [ i mean online server] it is showing error , that is:

<customErrors mode="Off"/>
<compilation debug="true" targetFramework="4.0"/>
<authentication mode="Forms">
    <forms loginUrl="~/Account/Login.aspx" timeout="2880"/>
</authentication>

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.

2

2 Answers

1
votes

error clearly said that, you are putting your site inside another site. so you need to make this virtual directory as a application in IIS level.