469,964 Members | 1,740 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,964 developers. It's quick & easy.

Renaming IIS wwwroot directories

Hello, I have been trying to figure out how to rename my IIS directories and
still have the project be able to run through VS. I have renamed the
directories listed in the csproj.webinfo file and this allowed me to at
least load the project into Visual Studio. However, if I try to run the
asp.net project through VS I get a lenghty error to the tune of: "Error
while trying to run proejct: Unable to start debugging on the web server.
The project is not configured to be debugged." There is more after that, but
that is the header of the message.

I notice that if I rename the directory before I run a new project, I can
workaround any issues and everything run as normal. However, if I rename the
project folder after I've run the project through VS I get the error. I
tried renaming it through the IIS adminstrative tool, but that didn't make a
difference.

The focus of the application has shifted a bit, so a rename of the URL is
desired at this point.

Anyone able to finish configuring a project to run through VS after renaming
the IIS directory the project resides in?

Much thanks,
Jason
Nov 18 '05 #1
1 2528
All, nevermind I seemed to have gotten it to work...
Thanks anyway,
Jason

"Jason B" <ja****@kingschools.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hello, I have been trying to figure out how to rename my IIS directories and still have the project be able to run through VS. I have renamed the
directories listed in the csproj.webinfo file and this allowed me to at
least load the project into Visual Studio. However, if I try to run the
asp.net project through VS I get a lenghty error to the tune of: "Error
while trying to run proejct: Unable to start debugging on the web server.
The project is not configured to be debugged." There is more after that, but that is the header of the message.

I notice that if I rename the directory before I run a new project, I can
workaround any issues and everything run as normal. However, if I rename the project folder after I've run the project through VS I get the error. I
tried renaming it through the IIS adminstrative tool, but that didn't make a difference.

The focus of the application has shifted a bit, so a rename of the URL is
desired at this point.

Anyone able to finish configuring a project to run through VS after renaming the IIS directory the project resides in?

Much thanks,
Jason

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by hokiegal99 | last post: by
reply views Thread by Marcel Hug | last post: by
1 post views Thread by Jason B | last post: by
3 posts views Thread by CES | last post: by
1 post views Thread by boops boops | last post: by
8 posts views Thread by BillCo | last post: by
1 post views Thread by evaisse | last post: by
1 post views Thread by rainxy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.