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
Similar Messages
-
CR: Error in File ~tmp2be86bbf9f5e260.rpt: Database Connector Error
dear all, this has finally got the better of me.
i have been successfully scheduling a set of reports each month, until now. they all come back with the following error, each with a different ~tmp.rpt file
Error in File ~tmp2be86bbf9f5e260.rpt: Database Connector Error
each report communicates with an SAP ECC system. the user is fine, i have even tried my username to connect to sap, and same error occurs.
no runtime errors in sap.
the actual reports can be opened with crystal reports, and refreshed to show data without any problem.
could this be an integration issue. i checked by removing the sap role, and adding it back without any issues.
i have also cloned the CrystalReportsJobServer and tried to schedule with this one, same thing happens
here are the instance details
Title: Inv Count Cars
Document Type: Crystal Report
Status Failed
External Destination: None
Owner: ABC~400/GSMITH
Server Used: ABSAP02.CrystalReportsJobServer
PID: 11240
Folder Path: Reports/
Remote Instance: No
Creation Time: 1/09/2011 14:59
Expiry: 1/09/2021 14:59
Start Time: 1/09/2011 14:59
End Time: 1/09/2011 14:59
Printer: None
Formats: Crystal Reports
Parameters: null; chrysler
Error Message: Error in File ~tmp2be86bbf9f5e260.rpt: Database Connector Error
could this be an integration ?
i would very much appreciate anyones help
thanks
g
Edited by: Glen Spalding on Sep 1, 2011 7:27 AMall servers up and running without any problems
ODBC database connection works fine
here a list i have made, so i can remember what i have done
the issue is on the production box, and the dev box works fine.
1. checked sap user, ok
2. checked individual reports, ok
3. checked dev environment, ok
4. checked production IFRS & OFRS, ok
5. checked production report on dev environment, ok
6. checked working dev report on production environment, failed
7. u201Crepairu201D of installation kit
8. CRYSTALREPORTJBBSERVER failing
9. cloned server, server failed
10. tried rogue sap user/password on dev environment, returned different error
11. bounced production, same problem, failed
12. checked OBDC connection
13. checked new SIA with new Job Server, still same thing, failed
14. No Windows Events
15. SAP note raised (0000724225 2011)
16. BOBI Server Trace files nothing obvious
17. tried with report sample to different backend, and CrystalReportsJobServer, ok
18. brand new crystal reports with different user, failed
19. noticed in trace file error 707 with JobScheduleChild process -
Error in file ...rpt : Database Connector Error
Hello everyone,
I recently came across a strange problem whose source i can't find. I am using printToPrinter function to print a report to a printer. My application prints more than 300 reports continuously one after the other. The way i do this is as follows:
1. I create the datasource in asp.net
2. I insert the datasource in crystal reports datasource property
3. I call printToprinter
4. I close and dispose the ReportDocument object that i use to do the previous steps.
5. I continue to the next report and so on...
When i run the application from my development machine the reports print successfully. When my client whose pc is far away tries to print, sometimes and not always, one of the reports crashes in the line of code where i have put the printToPrinter method and the error is :
Error in file c:\windows\temp\myreport.rpt :
Database Connector Error
Does anyone know what causes this strange behavior? And why does this happen occasionally?
Thanks a lot in advance!You're closing the reports after you finish printing them, but are you calling .Dispose() on them? The Crystal SDK is really a wrapper around COM objects. Code written in Visual Studio does not automatically memory manage COM objects well (if at all!) so you have to do one of two things: either explicitly call .Dispose() when you're done with a report or put the report in a "Using" structure like this (assuming C# code behind - I don't know how this works in VB!):
Using (ReportDocument myRpt = New ReportDocument())
//insert code to load and print report here
Another issue might be due to network latency. If your user is indeed "far away" from where the application is running and is printing to a printer local to him, then any network slow-down or things like packet errors would affect communication between the application and the user and cause the print command to error out.
-Dell -
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.
-
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 -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.
AnupamaHi Anupama,
I have same error.
Do you know the solution for this ?
Regards,
Pradeep -
Regarding Database Connector Error
Hi Experts,
I am using BO Edge Series XI 3.0, Crystal report 2008, Live Office XI 3.0 and Xcelsius 2008. I have connected ERP (R/3) system with crystal report and created report. This report are stored in BOE. Using Live Office XI 3.0, created live office document from this crystal report. In Xcelsius, i have imported live office document and created dashboard and generated PDF.swf file. When i open the swf file with SAP user info, its showing error like this
soapenv:Server.generalException: Database Connector Error: ''
Error in File {FC927591-0D5B-475D-A5D5-F770F6E5514B}.rpt:
Database Connector Error
The same error occur when i refresh the crystal report in InfoView also.
The same error occur when i refresh the live office document also. Any help will be appreciated.
Regards,
Kumar.Kumar,
Make sure you cross check:
1. The database connector used by the report is installed on all machines from which the report can be run.
2. The necessary database client software required by the database connector is installed and in the PATH environment system variable on all machines from which the report can be run.
-Anil -
Database Connector Error (ODBC, SYBASE) in CR
Hi,
I'm running Crystal Reports 2008 and Business Objects Edge 3.0.
In CR there is connection to SYBASE database trought SYBASE ODBC driver. This ODBC connection is established on my local computer and on BOE server too.
When I try to refresh CR reports from Infoview or CMC, an erorr occured - Error in File ~tmp150c5bec67474b0.rpt: Database Connector Error.
When I open this file in Crystal Reports installed on the BOE server, everything works fine.
When I open this file in Crystal Reports installed on my local computer, everything works fine.
Any idea how to solve this?
Btw, some reports are working fine. I've created some small simple reports (one table or one command) and saved them to the CMS. Refreshing works fine.
And maybe relevant question to this - I entered all required informations in Database configuration of my CR report (report properties). But BOE even thouht asks for username and password.
I've tried both "use original database logon informations" and "use custom database logon informations". Same results.
Thanks in advance
PeterI've uninstalled SAP BO Edge 3.0 and I've installed the version 3.1
Now it works.
But still I don't know the reason. -
Unexpected database connector error---- Error code:-2147467259
Hi, I am using Crystal Report for Eclipse 12.2.208).
My rpt file contains a command with a simple sql query
In eclipse I used this rpt and generated the Jsp file to export the report to Pdf format
But exception is thrown in the following line of Jsp
//Push the Java ResultSet into the report (this will then be the datasource of the report)
CRJavaHelper.passResultSet(clientDoc, fetchResultSet(driverName, connectStr, userName, password, query), tableAlias, "");
CRJavaHelper.java
clientDoc.getDatabaseController().setDataSource(rs, tableAlias,tableAlias);
While replacing the result set I am getting the following error.... Please help me on this.
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2285) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2305) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:737) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167) at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529) at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527) at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352) at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54) at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67) at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716) at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125) at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537) at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(SourceFile:605) at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.a(SourceFile:1688) at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.new(SourceFile:2650) at com.crystaldecisions.sdk.occa.report.application.b9.onDataSourceChanged(SourceFile:301) at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:962) at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:2834) at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(SourceFile:2557) at com.businessobjects.samples.CRJavaHelper.passResultSet(CRJavaHelper.java:263) at org.apache.jsp.Report2008_002dviewer_jsp._jspService(Report2008_002dviewer_jsp.java:120) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Unknown Source) Caused by: com.crystaldecisions.reports.common.QueryEngineException: Unexpected database connector error at com.crystaldecisions.reports.queryengine.Connection.bf(SourceFile:2962) at com.crystaldecisions.reports.queryengine.Rowset.z3(SourceFile:944) at com.crystaldecisions.reports.queryengine.Rowset.bL(SourceFile:533) at com.crystaldecisions.reports.queryengine.Rowset.zM(SourceFile:245) at com.crystaldecisions.reports.queryengine.Connection.a(SourceFile:776) at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:2234) at com.crystaldecisions.reports.queryengine.Table.if(SourceFile:2161) at com.crystaldecisions.reports.queryengine.Table.try(SourceFile:1525) at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:568) at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2405) at com.crystaldecisions.reports.datafoundation.DataFoundation.a(SourceFile:1234) at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.a(SourceFile:344) at com.crystaldecisions.reports.dataengine.dfadapter.CheckDatabaseHelper.a(SourceFile:66) at com.crystaldecisions.reports.dataengine.datafoundation.CheckDatabaseCommand.new(SourceFile:100) at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71) at com.crystaldecisions.reports.common.Document.a(SourceFile:203) at com.crystaldecisions.reports.dataengine.VerifyDatabaseCommand.new(SourceFile:76) at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71) at com.crystaldecisions.reports.common.Document.a(SourceFile:203) at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175) at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.a(SourceFile:373) at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.if(SourceFile:352) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1291) at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)Please ensure that you have upgraded to Service Pack 4. There was a bug related to Unexpected Database Connector error that was resolved in the latest service pack release this February.
-
Unexpected database connector error when upgraded to the JRC 12.2.208
Hi,
My reports were working fine when using the CR viewers 11 SDK. In order to use print from the server functionality, I upgraded to JRC 12.2.208. Since then I am getting the following exception. Please help. Thanks!
Line: -
Exception Trace =
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2285)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2305)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:737)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
Line: -
CrystalReport logs:
2010-10-07 09:15:18,390 [http-80-1] DEBUG com.crystaldecisions.reports.dataengine.DataEngineCommand.VerifyDatabaseCommand - VerifyDatabaseCommand,0,Enter CreateCommand,<document=ReportDocument:<report=main><reportPath=C:\ICTS-10-6\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ICTSWeb\reports\rptICERejection.rpt>>;<isFirstVerify=false>;
2010-10-07 09:15:18,390 [http-80-1] DEBUG com.crystaldecisions.reports.dataengine.DataEngineCommand.VerifyDatabaseCommand - VerifyDatabaseCommand,30823955,Exit CreateCommand,<document=ReportDocument:<report=main><reportPath=C:\ICTS-10-6\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ICTSWeb\reports\rptICERejection.rpt>>;
2010-10-07 09:15:18,390 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager - command SETUP: VerifyDatabaseCommand
2010-10-07 09:15:18,390 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager - command PERFORM: VerifyDatabaseCommand
2010-10-07 09:15:18,390 [http-80-1] DEBUG com.crystaldecisions.reports.dataengine.DataEngineCommand.VerifyDatabaseCommand - VerifyDatabaseCommand,30823955,Enter perform,<document=ReportDocument:<report=main><reportPath=C:\ICTS-10-6\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ICTSWeb\reports\rptICERejection.rpt>>;
2010-10-07 09:15:18,390 [http-80-1] INFO com.crystaldecisions.reports.dataengine.DataEngineCommand.VerifyDatabaseCommand - Verifying database
2010-10-07 09:15:18,390 [http-80-1] INFO com.crystaldecisions.reports.reportdefinition.ReportCommand.CheckDatabaseCommand - CheckDatabaseCommand,0,Enter CreateCommand,<document=ReportDocument:<report=main><reportPath=C:\ICTS-10-6\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ICTSWeb\reports\rptICERejection.rpt>>;
2010-10-07 09:15:18,390 [http-80-1] INFO com.crystaldecisions.reports.reportdefinition.ReportCommand.CheckDatabaseCommand - CheckDatabaseCommand,5205942,Exit CreateCommand,<document=ReportDocument:<report=main><reportPath=C:\ICTS-10-6\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ICTSWeb\reports\rptICERejection.rpt>>;
2010-10-07 09:15:18,390 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager - command SETUP: CheckDatabaseCommand
2010-10-07 09:15:18,406 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager - command PERFORM: CheckDatabaseCommand
2010-10-07 09:15:18,406 [http-80-1] INFO com.crystaldecisions.reports.reportdefinition.ReportCommand.CheckDatabaseCommand - CheckDatabaseCommand,5205942,Enter perform,<document=ReportDocument:<report=main><reportPath=C:\ICTS-10-6\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\ICTSWeb\reports\rptICERejection.rpt>>;
2010-10-07 09:15:18,406 [http-80-1] INFO com.crystaldecisions.reports.queryengine - Connection logon:PreQEServerName=s(DOCSQLDEV01);Provider=s(SQLOLEDB.1);Integrated Security=s(SSPI);Initial Catalog=s(ICTS_DEV);Data Source=s(DOCSQLDEV01);Use Procedure for Prepare=s(1);Auto Translate=s(True);Packet Size=s(4096);Workstation ID=s(DOCCAPWKS708);PreQEServerType=s(Active Data (ADO));Database DLL=s(crdb_javabeans.dll);Java ResultSet=
2010-10-07 09:15:18,406 [http-80-1] INFO com.crystaldecisions.reports.queryengine - Connection logon successfully
2010-10-07 09:15:18,437 [http-80-1] INFO com.crystaldecisions.reports.queryengine - Rowset restart: moveToStart true
2010-10-07 09:15:18,437 [http-80-1] INFO com.crystaldecisions.reports.queryengine - Rowset execute
2010-10-07 09:15:18,437 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager - command SETUP: NotUndoableCommand
2010-10-07 09:15:18,437 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager - command PERFORM: NotUndoableCommand
2010-10-07 09:15:18,437 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager - -- command is NOT UNDOABLE -> purge undo stack
2010-10-07 09:15:18,453 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager - command SETUP: NotUndoableCommand
2010-10-07 09:15:18,453 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager - command PERFORM: NotUndoableCommand
2010-10-07 09:15:18,453 [http-80-1] DEBUG com.crystaldecisions.reports.common.commandmanager - -- command is NOT UNDOABLE -> purge undo stack
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(SourceFile:605)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.a(SourceFile:1688)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.new(SourceFile:2650)
at com.crystaldecisions.sdk.occa.report.application.b9.onDataSourceChanged(SourceFile:301)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:962)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:2834)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(SourceFile:2557)
at com.crystaldecisions.reports.sdk.DatabaseController.setDataSource(SourceFile:87)I find in the SAP notes that this is a reported bug in the JRC application.
SAP Note 1416845 - JRC application throws "Unexpected database connector" error
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap%28bd1lbizjptawmq==%29/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433313336333833343335%7D.do
My question is - Does anyone know when is this bug scheduled to be fixed and released?
Thanks,
Travis -
BOE上一个很奇怪的问题(Database Connector Error)
BOE版本: XI3.1
OS: SUSE10
DB: SAP BW
情况是这样的: 安装BOE时, 用的是客户从Service Center上下载的临时的License, 在2010-1-12日到期.
安装完后在2009年12月底替换过一个临时的License, 是到2010-3-8日的. 客户这边由于公司采购流程的原因, 正式的license流程还没有走完,只好先用临时的license了.
现在问题出来了, 2010-1-12的早上, 包括测试的BOE系统和正式的BOE系统上的报表都同时无法再连接后台SAP BW了, 显示的错误为 Error in File ~tmp2fa55fbd87812b7.rpt: Database Connector Error, 所有报表都是同样的问题, 而且连基于SAP TABLE的报表也连不了了,错误提示是一样的.而在此之前,所有报表都是可以正常运行的.
这里顺便说一下, 在PC端, 用Crystal Reports 2008来连接SAP BW是正常的. 可以抓到数据.
不知道是不是license的影响导致这样的问题,请大家帮忙看看.
Error in File ~tmp2fa55fbd87812b7.rpt: Database Connector Error问题解决了, 是IK的license没有更新过来, 现在搞定了.
-
Database Connector Error from CMC
I get database connector error when I schedule a report from CMC for Previous months begin and end date.For other critieria the report works fine. It works when I give previous dates to Trnasaction Post date > 10/01/2010 and Trnasaction Post date < 10/31/2010.But When I write the sql to get these dates and replace the dates with this logic for begin and end date.After 10-15 minutes or after 30 minutes I get Database connecotr error in CMC. This logic works fine for other reports created by other developers and when I apply the same for their reports they run fine.In this case This report is eactly save as of another report.That report works fine for this kind of a criteria.But this report does not.
We are using Oracle 11.1.0 on client
Error Message: Error in File ~tmp7113661730ff810.rpt: Database Connector Error
CMC Product: 12.1.0 © 2008 Business Objects
CR designer 2008 12.2.3.467
In tnsnames.ora
Here is the following info
pnet02d_dw =
(DESCRIPTION =
(ADDRESS_LIST =
(FAILOVER = on)
(SDU = 32767)
(LOAD_BALANCE = on)
(ADDRESS = (PROTOCOL = TCP)(HOST = tss2a017v1)(PORT = 4329))
(ADDRESS = (PROTOCOL = TCP)(HOST = tss2a017v1)(PORT = 4329))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVICE_NAME = pnet02d_dw)
(FAILOVER_MODE =
(TYPE = select)
(METHOD = basic)
(DELAY = 1)
(RETRIES = 5)The problem is solved by some extentent.By performance tuning the query the package does finish executing in few minutes.The actuall error in Designer was out of temp DB.
-
Unexpected database connector error
Hi Team,
I am trying to do Dynamic database change for Crystal reports and i 'm struggling with the following error. I am following below code listed in the following link
CRJava Modify DB Location
Please help me in resolve this issue. I have been struck up with this from 2 days
The Error Stack Trace is:
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2284)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2304)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:736)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:166)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:528)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:526)
at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:524)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:423)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:351)
at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
at com.crystaldecisions.sdk.occa.report.application.an.a(SourceFile:108)
at com.crystaldecisions.sdk.occa.report.application.b0.if(SourceFile:148)
at com.crystaldecisions.sdk.occa.report.application.b0.b(SourceFile:95)
at com.crystaldecisions.sdk.occa.report.application.bb.int(SourceFile:96)
at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(SourceFile:151)
at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(SourceFile:106)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:2159)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:543)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:3898)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.replaceConnection(SourceFile:3865)
at org.apache.jsp.DynamicDBChange_jsp._jspService(DynamicDBChange_jsp.java:213)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.crystaldecisions.reports.common.QueryEngineException: Unexpected database connector error
at com.crystaldecisions.reports.queryengine.Table.new(SourceFile:1014)
at com.crystaldecisions.reports.queryengine.Table.byte(SourceFile:1791)
at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:638)
at com.crystaldecisions.reports.queryengine.Table.vc(SourceFile:2419)
at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1166)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:660)
... 46 more
Caused by: com.businessobjects.reports.jdbinterface.common.DBException: Unexpected database connector error
at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)
at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)
at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCTable.GetFields(Unknown Source)
at com.crystaldecisions.reports.queryengine.Table.new(SourceFile:1010)
... 56 more
Caused by: java.sql.SQLException: ORA-01008: not all variables bound
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:194)
at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1000)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1307)
at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1882)
at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1847)
at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:301)
... 60 more
Waiting for reply
Thanks
PenchalHi Penchal,
What is the backend database? Are you using ODBC or JDBC connectivity for your backend DB engine?
Make sure to have the required jars for your connection type inside your applications lib directory.
Does it happens with all the reports?
What happens if you do not change the datasource, are you able to view reports fine.
As you are using Crystal reports for ecllipse runtime libraries to build your jsp, you would need to post your dicussions in the below forum to get better response.
http://scn.sap.com/community/crystal-reports-for-eclipse
The above space is dedicated for the issues with crystal reports for ecllipse.
Thanks,
Prithvi -
CR4E 2.1: Unexpected database connector error
Hi,</br>
I've an application that runs reports at an automated time, we've just updated from older JRC components from Crystal Reports XI to the CR4E 2.1 components, we did this because occasionally the reports would cause a maximum cursors exception as we use ORACLE stored procedures to gather data from our database. </br></br>
Changing to the newer components eliminates the cursor problem but now we are facing this exception from some of the reports that take longer to run
</br>
</br>
<code>
ERROR: Could not convert saved data
com.businessobjects.reports.datamodel.DFException: Unexpected database connector error
at com.crystaldecisions.reports.datafoundation.DFQuery.for(Unknown Source)
at com.crystaldecisions.reports.datalayer.a.do(Unknown Source)
at com.crystaldecisions.reports.datalayer.a.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.m.b(Unknown Source)
at com.crystaldecisions.reports.dataengine.j.b(Unknown Source)
at com.crystaldecisions.reports.dataengine.m.o(Unknown Source)
at com.crystaldecisions.reports.dataengine.m.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.j.case(Unknown Source)
at com.crystaldecisions.reports.dataengine.h.<init>(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataContext.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.new(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.try(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.int(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.I(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.if(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.do(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.if(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.S(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.U(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.aD(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.int(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.R(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.if(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.aH(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.au(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataSourceManager.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataSourceManager.if(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataSourceManager.a(Unknown Source)
at com.crystaldecisions.reports.reportdefinition.ReportDocument.goto(Unknown Source)
at com.crystaldecisions.reports.reportdefinition.ReportDocument.at(Unknown Source)
at com.businessobjects.reports.reportconverter.v12.f.do(Unknown Source)
at com.businessobjects.reports.reportconverter.v12.V12SaveLoader.a(Unknown Source)
at com.businessobjects.reports.loader.ReportSaver.a(Unknown Source)
at com.businessobjects.reports.loader.ReportSaver.save(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(Unknown Source)
at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(Unknown Source)
at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(Unknown Source)
at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(Unknown Source)
at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(Unknown Source)
at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)
at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)
at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ds.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)
at com.rcody.ReportEngine.batching.ReportEngineBatchJob$ExecuteSavedReports.processReport(ReportEngineBatchJob.java:778)
at com.rcody.ReportEngine.batching.ReportEngineBatchJob$ExecuteSavedReports.reportExport(ReportEngineBatchJob.java:637)
at com.rcody.ReportEngine.batching.ReportEngineBatchJob$ExecuteSavedReports.doReportExport(ReportEngineBatchJob.java:1129)
at com.rcody.ReportEngine.batching.ReportEngineBatchJob$ExecuteSavedReports.run(ReportEngineBatchJob.java:564)
at com.rcody.ReportEngine.batching.ReportEngineBatchJob.runJob(ReportEngineBatchJob.java:238)
at com.rcody.ReportEngine.display.SchedulerDisplayControl.proccesRequest(SchedulerDisplayControl.java:229)
at com.rcody.ReportEngine.ReportEngineAppletServlet.processRequest(ReportEngineAppletServlet.java:58)
at com.rcody.ReportEngine.BaseServlet.process(BaseServlet.java:40)
at com.rcody.ReportEngine.BaseServlet.doPost(BaseServlet.java:34)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java
16:36:27,587 INFO [STDOUT] .lang.Thread.run(Thread.java:619)
Caused by: com.crystaldecisions.reports.common.QueryEngineException: Unexpected database connector error
at com.crystaldecisions.reports.queryengine.Connection.a(Unknown Source)
at com.crystaldecisions.reports.queryengine.Rowset.z3(Unknown Source)
at com.crystaldecisions.reports.queryengine.Rowset.bL(Unknown Source)
at com.crystaldecisions.reports.queryengine.Rowset.zM(Unknown Source)
at com.crystaldecisions.reports.queryengine.RowsetBase.zA(Unknown Source)
at com.crystaldecisions.reports.queryengine.QueryInfo.vE(Unknown Source)
... 98 more
Caused by: com.businessobjects.reports.jdbinterface.common.DBException: Unexpected database connector error
at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)
at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)
at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)
... 104 more
Caused by: java.sql.SQLException: ORA-01008: not all variables bound
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:210)
at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:961)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1190)
at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1726)
at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1696)
at org.jboss.resource.adapter.jdbc.WrappedStatement.execute(WrappedStatement.java:84)
... 107 more
</code>
</br>
</br>
These reports would execute just fine under the older components with all their parameters provided. So I'm unclear as to why the new components would return this particular error.</br>If any one can provide an extra documentation or assistance I would really appreciate it</br></br>
DustehHi, my problem is similar:
1-i have a report that runs a stored procedure in mysql
2-i programmatically change connection parameter at runtime.
4-when i run the report i get an exception "Unexpected database connector error" (italian message "Errore imprevisto del connettore del database"
last rows of log...
DEBUG - Evaluating formula {@{DSParameter}::{?p_az}}...
DEBUG - The current value of field {?p_az} is: n(1.0)
INFO - Formula {@{DSParameter}::{?p_az}} evaluated to: n(1.0)
DEBUG - Evaluating formula {@{DSParameter}::{?p_cdc}}...
DEBUG - The current value of field {?p_cdc} is: s(0505)
INFO - Formula {@{DSParameter}::{?p_cdc}} evaluated to: s(0505)
DEBUG - Evaluating formula {@{DSParameter}::{?p_anno}}...
DEBUG - The current value of field {?p_anno} is: n(2009.0)
INFO - Formula {@{DSParameter}::{?p_anno}} evaluated to: n(2009.0)
DEBUG - Evaluating formula {@{DSParameter}::{?p_mese}}...
DEBUG - The current value of field {?p_mese} is: n(6.0)
INFO - Formula {@{DSParameter}::{?p_mese}} evaluated to: n(6.0)
INFO - QueryInfo openRowset:
INFO - Rowset restart: moveToStart true
INFO - Rowset execute
INFO - Executing query using a Query Definition.
ERROR - detected an exception: Errore imprevisto del connettore del database
at com.crystaldecisions.reports.datafoundation.DFQuery.for(Unknown Source)
at com.crystaldecisions.reports.datalayer.a.do(Unknown Source)
at com.crystaldecisions.reports.datalayer.a.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.m.b(Unknown Source)
at com.crystaldecisions.reports.dataengine.j.b(Unknown Source)
at com.crystaldecisions.reports.dataengine.m.o(Unknown Source)
at com.crystaldecisions.reports.dataengine.m.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.j.case(Unknown Source)
at com.crystaldecisions.reports.dataengine.h.<init>(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataContext.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.new(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.try(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.int(Unknown Source)
at com.crystaldecisions.reports.dataengine.DataProcessor2.I(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.fl(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.X(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(Unknown Source)
at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(Unknown Source)
at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.byte(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)
at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)
at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ds.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(Unknown Source)
at com.businessobjects.crystalreports.viewer.core.rs.RSRecordSource.openInputStream(Unknown Source)
at com.businessobjects.crystalreports.viewer.core.TSLVReader.a(Unknown Source)
at com.businessobjects.crystalreports.viewer.core.TSLVReader.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
INFO - releasing engine request
DEBUG - command SETUP: NotUndoableCommand
DEBUG - command PERFORM: NotUndoableCommand
DEBUG - -- command is NOT UNDOABLE -> purge undo stack
How i can detect what is happening? -
ResultSet AS datasource:Unexpected database connector error, Please Help?
Dear all;
I try to use a ResultSet as datasource in Crystal Reports,But an Exception Happend;
First i execute the SQL Statment to get ResultSet Object called rs then try the following code:
String tableAlias = reportClientDocument.getDatabaseController().getDatabase().getTables().getTable(0).getAlias();
reportClientDocument.getDatabaseController().setDataSource(rs,tableAlias,"resultsetTable");
This is the Exception;
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)
at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)
Please help me to solve this exceptionI need to execute the SQL Query thruogh java becouse there is some parameters must be in the SQL Query...and i have not permission to add views or stored procedure in database
this is my query:
String sqlquery = "SELECT "
+ "TO_CHAR(TO_DATE('1970-01-01', 'yyyy-mm-dd') + Command.CREATIONTIME / 86400000, 'mm/dd/yyyy') as CREATIONDATE"
+ ", COUNT(*) as TICKETCOUNT "
+ "FROM ALARMTICKET Command "
+ "WHERE "
+ "to_date(TO_CHAR(TO_DATE('1970-01-01', 'yyyy-mm-dd') + Command.CREATIONTIME / 86400000, 'mm/dd/yyyy'),'mm/dd/yyyy') "
+ "between "
+ "'"
+ dateFormater.format(date1)
+ "' "
+ "AND "
+ "'"
+ dateFormater.format(date2)
+ "' "
+ "group by TO_CHAR(TO_DATE('1970-01-01', 'yyyy-mm-dd') + Command.CREATIONTIME / 86400000, 'mm/dd/yyyy') "
+ "order by TO_CHAR(TO_DATE('1970-01-01', 'yyyy-mm-dd') + Command.CREATIONTIME / 86400000, 'mm/dd/yyyy')";
date1 and date2 are my variables.....
Maybe you are looking for
-
Hi, We are getting the following error message while checking in and storing the Document with T-CODE -CV01N. We have check the required thing for Content repository in OAC0 and it is working fine. We are using the SAP HTTP Content Server 640. Error:
-
Text messages and Calls failing
I recently bought a 4s and upgraded to the new iOS. Starting last week my text messages and outgoing callas are failing, but I have a strong signal. I've talked to att, who have checked my phone, the coverage in my area, and replaced my sim card. I'm
-
How do I save as with Numbers 2.1 Lion version
ok so I've been a user for about 6 months. Moved to Lion OS X and now the "Save as" option is missing. So if I have a spreadsheet that I want to keep but modify and call something else aka using the "save as" how do I now do this?
-
Issues connecting multiple machines wirelessly to WRT54G router
I have a WRT54G router and have one wired desktop, two laptops that connect fine and then I have a netbook and another desktop with wireless adapter I am having issues with connecting. I used the wizard and set each machine up with the downloaded ex
-
hello experts I try to make a simple file to file scenario, using BPM. in the BPM I have a reciever and sender (with out transformation or anything else). I see it in the SXMB enter to the BPM, but no file is coming out. is it possible to make a simp