I have a report created with RDC in VB6 with Crystal Reports 8.5.
The report gets data from a stored procedure (MS SQL2000).
All works fine from my development machine, the report publish the data and can be viewd in the crystal viewer component.
But when I put my application on a client machine and test the report I get no result. All I get is a blank CRViewer and a messagebox with "SQL Server Error".
I've tested the following:
Installed MS SQL2000 and the database on the client machine.
I've tried to run my app from my development machine and connect to the new database, works fine. But not from the client machine.
I've started the SQL profiler to monitor the events that takes place on the database I've get the folowing result
when I run the report from the development computer:
RDC:Completed | exec [MyDB]..sp_procedure_params_rowset N'sp_getInnehData', 1, NULL, NULL
RDC:Completed | exec sp_getInnehData;1 86
the result when running the report from the client machine is only:
RDC:Completed | exec sp_procedure_params_rowset N'sp_getInnehData', 1, N'', NULL
It seems like the execution from the client machine can connect to the database, but somehow it can't complete the task to get the result from the procedure.
There are no problems from the client machine with reports that get's data from databas tables, with simple SELECT yada FROM yadayada...)
Is there any specific crystal dll that i need to install on the klient machine to get reports based on stored procedure to work?
Regards
Lechuck
The report gets data from a stored procedure (MS SQL2000).
All works fine from my development machine, the report publish the data and can be viewd in the crystal viewer component.
But when I put my application on a client machine and test the report I get no result. All I get is a blank CRViewer and a messagebox with "SQL Server Error".
I've tested the following:
Installed MS SQL2000 and the database on the client machine.
I've tried to run my app from my development machine and connect to the new database, works fine. But not from the client machine.
I've started the SQL profiler to monitor the events that takes place on the database I've get the folowing result
when I run the report from the development computer:
RDC:Completed | exec [MyDB]..sp_procedure_params_rowset N'sp_getInnehData', 1, NULL, NULL
RDC:Completed | exec sp_getInnehData;1 86
the result when running the report from the client machine is only:
RDC:Completed | exec sp_procedure_params_rowset N'sp_getInnehData', 1, N'', NULL
It seems like the execution from the client machine can connect to the database, but somehow it can't complete the task to get the result from the procedure.
There are no problems from the client machine with reports that get's data from databas tables, with simple SELECT yada FROM yadayada...)
Is there any specific crystal dll that i need to install on the klient machine to get reports based on stored procedure to work?
Regards
Lechuck