localhost displays ‘Permission Denied’ error
December 28, 2007 Internet Browsers, Mozilla, Troubleshooting
Sometimes, after installing IIS, if you try to browse http://localhost, you’ll get a strange error saying “Permission Denied”. The content of the page might look like below:
The page cannot be displayed There is a problem with the page you are trying to reach and it cannot be displayed.
Please try the following:
Click the Refresh <javascript:location.reload()> button, or try again later. Open the localhost <http://localhost> home page, and then look for links to the information you want.
HTTP 500.100 – Internal Server Error – ASP error
Internet Information Services
Technical Information (for support personnel) Error Type:Microsoft VBScript runtime (0x800A0046)
Permission denied: ‘GetObject’
/localstart.asp, line 19
Browser Type: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Page: GET /localstart.asp
If you get the above error, don’t panic. You can easily resolve this. Please follow the below steps to rectify this error.
- Make sure you’re logged in as Administrator (or Administrator Privileged User)
- Go to Start -> Control Panel -> Administrative Tools -> Internet Information Services
- Expand your Computer -> Web Sites -> Default Web Site
- Look for Localstart.asp file. Right click this file and choose Properties
- Click the File Security tab and click on Edit button
- Remove the check mark from Anonymous Access checkbox.
- Click OK and close the Internet Information Services window
- Now, open your browser and visit: http://localhost You’ll not be shown the error again.
Hope that helps…
Let me know your comments…