Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Should we escape ' when building command text?
Message
 
 
À
31/12/2007 16:00:44
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01278630
Message ID:
01278757
Vues:
24
>If this worked properly to begin with (running the BeginExecuteNonQuery() rather than ExecuteNonQuery()), it could be that the page is already set up to run asynchronous stuff ... if so, you probably don't want to mess with it. Especially if the transaction problems you are getting are only because you've been debugging and not finishing your transactions while doing that. Restart your SQL Server or IIS (or kill the aspnet_wp.exe process from TaskManager) ... one of these things might get rid of your hanging transaction.
>
>~~Bonnie
>
Hi Bonnie,

I'm thinking that having trnsaction.commit() right after BeginExecute may be causing the problem. Anyway, I left everything not working, but I called later and the manger told me that he fixed everything and moved my code to production and the original problem seems to be fixed.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform