Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Putting Project Somewhere Other than InetPub/wwwroot
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00749664
Message ID:
00749684
Views:
25
Well, yes that does work. But it changes the location of inetpub\wwwroot. I just want to change the location of one application.

It has to be possible. If you look at the sites in IIS Manager, "IISHelp" is in C:\WINDOWS\HELP\IISHELP, "Printers" is in C:\WINDOWS\WEB\PRINTERS, "CrystalReportWebFormViewer" is in C:\Program files\Microsoft Visual Studio .NET\Crystal Reports\Viewers\, etc.

Thanks for the idea though..

>Try to change the default web site of IIS to your new location...
>
>
>
>>I don't want the files for an ASP.NET project in C:\InetPub\wwwroot; I want the files for this project in D:\MarWebProject. I've tried everything I can think of to have the web site created where I want it created:
>>
>> 1. Used IIS Manager to create a virtual directory in D:\MarWebProject. VS.NET will create the project in the correct location but starting the app for debugging yields an error message:
>>
>>Error while trying to run project: Unable to start debugging on the web server.
>>Server side-error occurred on sending debug HTTP request.
>>
>>Starting without debugging yields a VS error in the browser:
>>
>>Access denied to D:\MarWebProject directory.
>>Failed to start monitoring directory changes.
>>
>>
>> 2. Created the project in VS.NET, copied the files from C:\InetPub\wwwroot to D:\MarWebProject. Well, that doesn't work either; you can't change the path to the real directory in IIS Manager (you can't even hack the MetaBase because it isn't stored in a drive:\directory format or a //machine/directory format)
>>
>> 3. Tried installing the FrontPage Server Extensions into D:\MarWebProject because I noticed that webs created with VS.NET have the _vti folders but webs created with IIS Manager don't. That didn't help either.
>>
>>I've searched MSDN and Google searched trying to find some answers. Found plenty of information on getting started with ASP.NET but nothing on setting up a proper, well-organized development environment. Surely you don't mean everything has to be dumped on the system drive?
>>
>>Does anyone know the magic Microsoft spell to make this work?
>>
>>Roger
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform