by APIJunkie
6. May 2008 17:31
If you are trying to debug ASP.NET applications on Vista you might run into the following problem:
localhost is not accessible through your browser and the error that is displayed is "Internet Explorer cannot display the webpage".
After some googling I ran across a reference to the same problem.
The problem has to do with the fact that there are 2 entries for local host in the hosts file ([Windows directory]\System32\drivers\etc\hosts).
One for ipv4 and one for ipv6.
Example:
127.0.0.1 localhost
::1 localhost
To solve the problem you can remark one of them. The example below remarks the ipv6 entry.
127.0.0.1 localhost
# Causes problems when using localhost ->
#::1 localhost
Note that you might not be able to modify the hosts file even if you are running as an administrator.
The following Microsoft KB explains how to change the hosts file:
http://support.microsoft.com/default.aspx?scid=kb;en-us;923947
Hope this helps...
by APIJunkie
22. January 2008 07:48
Recently One of my Vista machines started suffering from insomnia.
Every time Vista would go into sleep mode it will power down but will immediately wake up after a couple of seconds.
A little search in the windows system event log produced the following event: EventID 1, Wake Source: Device -USB Root Hub.
A little further search on Google landed me in a Microsoft KB that might help some one else but did not solve my problem:
A computer that is running Windows Vista appears to sleep and then immediately wake.
Although the above KB did not solve my problem, it came pretty close.
As it turns out some devices do not behave very well with power management turned on.
In my case it was a USB mouse.
To solve my problem I had to disable the mouse ability to wake up the computer from sleep mode.
In your case it might be another connected device.
If you want to disable a device's ability to wake your computer from sleep mode follow the steps below:
1. Click Start, right-click Computer, and then click Manage.
2. In the User Account Control dialog box, click Continue.
3. Click Device Manager, expand the device family in question (in my case it was "Mice and Other Pointing Devices").
4. Right-click the device, and then click Properties.
4. Click the Power Management tab, uncheck the "Allow this device to wake the computer" check box, and then click OK.
Hope this helps some one else...