BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
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.