Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing default file path from c:\inetpub\wwwroot

Status
Not open for further replies.

WorkerBeeJ

Programmer
Aug 6, 2002
34
US
I'm trying to build a project using my own folder structure rather than using C:\inetpub\ I've created the virtual directory, gotten the project from source safe, which is in the path C:\projects\. I'm getting an error which reads the following:

unable to create web project 'projectname'. The file path 'c:\inetpub\ does not correspond to the URL ' The two need to map to the same server location. HTTP Error: 404: Not Found

I've looked on the web, and everything I've found has told me that in that error dialog box, there should be an option for "retry using a different file share path". However, I see no such option in that dialog (maybe because I don't have help installed - I don't know).

...So my question is, is there a way within visual studio or in one of the project files where I can change the location of the path from c:\inetpub\ to the path that I want?

Thank you in advance,
WorkerBeeJ
 
As a followup to my first post, I see in the Property Pages for my project, under Web Settings, that there is a section labeled "Web Access Method". This section has two radio buttons, one for "file share" and one for "frontpage". Beside file share, there's a place to type in the path (it currently shows C:\inetpub\ Both of those radio buttons are grayed out. Any way to override the setting?

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top