Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Major mixup in two ASP.NET transactions
Message
De
26/09/2006 01:35:27
 
 
À
25/09/2006 17:13:41
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01150471
Message ID:
01157147
Vues:
59
>>As a debug exercise you might add a GUID property to your connection class and log this before some of the offending error lines. This should enable you to check whether different hits were actually accessing the same connection and, if so, might also provide a clue as to where this was happening...?
>
>The GUID property is a good idea. However, when those hits are hitting the server at the same time, only one will have the error. So, even if I would have a GUID, I wouldn't be able to compare it against something.

I'd give your .oProcess object a GUID as well and log both GUIDs all the time - not just when there's an error. If you find a case of the same connection GUID being used by two or more different processes you'll at least know that the source of the problem is indeed the sharing of a connection. Logging the method as well might help to narrow down the code where this is happening. It's also worth checking the log even when there's no error - it could be that the connection is often shared without having side effects which actually cause a problem....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform