|
Home > Archive > IIS 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-19, 2:36 pm |
| 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?
| |
| Nathan Kovac 2004-03-19, 2:36 pm |
| 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.
"Peter Morris" <nospam.ple@se> wrote in message
news:koG6c.20786$eX.467448046@news-text.cableinet.net...
> 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?
>
>
| |
| William Morris 2004-03-19, 2:36 pm |
| 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
--
William Morris
Product Development, Seritas LLC
Kansas City, Missouri
"Peter Morris" <nospam.ple@se> wrote in message
news:koG6c.20786$eX.467448046@news-text.cableinet.net...
> 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?
>
>
| |
| Willy Denoyette [MVP] 2004-03-19, 2:36 pm |
| Please post asp.net realated questions to
microsoft.public.dotnet.framework.aspnet
Willy.
"Peter Morris" <nospam.ple@se> wrote in message
news:koG6c.20786$eX.467448046@news-text.cableinet.net...
> 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?
>
>
| |
| Peter Morris 2004-03-19, 2:36 pm |
|
"Nathan Kovac" <nate@tctelco.net> wrote in message
news:Ovv6$wdDEHA.3980@TK2MSFTNGP09.phx.gbl...
> 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?
| |
| Peter Morris 2004-03-19, 2:36 pm |
|
"Willy Denoyette [MVP]" <willy.denoyette@pandora.be> wrote in message
news:eOwzL6dDEHA.3080@TK2MSFTNGP10.phx.gbl...
> Please post asp.net realated questions to
> microsoft.public.dotnet.framework.aspnet
Thanks for the suggestion.
| |
| Stallion112 2004-12-23, 5:59 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
--
Stallion112
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------
| |
| Bob Barrows [MVP] 2004-12-23, 5:59 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"
|
|
|
|
|