Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Service and EventType clr20r3
Message
De
04/10/2013 06:36:08
 
 
À
03/10/2013 13:37:16
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:
01584776
Vues:
30
>>What exception handling do you have in the method? - you should be able to catch it there before TargetInvocationException kicks in.
>
>This is the framework generic error handling that has been there for years. Only in this mode I started to have problems.

So wrap the code that calls Invoke() (Framework.Robot.ProcessTaskQuery() ?) in a try/catch and, assuming the exception type is TargetInvocationException, write the inner exception to the log.

>>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....
>
>Once a timer fires, the timer is shut down during the process. It can only be enabled back once the processed is completed.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform