Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Service and EventType clr20r3
Message
De
03/10/2013 11:59:17
 
 
À
03/10/2013 11:05:59
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01584726
Message ID:
01584733
Vues:
24
>>I think the above just implies that a method in the service threw an exception. There's probably more info in the InnerException if you can get it.
>
>I cannot access the InnerException as this one bypassed my error handler which explains why it falls into the Event Viewer. This is not reproducable. It happened once and once I restarted the service, it went ok and processed the same record it failed on previously. So, for now, it is still running in service mode but will fail again until I find what is in cause.
>
>If it would have failed again when I restarted the service, I would have been able to trace more into it until I find the exact line which triggered it. But, as surprise as it got, just restarting the service made it processing that record ok.

What exception handling do you have in the method? - you should be able to catch it there before TargetInvocationException kicks in.

Also, since this is intermittent, is it possible that a previous call to the method had not completed before the timer fired again?
If that's a possiblility you will need to ensure that your code is re-entrant....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform