Hello,
I’m running IIS 5 on Windows XP professional
I created new Web project and configured VS 2008 to save this application to location c:\Inteput\wwwroot. Thus VS saved the project into directory:
c:\Inteput\wwwroot\WebApplication1
I then transformed this WebApplication1 folder into virtual directory (this virtual directory is also configured as web application). But whenever I try to access:
c:\Inteput\wwwroot\WebApplication1\WebApplication1\default.aspx
through browser using URL:
http://localhost/WebApplication1/WebApplication1/default.aspx
, I get an exception saying:
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.
Any ideas what I'm doing wrong?
BTW - Virtual directory does have Read and Run scripts permissions set
Q2 - How do I configure Visual studio to run Web app via IIS and not via integrated web server? Thus so that when I’d press CTRL+F5, the browser would be server a page by IIS and not by integrated web server?
thank you