Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Should we escape ' when building command text?
Message
 
 
To
31/12/2007 16:00:44
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
Environment:
ASP.NET
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01278630
Message ID:
01278757
Views:
26
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform