Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Other Development Tools
 A failing SQL statement in ASP

Author  Topic 

rohans
Posting Yak Master

194 Posts

Posted - 2008-06-04 : 23:36:59
Hi:
I have a piece of ASP code that does two writes (inserts) to the database. Sometimes the first write is successful and the second is not. How do I trace this?
I was thinking if I could turn on some logging/monitoring that would show all failed queries from the username in my connection would help me trace if it is really a bad query. But how do I do this?

All help appreciated.

csmconsulting
Starting Member

3 Posts

Posted - 2008-06-05 : 10:50:42
post the sample code and lets see whats goin on, have you tried to response.write the statement before it gets executed to see if it is syntactically correct?
Go to Top of Page
   

- Advertisement -