The company I am working for is switching to new Financial application. The old application will be still accessible for limited amount of people. In order to prevent all other users to access the old application I moved the whole folder to new location. However when I tried to open application I got the following 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 20: </connectionStrings>
Line 21: <system.web>
Line 22: <siteMap defaultProvider="XmlSiteMapProvider" enabled="true">
Line 23: <providers>
Line 24: <add name="XmlSiteMapProvider" description="Default SiteMap provider." type="System.Web.XmlSiteMapProvider" siteMapFile="Web.sitemap" securityTrimmingEnabled="true"/>
Since my web developing experience between slim to none I have no idea where to go and what to do. Can somebody advise me what should I do? Thank you.