Answered
Deadlock in Coldfusion 8
We had a server with ColdFusion 6 and SQL server 2000. There
was a scheduled task in ColdFusion server that ran every morning
that updated one of the databases in SQL server.
2 weeks ago, we replaced the server (the machine) with a new one. In this process, we upgraded Coldfusion to 8, but did not change the version of SQL server. It is still 2000. I made sure that all the settings in CF8 is the same as it was in CF6. Nothing in the scheduled process has been changed either.
Ever since we made the switch-over, the cfm file of the scheduled task in ColdFusion server does not run the queries all the way through, and I see this error in the application log:
"Error Executing Database Query.[Macromedia][SQLServer JDBC Driver][SQLServer]Transaction (Process ID 54) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction."
I understand why a process is deadlocked in SQL server but I don't know what might be different between CF8 and CF6 that is now causing this problem. Any help will be greatly appreciated.
Thanks
Firoozeh Hunt
2 weeks ago, we replaced the server (the machine) with a new one. In this process, we upgraded Coldfusion to 8, but did not change the version of SQL server. It is still 2000. I made sure that all the settings in CF8 is the same as it was in CF6. Nothing in the scheduled process has been changed either.
Ever since we made the switch-over, the cfm file of the scheduled task in ColdFusion server does not run the queries all the way through, and I see this error in the application log:
"Error Executing Database Query.[Macromedia][SQLServer JDBC Driver][SQLServer]Transaction (Process ID 54) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction."
I understand why a process is deadlocked in SQL server but I don't know what might be different between CF8 and CF6 that is now causing this problem. Any help will be greatly appreciated.
Thanks
Firoozeh Hunt