keyongtech


  keyongtech > dotnet.framework.* > dotnet.framework.main

 #1  
10-24-07, 09:01 PM
SteveS
EventType clr20r3, P1 perfws.exe, P2 1.0.0.0, P3 47151b11, P4 perfws, P5
1.0.0.0, P6 47151b11, P7 32, P8 2b7, P9 system.exception, P10 NIL.

I am running a Windows Service application that does multithreaded
asynchronous HttpListeners and Socket calls.

I am catching all exceptions in my code. How do I interpret this so that I
can fix the problem.
 #2  
10-26-07, 11:00 AM
Vadym Stetsiak
Hello, SteveS!

Have a look at
http://blogs.msdn.com/tess/archive/2...xceptions.aspx

and

http://msdn2.microsoft.com/en-us/lib...zc(VS.80).aspx

HTH
 #3  
10-26-07, 01:08 PM
SteveS
I am developing in VS 2005 using VB.

Do you have a VB example that I can use in my Windows Service Application?

Thanks,
 #4  
10-26-07, 01:37 PM
Vadym Stetsiak
 #5  
11-05-07, 04:16 PM
SteveS
I added the following to my OnStart method:

Dim currDomain As AppDomain = AppDomain.CurrentDomain
AddHandler currDomain.UnhandledException, AddressOf appDom_UnhandledExc


And then I added a write to the event log and it displayed the error.

Private Sub appDom_UnhandledExc(ByVal sender As Object, ByVal e As
UnhandledExceptionEventArgs)
EventLog1.WriteEntry("AppDomain Unhandled Exception - " & "Sender: " &
sender.ToString & " - Error: " & e.ExceptionObject.ToString)
End Sub


Thanks for your help,
Similar Threads
Thread Thread Starter
Even ID: 0 .NET Runtime Event viewer Application

I have been receiving handruands of error in the even viewer/ application with Event ID: 0 Event Type: Error Event Source: .NET Runtime Event Category: None Event...

AVB Over My Head
.NET Runtime 2.0 Error Reporting , Event ID:5000 Application Crash

I have running Desktop Network Application based on .NET Framework 2.0 , Visual Studio 2005 and Sql Server 2000 /2005. It suddenly exits while running without any prior...

Shahbaz
document library event handling - Application Error Event ID 1000

Hi there, I want to move the document to second document library (portal level) as soon as its been submitted (insert as eventListType) to first document library (WSS...

Manish Gaur
runtime error 216 at 01B56682;Application error; runtime er...

Got into a loop in IE6 on Win xp with all available patches: (1) "Runtime error 216 at 01B56682" followed by (2) "The instruction at '01B56682' referenced memory at...

Gunnar Hemström
runtime error! This application has requested that runtime terminate....

"Runtime error! This application has requested that runtime terminate it in an unusual way".......this is the error i keep getting when trying to access only...

sunlion

Privacy Policy | All times are GMT. The time now is 02:45 PM.

Merging Information Logo
[Deutschland] [España] [France] [Italia] [Nederland] [Polska] [United Kingdom]