This never happened before, the apd doesnt return any error messsages, just calls the stored proc (delete statement) but doesn't complete, no error message.
This only happens when calling the sp on SQL Server 2005, it's fine with the same query in SQL Server 2000.
It doesnt make any sense! Please Help!! I've run out of ideas, I will try any suggestion.
Thanks in advance, Joseph
Do you have access to SQL Profiler? If so as a first step you could use that to see if the request is actually being made successfully and is as you expect.
If it is and is just taking a long time to execute have a look at sys.dm_os_waiting_tasks
to see if it is blocked.
You can also follow the advice in this answer to have a look at the execution plan and see if it seems reasonable.