cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

I have a crystal report designed in 2008.  This report does not contains any groups or subreports.  I need to Verify Database so I can pick up 2 new parameters in our stored procedure that this RPT pulls data from.  The second I click Verify Database I get the error "Conversion failed when converting the nvarchar value '%' to data type int".  The ONLY spot we are handling a percent symbol is in the formatting options for a couple of fields.  We have looked extensively at the SQL and the data being pulled and nowhere are we using a % symbol.  This has happened to several of our reports and in order to get around it we simply created a new RPT because the formatting was rather simple.  Yes, a new RPT will connect to the stored procedure just fine.

After I click OK on the error I am prompt as usual with filling in our parameters.  After I fill them in I then get another error "Invalid object name 'LBI_Reporting.dbo.sp_PLN_StyleDemandRanking;1'.  I believe this is a result of my initial error but I included it anyway.

The conversion error I mentioned above also happens when I try to set a new data source location so that is not an option either.

Now that I have run into this problem all over again with another RPT that will take an incredibly long time to recreate, and this issue has cost us a lot of time and money, I need a solution.  

0 Likes
View Entire Topic
Former Member
0 Likes

What is the patch level of CR 2008, connectivity and database driver being used.

A google search on this error indicates that probably some type-casting changes have happened in the stored procedure that are no longer acceptable to the fields present in the existing report.

Do you have a copy of the original stored procedure in order to test the same workflow.Can you test this using different driver and connectivity options like OLEDB, native etc.

-Prathamesh

Former Member
0 Likes

Thank you for your response.  I attached the SQL as a text file because it's rather long but isn't too complicated of a procedure.  I have included some more details in my response to Aggarwal Himanshu above. 

I didn't feel like it was the stored procedure but if it is then I will certainly learn something new so your help is greatly appreciated.

To answer your question, I currently am not able to test with a different driver but it will be a possibility this weekend.

EDIT:  I forgot to mention that my current Crystal version is 12.1.0.892