473,387 Members | 1,891 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 2724
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: hokiegal99 | last post by:
A few questions about the following code. How would I "wrap" this in a function, and do I need to? Also, how can I make the code smart enough to realize that when a file has 2 or more bad...
0
by: Saradhi | last post by:
Hi All, Here I am facing a performance problem with the TreeView Node renaming. I am displaying a hierarchy Data in a treeview in my Windows C# Application. My tree view represents an...
0
by: Marcel Hug | last post by:
Hello NG ! In my project i have a treeview, which shows a part of the directories in the file system. I would like to offer the rename from my treeview, but i have a little problem: If a file in...
1
by: Jason B | last post by:
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...
3
by: CES | last post by:
All, I was wondering is their a way of accessing/running .aspx pages that live above the web root. An example would webserver Account\Webroot1\default.aspx webserver...
1
by: boops boops | last post by:
Perhaps this is obvious to everyone but me, but how do you rename an existing project when using the .NET IDE? It allows you to save the current form as something else, but not the whole project....
3
by: Daves | last post by:
why the heck can't I use Directory.Move() to rename a directory (containing files) to a entry 2 levels below e.g. uploads/tempfiles -> uploads/tempfiles/48/003files if I do this in one line...
8
by: BillCo | last post by:
I'm updating a legacy app with table naming that makes baby jesus cry. It's a bit of a spider web though... no telling when and where the tables will be called by name. So I wrote this for renaming...
1
by: evaisse | last post by:
I've a folder structure like this : "Folder A" |--"1" |--"2" ---"3" "Folder B" |--"4" ---"5"
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.