473,387 Members | 1,556 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.

Change an existing project url (and port)?

620
Can I change an existing asp.net project that was initially created at
"//localhost/etc" to point to "//[IP]:[Port]/etc" instead? I've recently
been forced to change my local website from "all unassigned" on port 80 to
[MachineIP] on [SomeOtherPort]. So the files haven't changed, the machine
hasn't really changed, but where IIS is listening has; and I need to have
the IDE make requests at the new location for these existing asp.net
projects that are still trying to find themselves at //localhost. Can't
find the option anywhere in the IDE (VS 2003)...
Nov 18 '05 #1
2 1727
620 wrote:
Can I change an existing asp.net project that was initially created at
"//localhost/etc" to point to "//[IP]:[Port]/etc" instead? I've recently
been forced to change my local website from "all unassigned" on port 80 to
[MachineIP] on [SomeOtherPort]. So the files haven't changed, the machine
hasn't really changed, but where IIS is listening has; and I need to have
the IDE make requests at the new location for these existing asp.net
projects that are still trying to find themselves at //localhost. Can't
find the option anywhere in the IDE (VS 2003)...


There is a .webinfo file for all web projects that is created in your
root folder that tells VS.NET what the URL of your web app is to pull
the files from via HTTP. You could just change that (open it in Notepad
and you'll see a URL in there).

--
Craig Deelsnyder
Microsoft MVP - ASP.NET
Nov 18 '05 #2
620
"Craig Deelsnyder" <cdeelsny@SPAM_BE_GONEyahoo.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
620 wrote:
Can I change an existing asp.net project that was initially created at
"//localhost/etc" to point to "//[IP]:[Port]/etc" instead? I've recently been forced to change my local website from "all unassigned" on port 80 to [MachineIP] on [SomeOtherPort]. So the files haven't changed, the machine hasn't really changed, but where IIS is listening has; and I need to have the IDE make requests at the new location for these existing asp.net
projects that are still trying to find themselves at //localhost. Can't
find the option anywhere in the IDE (VS 2003)...


There is a .webinfo file for all web projects that is created in your
root folder that tells VS.NET what the URL of your web app is to pull
the files from via HTTP. You could just change that (open it in Notepad
and you'll see a URL in there).

--
Craig Deelsnyder
Microsoft MVP - ASP.NET

Ah, there we go. Thanks.
Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: jbi130 | last post by:
I have a 3 tier client/server application where the client connection to the server which then uses PostgreSQL. I'd like to extend the client to have direct access to PostgreSQL but do not want to...
3
by: Gaby | last post by:
Hi, I need to connect with an existing Win32 application via port 1001. Can some one help me to find out how to? When I create my own remoting application then I can use...
1
by: ravinderthakur | last post by:
hi all, i have a project in msvc6 and i want to change the name of the project from existing to some new project. how can i do the same. what entries in the .dsp file i have to change to...
1
by: Mike | last post by:
Hi all, Very Basic Question here. I can create new ASP.NET sites using VS.NET 2003 on my server, but for some reason I can't figure out how to connect to an existing web, when there isn't...
0
by: AC [MVP MCMS] | last post by:
I have a full blown VS.NET 2003 solution with a handful of library assemblies, two web projects, and a few web service projects. The entire solution is in VSS. Recently our build server went...
11
by: Bryan | last post by:
Hi, I work for a company that is heading towards an FDA approved development process. We have always used C++ in a windows environment, and we have more than 6 years of code, applications and...
1
by: John Kotuby | last post by:
In VS2003 (VB) I am trying to open a solution that contains a couple web projects. It was zipped from another developer's machine and sent to me. I unzipped it a folder on my C drive and placed a...
6
by: =?Utf-8?B?UmljaCBFbHN3aWNr?= | last post by:
I would like to change an applicaiton I have from .NET 2.0 target framework to .NET 3.0 framework. Any suggestions on how to do this?
25
by: Peng Yu | last post by:
Hi, It is possible to change the length of "\t" to a number other than 8. std::cout << "\t"; Thanks, Peng
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.