Renaming IIS wwwroot directories

J

Jason B

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top