User-1211710739 posted
Hi all,
I tried to create a sub-directory website of my company website. I even copy a folder (for example Client) and named it Client1. The website Client is ok but when I run Client1, I received this error " 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". Below is the detail of the error:
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 72: <authentication mode="Forms" >
"
More error"
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. (D:\webs\sub_domains\Client1\web.config line 87)
|
My company's website has many sub-directory websites and most of them have their own web.config but the root does not have web.config (files at the root are .asp). The server is the company server which I can access to the database (SQL 2008).
I research and it looks like to me I had to create a virtual directory for the sub-folder. My question is how I can do that while the server is not on my local computer? Or something else I can do to resolve this problem? Please help!