- Jun 5, 2007
- 5,637
- 24
- 81
I want to edit a website using Visual Studio 2010, but the website won't run with IIS. I just want to edit the website locally, and upload the changes to the server (via FTP or other method).
I tried just opening the website with VS2010, but when I try to debug it, I get an error saying that the IIS configuration is not correct.
Specifically, I get this error:
Error 1 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:\Documents\Website\public_html\Web.Config
I tried just opening the website with VS2010, but when I try to debug it, I get an error saying that the IIS configuration is not correct.
Specifically, I get this error:
Error 1 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:\Documents\Website\public_html\Web.Config