asp.net Configuration Error on host
- by zey
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 ?