473,384 Members | 1,854 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,384 software developers and data experts.

localhost URL changes in asp.net 2.0

I'm building an asp.net 2.0 app (and I also have .net 3.0 installed so I
don't know if that effects anything here). anyway, I haven't worked in
asp.net for a long time and now I notice that the url to the local web app
looks something like this:

http://localhost:3852/Default.aspx

however, yesterday the url to the exact same page was this:

http://localhost:2100/Default.aspx

and as I recall, in .net 1.1 it would normally be like this:

http://localhost/MyWebAppName/Default.aspx
Can anyone please explain what's going on here?

Thanks.

--
mo*******@newsgroup.nospam
May 18 '07 #1
1 3573
re:
http://localhost:3852/Default.aspx
however, yesterday the url to the exact same page was this:
http://localhost:2100/Default.aspx
If you are using the ASP.NET Development Server that's normal.

You can also configure VS 2005 to only use IIS.

To specify the Web server for an already-created Web site, open your local website
with VS 2005 and, in the Solution Explorer, right-click the name of the Web site for
which you want to specify a Web server, and then click Property Pages.

In the Property Pages dialog box, click the Start Options tab.
Under Server, click Use custom server.

In the Base URL box, type the URL that VS 2005 should start when running the current Web site.
You can use localhost, or you can use a dns domain name address if you have one.

From that point on, the VS 2005 IDE will not use the internal web server,
but will use IIS to open your pages, i.e., if you are working on default.aspx,
it will be opened as : http://localhost/default.aspx or as http://yourdomain.com/default.aspx


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"moondaddy" <mo*******@newsgroup.nospamwrote in message
news:O5**************@TK2MSFTNGP04.phx.gbl...
I'm building an asp.net 2.0 app (and I also have .net 3.0 installed so I don't know if that
effects anything here). anyway, I haven't worked in asp.net for a long time and now I notice that
the url to the local web app looks something like this:

http://localhost:3852/Default.aspx

however, yesterday the url to the exact same page was this:

http://localhost:2100/Default.aspx

and as I recall, in .net 1.1 it would normally be like this:

http://localhost/MyWebAppName/Default.aspx
Can anyone please explain what's going on here?

Thanks.

--
mo*******@newsgroup.nospam


May 18 '07 #2

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

Similar topics

0
by: Kyle Goetz | last post by:
hey, i'm new to mySQL...this meaning that i have tried ~10000 times to install it and get it working over the past few weeks...and it always gives me the same error (scroll further down to see it)...
15
by: Michael Rybak | last post by:
hi, everyone. I'm writing a 2-players game that should support network mode. I'm now testing it on 1 PC since I don't have 2. I directly use sockets, and both client and server do...
0
by: J.V. | last post by:
I want to make localhost on my browser a sendto destination, so I can right click on an ASP or PHP file, choose sendto, then localhost and have a browser open up with the ASP file running in it. ...
0
by: Luther Hert | last post by:
I solved my problem, but I am not sure whether or not I understand how I arrived at the solution. I leraned about and checked: IIS> creating virtual directories> configuring web extensions >...
2
by: IT Drone | last post by:
I'm running Windows Server 2003, IIS 6.0, and VS 2003. I have an ASP.NET project I previously created, and went to open it back up to make modifications. Now VS won't open http://localhost ...
3
by: Bill H | last post by:
Ok, I was making some changes in privileges and must have deleted the localhost account... it seems I'm pretty much locked out. Is there any documentation for this scenario? Or documentation to...
12
by: John Kotuby | last post by:
Hi all, Maybe this is a simple problem found in ASP.NET 2.0 course 101, but I must have missed it. When I create a page in Visual Web Developer and use URLs like "/images/picture.gif " or a link...
1
by: razoray78 | last post by:
Recently we promoted a change to one of our applications. We use an application called CruiseControl that builds a label and stores the current changes to a staging server where the web engineering...
7
by: pek | last post by:
OK, I've been having this problem for quite some time but never until now I really needed a solution. I have never thought of a work around, so I really need your help. Sorry if this has been...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
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...

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.