Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!
all groups > iis security > january 2005 >

iis security : localhost http 500 error


Jeff Hodgers
1/19/2005 10:56:51 AM
I have just installed the .NetSDK framework and enabled IIS on my local XP
machine. I followed the Config Details at the bottom of the
StartSamples.htm page.

My problem is I am unable to display localhost. I get an http 500 error.
Directory security in the IIS mgr indicates allow anonymous login. Other
ideas?

thanks,
Jeff Hodgers
jhodgers@newsgroup.nospam

Jeff Hodgers
1/19/2005 1:53:51 PM
I've turned off the friendly http messages and now get:
Directory Listing Denied
This Virtual Directory does not allow contents to be listed.

I figured that this was something to do with permissions. This must be a
setting in the IIS mgr, but where?

Thanks, Jeff.
[quoted text, click to view]

Jeff Hodgers
1/19/2005 2:38:17 PM
I have discovered the problem.
Cause:
The Web site's home directory does not contain a default document file, such
as Default.htm or Default.asp
The Default Document option is not selected.

Solution:
Open IIS mgr, select properties of web site, Documents tab.
Verify that your default file is in the list of default documents, and
that the Enable Default Document check box is selected.

Once I added the default.aspx file in the list, everyworked fine.

-Jeff

[quoted text, click to view]

Jeff Hodgers
1/19/2005 4:50:01 PM
The http 500 error turned out to be a Directory Listing Denied error. The
folder that the link was pointing to didn't have the start.asp files, and
there were four other files in the default Documents list that did not exist
either. The default.aspx files were the only choice in that dir
Thanks,.
-Jeff

[quoted text, click to view]

jeff.nospam NO[at]SPAM zina.com
1/19/2005 7:42:54 PM
On Wed, 19 Jan 2005 10:56:51 -0800, "Jeff Hodgers"
[quoted text, click to view]

Start here:

Why do I get a 500 Internal Server error for all ASP errors?
http://www.aspfaq.com/show.asp?id=2109

Ken Schaefer
1/20/2005 11:30:09 AM
Interesting - that in itself (lack of a default document) shouldn't cause a
500 Internal Server Error.

Perhaps the iisstart.asp or localstart.asp files where causing errors, and
replacing that with a document that doesn't have an error is what's got
everything working again.

Cheers
Ken

[quoted text, click to view]

Ken Schaefer
1/20/2005 11:58:15 AM
Directory Listing Denied is a 403 Error (403.14)

403 errors are Access Denied (of various kinds)
500 are Internel Server Error (some kind of error processing the request
occured)
http://support.microsoft.com/?kbid=318380

Cheers
Ken

[quoted text, click to view]

AddThis Social Bookmark Button