Database Connector Error in Crystal Reports

Hi,
I have a report which has two sub reports. One of the sub reports use a view to fetch data while the other uses a SP. Now the problem that i am facing is as follows-
The sub-report using the stored procedure fails when i execute the main report but if i first execute the sub report with the SP, and then again run the main report, it works fine.
I tried an ODBC trace to find out why this was failing. When the main report is run for the first time, the sub report was not executed properly. The sub report uses a SP which expects two parameters. So at the first run, only one parameter gets passed to the sub report. however on the second run, the sub report successfully gets both the parameters.
The error that is encountered says:
Database Connector Error: 'HY000:[DataDirect][ODBC Oracle driver][Oracle]ORA-06550: line 1, column 58: PLS-00103: Encountered the symbol ")" when expecting one of the following:
(-+ case mod new not null others <an identifier>
<a double-quoted delimited-identifier> <a bind variable> avg
count current exists max min prior sql stddev sum variance
execute for all merge time timestamp interval date......
Could any one please help on this one? I am almost crazy trying to figure this out.
Regards,
Rashmi.

Please re-post if this is still an issue to the Data Connectivity - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly

Similar Messages

  • Unknown Database Connector Error using Crystal Report XI with Windows 7

    My current configuration is:
    Windows XP Professional
    Crystal Reports XI Professional
    Oracle Client 10g
    This is working great, however we are switching to Windows 7 Professional and I need to get this same configuration working on the new machines.
    I have loaded Windows 7 Professional and Oracle Client 10g.  Oracle makes the data connection without any problems.  I loaded Crystal Reports XI Professional, but it will not connect to the Oracle database.  It keeps giving me the Unknown Database Connector error.  Can anyone assist me with this problem?  This is the final software package that is holding up the project. 
    Thanks

    Hello Uher,
    Thanks for quickly response.
    I have attached the details of my issue, the most confuse part is that I'm not sure is there any conflict btw software.
    Appreciating your professional advise.

  • Database connector error - building crystal xir2 report from univ?

    Folks,
    I am attempting to create a crystal xir2 report using an otherwise fully functional universe, one that has other webi docs already created. After opening crystal and selecting new report, I log onto the BO server and select objects from the Univ to build the query. Hovever, I get 'Unknown database connector error' when clicking OK.
    I recently installed crystal xir2, the same version as my bo server. I checked the cmc and am using the same credentials when logging onto bo enterprise to select the univ from within crystal. Any ideas what is causing this and how to correct the issue?
    Thanks.

    Hello,
    I'm going to move this over to the Report Design forum. Someone there should be able to sort this out for you. I doubt it's a DB connection problem but something in the Universe causing Cr to fail.
    Seems no one in the Report Designer forum has any suggestions so I'm again moving this to the Universe Designer forum.
    Thanks you
    Don
    Edited by: Don Williams on Nov 15, 2009 8:48 AM

  • Database Connection error in Crystal Reports using SAP BW system

    Hi,
    While using Crystal Reports in trying to build a report on the SAP Query in SAP/BW System using the MDX driver, I am able to get the structure of the query fields into the report but on the other hand while trying to refresh the report for data I am getting the error message u201C Failed to connect to the databaseu201D . This database  connection error occurs despite the fact that the SAP server authentication details being entered on Refreshing the report is correct.
    What could be the possible reason? Any guess...
    Thanks,
    Amogh

    Hi,
    Yes, I am using the MDX driver. 
    Is there any pre-requisites of importing certain ABAP transports into SAP Server since I haven't done any? Please  recommend.
    Thanks,
    Amogh

  • Intermittent 'Unknown Database Connector' Error with Crystal XI in VFP9 app

    We have a VFP9 application which uses Crystal XI as its reporting tool. We use Installshield Express to install the Crystal components by including the merge modules in the setup.
    We extract data in the VFP app then write it to the local temporary files folder on the PC running the app. The VFP app then opens the crystal report and changes the database locations (xbase files). We intermittently get an OLE IDispatch exception with Crystal error u201CUnknown Database Connectoru201D. If the user runs exactly the same process again it is likely to be OK. The system had been relatively stable and unfortunately we cannot pinpoint what changed to introduce this problem. Around the same time we did install a new server, upgrade PCs to dual processor and also upgrade to Crystal XI!
    If anyone has had a similar problem or has any idea what the problem could be please let me know as our users are becoming frustrated with the system crashes they are encountering.

    First thing to do is to make sure you have the latest Service Pack. You mention that you are using CR XI, but I don't know if it is CR XI r1 or CR XI r2. Assuming it is r1, the latest SP is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100006008952008E/crXIwin_sp4.zip
    If you are using CR XI r2, the latest SP is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100006255422008E/crxir2_sp4_inc.exe
    You will also have to create a new deployment project. MSM for cr xi r1 is here:
    http://resources.businessobjects.com/support/communityCS/FilesAndUpdates/crXI_rdc_merge_modules.zip
    and for CR XI r2 is here:
    https://smpdl.sap-ag.de/~sapidp/012002523100009381702008E/crxir2sp4_rdc_mm.zip
    Next, you mention that this is an app upgraded to CR XI, but you do not mention the version of CR you upgraded from. If it is from CR 8.5 or older, we may want to take a look at the code you are using to connect to the database. E.g.; sending the database code used my be a good idea.
    Finally, please note that the platforms.txt does not mention VFP as a supported platform. E.g.; VFP was not tested and thus if there are any issues with the RDC, these will have to be duplicated on a supported platform before being submitted for a fix. Also, just for your information, the RDC has been retired in the currently shipping CR 2008.
    Ludek
    Edited by: Ludek Uher on Oct 2, 2008 3:31 PM

  • Unknown Database Connector Error

    Hi,
    I am using Crystal Reports 2008 to write reports against a CRS2008 repository.  I have developed and deployed the reports succesfully to multiple servers but I am now receiving and error when trying to refresh the data in the report.
    I can still connect to the repository and any changes to data foundation/business views are being picked up when I verify the database within the designer.
    I am receiving the following error when trying to refresh the data in a report:
    Crystal Reports for SAP Business One
    Unknown Database Connector Error
    OK  
    Crystal Reports for SAP Business One
    Prompting failed with the following error message: ''.
    Error source:   Error code: 0x80004005
    OK  
    Any ideas?
    I have seen a couple of hits on this issue but no obvious resolution.  I have tried closing and re-opening Crystal.  I am receiving this error on two different machines XP SP3 and Windows Server 2003 R2 SP2.  I receive exactly the same error on both machines.
    Regards,
    Sean

    Hi Don,
    Thanks for the link to the correct forum.
    Was a bit of a blonde moment on my behalf...I had re-imported the CRS Business Views, foundations etc but forgot that in doing so the Password against the Data Connection is lost.  I re-applied the password to the data connection and all was well in my Crystal World.
    Cheers,
    Sean

  • Error in File (report server\ report.rpt):  Database Connector Error

    New installation of XI R2 - using Crystal Reports Version 11.5.8.826 for developement against Oracle DB.
    Currently have around 20 reports running on XI (need to import ~1500 reports from Crystal Enterprise 10, but waiting to resolve this issue)
    Some reports sometimes (not always) get the following error:
    Error in File (report server\ report.rpt):  Database Connector Error
    If the report is re-scheduled, report will sometime run fine and sometimes gets the same error again.
    There seems to be no logical way to determine which parameters will cause the report to fail or when.
    I'm experiencing the problem on about 3 reports only - All against the same DB and only occassionally.  These 20 reports were developed with CR XI and all run against the same Oracle DB.

    I've got the same problem- the reports run fine in Crystal, but sometimes (not everytime) they fail in InfoView with "Database Connector Error" message. My report doesn't contain any data, just 8 sets of 4 subreports in different footer sections, which each connect to a different stored procedure. The report is to help with our server checks: we have a set of 4 different stored procedures which run on each of 8 different servers making 32 different SPs and there is a subreport in this report for each.
    It does seem to be random whether this problem occurs or not- I have scheduled the report to run regularly (1 recurring instance) and sometime it works, sometimes not, but always the same failure message. I have increased the success rate by allowing the report to re-try on failure, but this does take time, and isn't really curing the problem.
    I wonder whether this error could be caused by a delay in one of the SPs returning its data, and the report timing out since no data is being returned. Would anyone know whether this is likely to be the cause, and if so how to fix it? Or any suggestions what else it could be?
    Thanks,
    Tom

  • Crystal Report throws Unexpected Database Connector error

    Hi,<br>
    <br>
    We are using Crystal report 2008 CR4E API to implement the crystal report in our application. We use the below code to reset the report data source with our application data source. It works fine for most of the simple queries. But if the query contains any function defined in the SELECT Clause it throws Unexpected Database Connector error. As per the log and analysis we believe the root cause of the exception is it consider that function as column in the table and throws the SQL Exception that "function is Invalid Identifier". Could you please help in resolving this issue?
    <br><br>
    Code:<br><br>
         Tables tables = clientDoc.getDatabaseController().getDatabase().getTables(); <br>
                for(int i = 0;i < tables.size();i++){<br>
                    origTable = tables.getTable(i);<br>
                    if (tableName == null || origTable.getName().equals(tableName)) {<br>
                        newTable = (ITable)origTable.clone(true);<br>
                        newTable.setQualifiedName(origTable.getAlias());<br>
                        connectionInfo = newTable.getConnectionInfo();<br>
                        propertyBag = new PropertyBag();<br>
                        propertyBag.put("Trusted_Connection", params.trustedCon);<br>
                        propertyBag.put("Server Type", params.serverType);<br>
                        propertyBag.put("Use JDBC", params.useJdbc);<br><br>
                        propertyBag.put("Database DLL",params.databaseDLL);<br>
                        propertyBag.put("Connection URL", params.connectionURL);<br>
                        propertyBag.put("Database Class Name", params.dbClassName);<br>
                        connectionInfo.setAttributes(propertyBag);<br>
                        connectionInfo.setUserName(params.userName);<br>
                        connectionInfo.setPassword(params.password);<br>
                        clientDoc.getDatabaseController().setTableLocation(origTable, newTable); // Exception is thrown here<br>
              }                    <br>
         }     <br>
    <br>
    SQL Query : <br><br>
    Select empno, Fun_getEmpAddress(empno) from employee where empno = ?<br><br><br>
    Error Log:<br><br>
    2011-04-26 16:30:41.926 89022900 CrystalReportParms_jsp._jspService(368) Error while generating crystal report<br>
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2285)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2305)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:737)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)<br>
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)<br>
         at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)<br>
         at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)<br>
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)<br>
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)<br>
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)<br>
         at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)<br>
         at com.crystaldecisions.sdk.occa.report.application.an.a(SourceFile:108)<br>
         at com.crystaldecisions.sdk.occa.report.application.b0.if(SourceFile:148)<br>
         at com.crystaldecisions.sdk.occa.report.application.b0.b(SourceFile:95)<br>
         at com.crystaldecisions.sdk.occa.report.application.bb.int(SourceFile:96)<br>
         at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(SourceFile:151)<br>
         at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(SourceFile:106)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:2159)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:543)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:3898)<br>
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setTableLocation(SourceFile:2906)<br>
         at com.mysystems.myapp.common.CRJavaHelper.changeDataSource(CRJavaHelper.java:157)<br>
         at com.mysystems.myapp.common.CrystalReport.print(CrystalReport.java:202)<br>
         at org.apache.jsp.english.CrystalReportParms_jsp._jspService(CrystalReportParms_jsp.java:368)<br>
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)<br>
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)<br>
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)<br>
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)<br>
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br>
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br>
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
         at com.mysystems.myapp.common.MyServletFilter.doFilter(MyServletFilter.java:107)<br>
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)<br>
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br>
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)<br>
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br>
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br>
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br>
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br>
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)<br>
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)<br>
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)<br>
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)<br>
         at java.lang.Thread.run(Thread.java:595)<br>
    Caused by: com.crystaldecisions.reports.common.QueryEngineException: Unexpected database connector error<br>
         at com.crystaldecisions.reports.queryengine.Connection.bf(SourceFile:2958)<br>
         at com.crystaldecisions.reports.queryengine.Rowset.z3(SourceFile:944)<br>
         at com.crystaldecisions.reports.queryengine.Rowset.bL(SourceFile:533)<br>
         at com.crystaldecisions.reports.queryengine.Rowset.zM(SourceFile:245)<br>
         at com.crystaldecisions.reports.queryengine.Connection.a(SourceFile:776)<br>
         at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:2234)<br>
         at com.crystaldecisions.reports.queryengine.Table.if(SourceFile:2161)<br>
         at com.crystaldecisions.reports.queryengine.Table.try(SourceFile:1525)<br>
         at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:568)<br>
         at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2405)<br>
         at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)<br>
         at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)<br>
         at com.crystaldecisions.reports.common.Document.a(SourceFile:203)<br>
         at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)<br>
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1167)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)<br>
         ... 47 more<br>
    Caused by: com.businessobjects.reports.jdbinterface.common.DBException: Unexpected database connector error<br>
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)<br>
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)<br>
         at com.crystaldecisions.reports.queryengine.Connection.bf(SourceFile:2953)<br>
         ... 63 more<br>
    Caused by: java.sql.SQLException: ORA-00904: "Fun_getEmpAddress": invalid identifier<br>
    <br>
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:124)<br>
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)<br>
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)<br>
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:622)<br>
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:111)<br>
         at oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:350)<br>
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:895)<br>
         at oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:382)<br>
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:985)<br>
         at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1515)<br>
         ... 66 more<br>

    i'm also getting the same error when i'm trying to call stored procedure (that will fetch the result set and populate the report) through the query in the report-viewer.jsp. The result set is fetched i.e. when i print the result set it shows on tomcat but it is not getting passed to Table object to populate the report. However when i try to give the query explicitly in the form of SELECT statements, it works fine i.e. i can view the report in the browser. But giving query in the form of SELECT is a very naive way and is ok if u have too less reports not requiring too many joins, thats why i was using stored procedure. Any help would be appreciated.

  • Crystal Reports: Unexpected database connector error

    Hi experts,
    I have a Web Module DC that uses JSP to show Crystal Reports. In my report I use POJO as datasource. The POJO itself is a JPA entity and is located in other EJB Module DC that has dependency with the Web Module DC. At design time everything looks fine and I can retrieve the data I need from other EJB Module with Session Beans but as a result I see the following error: "Unexpected database connector error". The architecture is the following:
    SessionBean EJB Module----
    |
                                                       >>dependency to >> Web Module DC with Crystal Reports
    JPA Entities EJB Module----
    |
    And in my report as datasource I use entity from the JPA EJB Module. And the source in my jsp is the following:
         Object object = null;
         try {
              Context c = new InitialContext();
              object = c
                        .lookup("ejb:/appName=sap.com/slauto_viewer_app, beanName=GeneralBean, interfaceName=com.sap.crs.slautoviewer.beans.GeneralBeanLocal");
              Class clazz = object.getClass();
              try {
                   //Open report.
                   Method method = getMethod(clazz,
                             "getGeneralDataByHostAndID");
                   List<General> generals = (List<General>) method
                             .invoke(object,
                                       new Object[] { "localhost", "b", 10 });
                   POJOResultSetFactory factory = new POJOResultSetFactory(
                             SlAutoGeneral.class);
                   POJOResultSet resultSet = factory
                             .createResultSet(generals);
                   ReportClientDocument reportClientDoc = new ReportClientDocument();
                   reportClientDoc.open("CrystalReport1.rpt", 0);
                   ITable table = reportClientDoc.getDatabaseController()
                             .getDatabase().getTables().getTable(0);
                   String tableAlias = table.getAlias();
                   reportClientDoc.getDatabaseController().setDataSource(
                             resultSet, tableAlias, tableAlias);
                   session.setAttribute("reportSource", reportClientDoc
                             .getReportSource());
                   CrystalReportViewer viewer = new CrystalReportViewer();
                   viewer.setOwnPage(true);
                   viewer
                             .setDocumentViewType(CrDocumentViewTypeEnum.webLayout);
                   viewer.setHasDrilldownTabs(false);
                   viewer.setDisplayToolbar(false);
                   viewer.setPrintMode(CrPrintMode.ACTIVEX);
                   Object reportSource = reportClientDoc.getReportSource();
                   viewer.setReportSource(reportSource);
                   viewer.processHttpRequest(request, response,
                             getServletConfig().getServletContext(), null);
              } catch (ReportSDKException ex) {
                   out.println(ex);
              } catch (Exception ex) {
                   out.println(ex);
         } catch (NamingException e) {
    protected Method getMethod(Class clazz, String name) {
              Method[] methods = clazz.getMethods();
              for (int i = 0; i < methods.length; i++) {
                   Method method = methods<i>;
                   String methodName = method.getName();
                   if (methodName.equals(name)) {
                        return method;
              return null;
    Please tell me what could be wrong
    Regards,
    Martin
    Edited by: musaka on Dec 11, 2009 2:51 PM

    Please check the Preview tab for formatting before posting. If People can read the question they may reply. Limit your posts to 1500 characters, then formatting is not lost.

  • Database Connector Error : when refreshing the crystal report in Infoview

    Hi,
        I've created a crystal report on SAP R/3 tables and the report is refreshing fine in my local system. But however when I publish the report to the BOE, and when I try to refresh the report it gives the error:
    Error in File <file name>: Database Connector Error. I'm using Crystal reports 2008 and the BOE is XI 3.1.
    How can I solve this?
    Thanks,
    Sanjay

    Hey folks,
    i suppose  we are facing the same error. But where do i check if the key for the server-side integration kit has expired? There is no explicit key in our CMC.
    We use BOE XI 3.1.
    Thanks in advance!

  • Database Connector Error when I connect SAP Crystal Report to dbase

    When I connect SAP Crystal Report to dbase the error is "Database Connector Error", only when exist a field the type memo. I need to used this type of field, somebody that known how can I resolve this problem or some idea?
    Thanks a lot for your help.

    Hi,
    there are sevaral SAP Notes for your problem. Can you specify the databaseof the source?
    i.e. MS SQL Server -> Note 1212769
          dbase -> Note 1209347
    regards
    -Phil

  • Unknown Database connector Error - Crystal Reports 2008 and OLE DB

    Hi,
    I want to create a report based on OLE DB provider.
    Once I Select it from the Database Expert list I get this Error: "Unknown Database Connector Error", and the list is empty.
    I am using Crystal Reports 2008 on Win XP SP2.
    SQL Server 2005 is installed on the local machine.
    If I create a UDL File and double click, I can see all OLE DB Providers on the machine.
    What am I missing ?
    Thanks,
    Yuval.

    Hi Friends,
    Thank you all for trying to help.
    - The installed MDAC version is 2.8 (It comes with XP SP2). I have tried installing it again and it says that it is already installed.
    - I am not using a bussiness view. Just the simplest blank report in CR2008. I am not able to start it using OLE DB, once I want to choose a provider - I get the error, before even entering connection details such as username and password.
    - I am able to build an ODBC report, but when trying to view it using Crystal Reports Windows Form Viewer (from within a .Net application) I get an error: "Failed to Open The Connection". It happens also with reports built on other machines using OLE DB.
    Same report works fine with the same application on different machines and I cannot figure out what is the difference.
    I think Something on my machine is not right.
    Any suggestions ?
    Thanks,
    Yuval.

  • Database Connector Error -Crystal Reports

    Hi all,
    I am using Crystal reports 2008 to design reports for IDM 7.1.The DB is SQL Server 2005.
    I am able to design and fetch correct data from the databases and things work fine in the Crystal report tool. But when I try to call the task from IDM-UI , I am getting a strange error and the job fails.
    The error message goes like tis:
    Failed generating report BasicRoleComposition85837.pdf
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed
    putNextEntry failed storing85731
    I checked the constants and the its all set correctly. I checked the SQL too,it also seems to be ok.
    I really cant make out what went wrong.It would be great if someone can help me out with this.
    Thank you.
    Anupama

    Hi Anupama,
    I have same error.
    Do you know the solution for this ?
    Regards,
    Pradeep

  • VB2005 with Crystal Report XI and MS Access - Database Connector Error:

    Post Author: jvaldeziii
    CA Forum: .NET
    "Database Connector Error:"
    does anybody there whose got an idea with this problem?
    Im using VB2005 and im trying to show a report using CR XI with a Ms Access database...
    Whenever i used a CRAXDRT.Report.SQLQueryString? my application has an error "Database Connector Error"
    but whenever i omit this single line of code CRAXDRT.Report.SQLQueryString?
    crxReport.SQLQueryString = "Select * from tblPersonal where EMP_ID like '0%'"
    Or either i replace it with a CRAXDRT.Report.RecordSelectionFormula?
    crxReport.RecordSelectionFormula = "{tblPersonal.IDNo} like '*'"
    it works fine and it show the report and data...
    But?? i have to use more flexible filter condition like "SQLQueryString" like using LEFT OUTER JOIN or even just a simple query string in sql query...
    but using "SQLQueryString" gives me a head ache to figure it myself... I got this frustrating error in my application... "Database connector error"
    thats why i need help... please anybody has a good idea to resolve this problem "Database connector error" please refer to my code if there's something missing or lacking in my code...
    Here's my sample code:
    Private Sub frmCrystalReport_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Try
    ChildFormAutoSizeFit(Me)
    Me.Cursor = Cursors.WaitCursor
    Me.MdiParent = frmMain
    crxApp = New CRAXDRT.Application
    crxReport = crxApp.OpenReport(reportPath & "\EmployeeRecord.rpt", CrystalDecisions.Shared.OpenReportMethod.OpenReportByDefault)
    crxDataBase = crxReport.Database
    crxTables = crxDataBase.Tables
    For Each crxTable In crxTables
    crxTable.Location = DataSource
    crxTable.SetLogOnInfo("Provider=Microsoft.Jet.OLEDB.4.0;Data source=" & reportPath, "myEmpDB.mdb", "UserName", "myPassword")
    Next crxTable
    'Note1: this line crxReport.SQLQueryString gives me the headache "Database Connector Error"
    crxReport.SQLQueryString = "Select * from tblPersonal"
    'Note2: this line crxReport.RecordSelectionFormula works fine
    'crxReport.RecordSelectionFormula = "{tblPersonal.IDNo} like '*'"
    AxCRViewer1.ReportSource = crxReport
    AxCRViewer1.ViewReport()
    crxDataBase = Nothing
    crxTable = Nothing
    crxTables = Nothing
    crxReport = Nothing
    crxApp = Nothing
    Catch ex As Exception
    MsgBox(ex.ToString())
    Finally
    Me.Cursor = Cursors.Default
    End Try
    End Sub
    Please anybody there who can resolve this problem or even just a good idea to share?? Please...
    A lot of appreciation to someone or anybody who can help with this... thanks in advance....

    Post Author: Argan
    CA Forum: .NET
    You may want to move/ask this question in the "Other" sdk forum since this is not the CR.NET SDK, but actually RDC/COM SDK.
    You are using the RDC in .NET, which is unsupported/untested so there is no way to know if it is a .NET specific issue or an issue with the RDC.
    One of the COM folks may be of more help in that forum.
    Good luck with your project.

  • Database Connector Error when trying to add a stored procedure to my report

    I am trying to add a stored procedure to my report and come up with this error Database Connector Error: 'Cannot obtain error from server.'.  This is in any of our environments, and with any stored procedure.  I am able to connect to tables and views without error.  I'm using Crystal Reports 2008.  Any help would be appreciated.   Thanks

    The following SAP Note might help you
    [http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233303331333633393335%7D.do]
    regards,
    Raghavendra.G

Maybe you are looking for

  • Unable to initialize deck?

    I have 3 tapes from an event to capture and edit with my Panasonic DVX100B. The first tape captured fine. A couple of days later I try to capture another tape and suddenly I get "unable to initialize deck"! I have... 1) Tried to capture on my Macbook

  • Read local XML with FileReference

    Hello, I have a problem triying to read a local XML file. I have this code to get the file from my hd, the file is uploaded correctly, but I don´t know how convert it to XML or String variable. The code:     private var fileRefSave:FileReference = ne

  • Drop shadow on slideshow not rendering right when published

    The drop shadow looks fine when applied while in muse but when previewed or published it does not. The problem started after the February update. This is how it looks when published. Please help!!!!!

  • Help with httpservice fault

    I'm new to flex (and actionscript really) and I am having a problem with the program I'm writing. My httpservice object is throwing a httpFault with a message that says: [MessagingError message='Destination 'the destination of an xml file' either doe

  • Maintain text for all infotype

    Hello, Is someone knows why in some infotype the option "maintain text" is active and for others it isn't. Can i active it for all infotype? Thanks. Edited by: marc frenay on Aug 20, 2009 12:43 PM