Error message I don't understand (newbie Q)

P

Peter Morris

Hi folks, just learning ASP.Net programming in C#, working
my way through some books on the subject.

I'm currently working on the Security chapter. I've entered the
example from the book using Windows authentication and
Forms authentication. When I run the programs I get the following
message in my browser:

===========================
Server Application Unavailable
The web application you are attempting to access on this
web server is currently unavailable. Please hit the "Refresh"
button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of
this specific request failure can be found in the application event
log of the web server. Please review this log entry to discover
what caused this error to occur.
============================

I don't understand this error message - WHICH web application
is currently unavailable? The program I've just typed in? But it's
there, how come its not available?

I can't find any application event log, either. Where would this be?
 
W

William Morris

Just FYI, you'll probably want to direct future programming inquiries to a
..NET group. Though we're willing to help when we can, this one's for
..CLASSIC.

Slainte!

- Wm
 
N

Nathan Kovac

From control panael Run Administrative Tools/Internet Information Services.
In the treeview browse to websites, Default Web Site, right click, then
properties. Click on the WebSite tab, make sure Enable Logging is enabled.
Click on the properties button and you can see the directory where your logs
are stored. The log filename is generally in yy/mm/dd format. It's just an
ascii text file, browse there and open it with a text editor.
 
W

Willy Denoyette [MVP]

Please post asp.net realated questions to
microsoft.public.dotnet.framework.aspnet

Willy.
 
P

Peter Morris

Nathan Kovac said:
From control panael Run Administrative Tools/Internet Information Services.
In the treeview browse to websites, Default Web Site, right click, then
properties. Click on the WebSite tab, make sure Enable Logging is enabled.
Click on the properties button and you can see the directory where your logs
are stored. The log filename is generally in yy/mm/dd format. It's just an
ascii text file, browse there and open it with a text editor.

Thanks for your reply.

Here's the logging information I get.

#Fields: date time c-ip cs-username s-sitename s-computername s-ip s-port
cs-method cs-uri-stem cs-uri-query sc-status sc-win32-status sc-bytes
cs-bytes
time-taken cs-version cs-host cs(User-Agent) cs(Cookie) cs(Referer)

2004-03-19 18:35:45 ******* - W3SVC1 HOME ******* GET
/Simple+Form+Login/Login.aspx - 500 0 846 243 2734 HTTP/1.1 localhost
Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+.NET+CLR+1.1.4322) - -

(I've replaced my IP number with ****** just in case some hacker can use
it to crack my computer, I'm not sure if that's possible but I dont want to
risk it)

I can't see any indication of what the error is. Any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top