Home > Archive > ASP > December 2004 > Error message I don't understand (newbie Q)
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Error message I don't understand (newbie Q)
|
|
| Peter Morris 2004-03-28, 9:57 pm |
| Hi folks, just learning ASP.Net programming in C#, working
my way through some books on the subject. Being a newbie
I'm not certain wether this is a problem with dotNET, IIS
or security, so I'm posting this question to all the relevent groups.
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?
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?
| |
| Ken Schaefer 2004-03-28, 9:57 pm |
| a) In your IIS Manager (Start -> Settings -> Control Panel -> Admin Tools ->
IIS Manager) you can define "Web Applications". This is the application that
the error is speaking of. By default, each website is a single application,
however you can optionally split parts of a website into separate
applications (so that a single website consists of a number of web
applications)
b) The IIS log file is recording a HTTP status of 500, which indicate
"Internel Server Error" which is consistent with the error message you are
seeing in your browser. IIS has received the request (hence the logged
request), but is unable to service it. IIS is saying that details of the
error have been logged to the Windows Event Log
c) The Windows Event Log is viewed using the Event Viewer. This is located
in the same Admin Tools folder that the IIS Manager is located in. Please
use it to browse the Event Log. If you see any glaring errors (usually
marked a red stop icon), post the event ID, source and description please.
Cheers
Ken
"Peter Morris" <nospam.ple@se> wrote in message
news:qxH6c.20846$xv1.467944485@news-text.cableinet.net...
: Hi folks, just learning ASP.Net programming in C#, working
: my way through some books on the subject. Being a newbie
: I'm not certain wether this is a problem with dotNET, IIS
: or security, so I'm posting this question to all the relevent groups.
:
: 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?
:
: 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?
:
:
| |
| Peter Morris 2004-03-28, 9:57 pm |
|
"Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
news:O9x81QkDEHA.3344@tk2msftngp13.phx.gbl...
>
> c) The Windows Event Log is viewed using the Event Viewer. This is located
> in the same Admin Tools folder that the IIS Manager is located in. Please
> use it to browse the Event Log. If you see any glaring errors (usually
> marked a red stop icon), post the event ID, source and description please.
Here are the two errors generated.
Source - .NET Runtime
Category - None
Event - 0
Description:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be
found. The local computer may not have the necessary registry information
or message DLL files to display messages from a remote computer. You
may be able to use the /AUXSOURCE= flag to retrieve this description;
see Help and Support for details. The following information is part of the
event: .NET Runtime version 1.1.4322.573- aspnet_wp.exe - Common
Language Runtime Debugging Services: Application has generated an
exception that could not be handled.
Process id=0xa80 (2688), Thread id=0x524 (1316).
Click OK to terminate the application.
Click CANCEL to debug the application..
Source ASP.NET 1.1.4322.0
Category - none
Event - 1000
Description -
aspnet_wp.exe (PID: 2688) stopped unexpectedly.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
| |
| Stallion112 2004-12-23, 2:53 pm |
| I too am getting the following error, and I was wondering if you have resolved the above issue yet.
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: .NET Runtime version 1.1.4322.2032- aspnet_wp.exe - Common Language Runtime Debugging Services: Application has generated an exception that could not be handled.
Process id=0x32c8 (13000), Thread id=0x2dc8 (11720).
Click OK to terminate the application.
Click CANCEL to debug the application.
Here is a brief description of my situation:
I have a load balanced system that consists of 3 production servers. There are about 20 different applications that are used on these boxes. One of my applications in particular is used more than the others. Since updating 2 applications, I have had problems on the event log of the servers, following stopping of the aspnet_ws.exe process.
This is usually followed by the crashing of the aspnet_ws.exe process, which will crash all users that are in any application on the server. This happens about 3-8 times per day, at random times, with an absolute unknown cause for this.
I have searched all over the net for help on this error, and I cannot find a single answer that will fix this. I am thinking it is is something in my code, but what is odd is that this error does NOT happen at anytime on our test server or my local computer that uses the same application.
We test the application constantly on the test server, and no matter what, the log never receives this error. It is possible that the reason for this is the higher load on our production servers. There are usually 85 - 100 users simultaneously hitting the box.
Here is an example of the new stuff that has been added since I have been starting to get that error. (Prior to adding this code, I have never seen this error in the log.)
Imports System.Threading
Public Sub PostDocument
Dim tp As New Thread(New ThreadStart(AddressOf ExecutePost))
tp.Priority = ThreadPriority.Lowest
tp.Start()
End Sub
Public Sub ExecutePost()
Dim mut As Mutex = New Mutex
mut.WaitOne()
Try
Dim oHB As New HostBridgeLink(UserID, Password)
oHB.ExecCmdWithData("PF10", "WEBIND=Y")
oHB.ExecCmd("PF8")
Catch ex As Exception
Finally
mut.ReleaseMutex()
End Try
End Sub
All of the above code works correctly in test, and production too. I am just wondering if excessive use of any of the above at simultaneous times could cause problems? Is there something I need to do to the server to handle the Threading? Am I forgetting another step that will cause a problem on the server?
I am using threading because the response time was very slow on our servers, so I do not wait for a response. Its a new method I chose, and works excellent, however, now the servers are still receiving that above message, and the Memory usage does not even exceed 300K, whereas in the past, it used to go all the way up to 900K when it crashed.
This is a major problem, and needs to be resolved fast.
Any help would be greatly appreciated. Thank you.
- Vincent | |
| Bob Barrows [MVP] 2004-12-23, 8:55 pm |
| Stallion112 wrote:
> I too am getting the following error, and I was wondering if you have
> resolved the above issue yet.
>
> *The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot
There was no way for you to know it, but this is a classic asp newsgroup.
While you may be lucky enough to find a dotnet-savvy person here who can
answer your question, you can eliminate the luck factor by posting your
question to a group where those dotnet-savvy people hang out. I suggest
microsoft.public.dotnet.framework.aspnet.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
|
|
|
|
|