on 09-19-2011 4:53 PM
Hi ,
I have a Crystal Report which uses a stored procedure to get it's data.
The stored procedure has no parameters but it is pretty complex and gives a resultset in the end with a select statement.
I designed the report in CR 11.5.12.1838.
The report works perfect in crystal reports designer.
Unfortunately I am getting an error in Central Management Concsole and InfoView
The error is:
Error in File ****.rpt: The table could not be found.
I am using ODBC connection and I even used to sa credentials to run the report in CMC but had no luck.
One thing I should mention that the stored procedure name as ;1 in the end.
I appreciate if you could help me with this report
Thanks
Hi,
I presume that the report is refreshing correctly in Designer. Is that the case?
If you are using SQL Server, you can activate profiler to check the query received in both cases (designer and CMC) and the user who is running it. That might give you a clue about what is happening.
Regards,
Julian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I finally found a work around this problem.
Instead of using the stored procedure directly to get the data in Crystal Report Designer, I used the add command
and called the execute stored procedure command and it worked in Central Management Console Beautifully.
I hope this helps others as well.
exec "Database"."owner"."Procedure"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The SQL profiler RPC completed shows:
exec sp_tables N'My[_]Procedure [_]Name[_]Has[_]Underscores,N'%',NULL,NULL
and it's variations. Nothing else and that returns no result.
My procedure name has underscores, I will get rid of that.
I will recreate my Stored procedure without underscore or any special characters and let you know about the result
Umit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.