If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Crystal Reports > Cannot create Crystal Report using a Stored Procedure with parameters

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-21-11, 00:34
LimaCharlie LimaCharlie is offline
Registered User
 
Join Date: Oct 2005
Posts: 119
Cannot create Crystal Report using a Stored Procedure with parameters

Hi,

I’ve been searching on why I can’t create a Crystal Reports using a Stored Procedure (SP) with parameters. I’m encountering this error: Database Connector Error: Cannot obtain error message from server.

I tried several scenarios, I can create the report using a Stored Procedure with parameters provided that these parameters are assigned a value inside the Stored Proc, or if these parameters (declared in the create proc line) are not used at all inside the Stored Proc.

So, isolating the problem. I cannot create a report when the SP has parameters (declared in the create proc line), these parameters were not assigned a value, and these parameters are used.

Is there a workaround here? Hope somebody can help. Thanks.
Reply With Quote
  #2 (permalink)  
Old 02-21-11, 02:04
LimaCharlie LimaCharlie is offline
Registered User
 
Join Date: Oct 2005
Posts: 119
I tried creating a new Stored Procedure with parameters and used these parameters inside my SP. And I was able to use this SP in my Crystal Report. So the problem is not about that SP w/ parameters. Kindly help me figure out what is this error about and how to fix this.

Error: Database Connector Error: Cannot obtain error message from server.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On