Skip to Content
0
Former Member
Mar 19, 2009 at 11:57 AM

Vendor code 12154 and 1005 error

171 Views

Hi,

I have developed an application which users the RDC API set (CR XI R2 SP4.5 version) to preview crystal reports. All types of reports works fine but except one. This report is a blank report with one sub-report. I have used native oracle connection to connect to the Oracle database when creating this layout. The main report is blank but it has a sub report with one view. When I run the report from Crystal Report Designer it works fine, but when I run it through my application it give the following error. Other report with sub-reports where the main report also has views works fine. Itu2019s just that reports with sub-reports where there are no views in the main report gives this error. I have debugged the code and found that it gives this error when Iu2019m setting the table location of the view in the sub-report. Hope you can help me to solve this issue.

I get two errors and they are,

Fail to open the connection. Database Vendor Code 12154

Fail to open the connection. Database Vendor Code 1005

Thanks in advance,

Chanaka