I've been working at removing that stupid /ThePhile/ virtual directory path from my app and it seems pretty successful so far. I've changed the root directory of my Default Web Site for testing purposes to C:\inetpub\wwwroot\MyApp\ the only problem Im having is that now when I "View in Browser" from within Visual Studio my default.aspx page its still looking in
http://localhost/MyApp/default.aspx and I get the following error:
Code:
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Server cannot access application directory 'C:\Inetpub\wwwroot\MyAPP\MyAPP\'. The directory does not exist or is not accessible because of security settings.]
Server Error in '/MyAPP' Application.
Server cannot access application directory 'C:\Inetpub\wwwroot\MyAPP\MyAPP\'. The directory does not exist or is not accessible because of security settings.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Server cannot access application directory 'C:\Inetpub\wwwroot\MyAPP\MyAPP\'. The directory does not exist or is not accessible because of security settings.
However if I browse directly to
http://localhost/ outside of visual studio it works fine. So I must be missing a property somewhere any help would be greatly appreciated.