Greetings!
Please help me with the following extremely odd stored procedure behavior on MS. SQL Server 2000.
I have a stored procedure that is executed remotely. When it is executed in our office test environment, the Profiler shows a perfect sequence of execution & return of results.
However (yes I know, there is always a 'however'), when the same process is executed in our client's environment, the Profiler displays a log with with an incomplete sequence of execution & there are no results returned. What makes the matter even more confusing is that there are no errors captured by the Profiler. Now, sometimes at the client site, the store procedure does execute successfully, but failure is far more common.
Just to clarify; Yes, the two stored procedures called remotely are identical. Yes, the parameters passed into the stored procedures are also identical.
Please see screen-shots below of the SQL Profiler...
In-House Microsoft SQL Server 2000 test environment;
Client's Microsoft SQL Server 2000 test environment;
What is apparent from the two Trace logs is that the key execute statement "exec sp_prepexecrpc @P1 output,....." is absent in the client's Trace log. So, something is preventing this statement from executing & I do not know what that is.
Here is a link to sp_prepexecrpc;
I appreciate any input/advices/suggestions as I am at a complete loss.
Thank you.
Please help me with the following extremely odd stored procedure behavior on MS. SQL Server 2000.
I have a stored procedure that is executed remotely. When it is executed in our office test environment, the Profiler shows a perfect sequence of execution & return of results.
However (yes I know, there is always a 'however'), when the same process is executed in our client's environment, the Profiler displays a log with with an incomplete sequence of execution & there are no results returned. What makes the matter even more confusing is that there are no errors captured by the Profiler. Now, sometimes at the client site, the store procedure does execute successfully, but failure is far more common.
Just to clarify; Yes, the two stored procedures called remotely are identical. Yes, the parameters passed into the stored procedures are also identical.
Please see screen-shots below of the SQL Profiler...
In-House Microsoft SQL Server 2000 test environment;

Client's Microsoft SQL Server 2000 test environment;

What is apparent from the two Trace logs is that the key execute statement "exec sp_prepexecrpc @P1 output,....." is absent in the client's Trace log. So, something is preventing this statement from executing & I do not know what that is.
Here is a link to sp_prepexecrpc;
I appreciate any input/advices/suggestions as I am at a complete loss.
Thank you.