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

http://localhost not resolving on Vista Ultimate

Hi all,
I have been working on transferring my development environments to a new
Vista ultimate machine (from XP) and am running into difficulties. After
patching both SQL Server 2005 and VS 2005, I am now attempting to test my VB
Web Site application the same way I did in XP. IIS is running and in IIS
Management I see the default website in the correct spot, yet
http://localhost/ is not resolving. Has anyone else run into this problem
and have a fix?

Thanks,,,

May 12 '07 #1
2 16371
The standard way to resolve that is to find the hosts file
and map your loopback address ( 127.0.0.1 ) to "localhost".

There's an issue connected to doing that on Vista.

The hosts file is considered a system file by Vista.
You have to first take ownership of it then grant yourself full control.

These are the two commands that you need to run from an elevated command prompt.
(Right click "command prompt" and choose "Run as Administrator") :

1.
takeown /f c:\windows\system32\drivers\etc\hosts

2.
icacls c:\windows\system32\drivers\etc\hosts /grant yourusername:f

If you installed to a drive other than "c:", modify accordingly, of course.

Now you can open the file with notepad, insert this line and save the hosts file
( make sure it doesn't acquire a .txt extension ) :

127.0.0.1 localhost

If that doesn't fix it, you have a bad install of the TCP/IP stack.


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/
======================================
"John Kotuby" <jo***@discussions.microsoft.comwrote in message
news:E5**********************************@microsof t.com...
Hi all,
I have been working on transferring my development environments to a new Vista ultimate machine
(from XP) and am running into difficulties. After patching both SQL Server 2005 and VS 2005, I am
now attempting to test my VB Web Site application the same way I did in XP. IIS is running and in
IIS Management I see the default website in the correct spot, yet http://localhost/ is not
resolving. Has anyone else run into this problem and have a fix?

Thanks,,,

May 12 '07 #2
Thank you Juan,
You are very helpful and explicit with your anwers as usual.

I spent about an hour researching the groups and Microsoft Technet with no
luck, so I posted here. Sometimes research doesn't pan out if you don't ask
the right questions...

Have a great day....

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:eF****************@TK2MSFTNGP04.phx.gbl...
The standard way to resolve that is to find the hosts file
and map your loopback address ( 127.0.0.1 ) to "localhost".

There's an issue connected to doing that on Vista.

The hosts file is considered a system file by Vista.
You have to first take ownership of it then grant yourself full control.

These are the two commands that you need to run from an elevated command
prompt.
(Right click "command prompt" and choose "Run as Administrator") :

1.
takeown /f c:\windows\system32\drivers\etc\hosts

2.
icacls c:\windows\system32\drivers\etc\hosts /grant yourusername:f

If you installed to a drive other than "c:", modify accordingly, of
course.

Now you can open the file with notepad, insert this line and save the
hosts file
( make sure it doesn't acquire a .txt extension ) :

127.0.0.1 localhost

If that doesn't fix it, you have a bad install of the TCP/IP stack.


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/
======================================
"John Kotuby" <jo***@discussions.microsoft.comwrote in message
news:E5**********************************@microsof t.com...
>Hi all,
I have been working on transferring my development environments to a new
Vista ultimate machine (from XP) and am running into difficulties. After
patching both SQL Server 2005 and VS 2005, I am now attempting to test my
VB Web Site application the same way I did in XP. IIS is running and in
IIS Management I see the default website in the correct spot, yet
http://localhost/ is not resolving. Has anyone else run into this problem
and have a fix?

Thanks,,,




May 12 '07 #3

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

Similar topics

37
by: Allen Browne | last post by:
If you develop for others, you probably have multiple versions of Access installed so you can edit and create MDEs for clients in different versions. This works fine under Windows XP, even with...
6
by: Lloyd Sheen | last post by:
I am using VS Express (VB and C#) under Vista Ultimate. When I installed I got msg to install updates to make VS work with Vista. I did this and turned off the msg to show that it is not...
62
by: Tony Ciconte | last post by:
I have a rather complex commercial Acc2003 application (tab controls, 50K+ lines of VBA code, etc.) that will not run well at all on Windows Vista Ultimate. I have seen posts indicating that...
2
by: =?Utf-8?B?TG9yZW56bw==?= | last post by:
hi i just got windows vista ultimate and the way my pc is set up is i have 2 hard drives 1 with xp pro and one with vista ultimate but i wanted to go make a back up of vista the entire image one...
14
by: Stephany Young | last post by:
Even though I had my roots and highlights redone just a few days ago, I don't understand why I appear to be having an ongoing blond moment. Is it just me or do others among you not 'get' how to...
0
by: =?Utf-8?B?ZGF2ZQ==?= | last post by:
I moved to a new pc (vista ultimate) and copied an existing working asp.net application to the new web site on localhost. I installed iis7 with a number of asp.net and developer type windows...
8
by: chu2ch | last post by:
Good Day Folks, We have an .net 2.0 application that has been working reasonably well in windows xp, we have installed our application on windows vista business and have noticed a significant...
0
by: Prajaktaj | last post by:
Hi All, I have an application which records the sound using lame encoder. It works perfectly fine means I am able to record the sound on all Operating systems but when I tried the same on Vista...
2
by: =?Utf-8?B?TG9yZW4=?= | last post by:
I have a brand new Dell computer right out of the box. It was purchased with Windows Vista Basic. I have also separately purchased Windows Vista Ultimate and I want to install it on this new...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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
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: 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
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.