Crystal Reports XI - Unable to fetch data error

Hi all,
I get the below error when i click next or previous buton in my report after navigating the report for about 5 to ten minutes.
JRCAgent3 detected an exception: Unable to fetch data for the subreport 'Subreport1' at this position.
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.eA(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.E(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ca.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.a9.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.m.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.m.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.aB(Unknown Source)
at com.businessobjects.reports.sdk.b.b.byte(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.dd.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.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getPage(Unknown Source)
at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.getPage(Unknown Source)
at com.crystaldecisions.report.web.event.ac.a(Unknown Source)
at com.crystaldecisions.report.web.event.ac.a(Unknown Source)
at com.crystaldecisions.report.web.event.b2.a(Unknown Source)
at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)
at com.crystaldecisions.report.web.event.av.a(Unknown Source)
at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)
at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)
at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)
at com.dnb.asip.report.viewer.ReportViewerTag.doEndTag(ReportViewerTag.java:94)
at org.apache.jsp.Reports.JSP.VIPReport_jsp._jspService(VIPReport_jsp.java:247)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:386)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:534)
any help woul be greatly appreciated.
some times i get the below error
"com.crystaldecisions.reports.queryengine.bo: The position is already past the end of the rowset." I am getting very wired errors but not in the same page everytime. what could be the issue?
Thanks,
Prem

hi,
  These are the other exception which i get while clicking the buttons in my report after navigating for sometime.
I get DatabaseVerify error for all the subreports in my report since i have checked verify on first refresh option. can i remove that option? I am using a JDBC/JNDI connection.So the database will change in the runtime depending upon development ,CERT or production environment
here are few other wierd errors that occurs to me. All these error doesnt occur consistently,They all occur after accessin the report for some period of time(10 mins)
1. Exception:java.lang.outofMemory
2. A message is shown as Error 1 in the UI but the log shows 'the Unable to fecth data for subreport exception',  agian the Message in the UI is not conistent sometime it is 1 and sometimes it is 0
3. when i click on the prevoius,last,nextor first after acessing the report for a lon time i get this exception
RCAgent2 detected an exception: Error fetching total page count: Unable to fetch data for the subreport 'Subreport74' at this position.
at com.businessobjects.reports.sdk.b.b.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
4.When i click on the search button some times i get the below exception
Exception:
com.crystaldecisions.reports.formatter.formatter.c: Invalid data position
at com.crystaldecisions.reports.formatter.formatter.objectformatter.be.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bf.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.ca.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.a9.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.m.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.m.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.aB(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.b.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.b.do(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.b.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.b.a(Unknown Source)
at com.businessobjects.reports.sdk.b.b.try(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportSource.findText(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.findText(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.findText(Unknown Source)
at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.findText(Unknown Source)
at com.crystaldecisions.report.web.event.ac.a(Unknown Source)
at com.crystaldecisions.report.web.event.ac.a(Unknown Source)
at com.crystaldecisions.report.web.event.u.a(Unknown Source)
at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)
at com.crystaldecisions.report.web.event.av.a(Unknown Source)
at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)
at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)
at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)
at com.dnb.asip.report.viewer.ReportViewerTag.doEndTag(ReportViewerTag.java:92)
at org.apache.jsp.Reports.JSP.VIPReport_jsp._jspService(VIPReport_jsp.java:251)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:534)
Caused by: com.crystaldecisions.reports.dataengine.ag: Invalid data position
at com.crystaldecisions.reports.dataengine.bk.V(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.n(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.n(Unknown Source)
... 71 more
4.Too many open files Error message is shown in the UI wheni try to load my report.
5. I get the below exception when accessin the report for a long time.
Exception:
JRCAgent2 detected an exception: java.lang.NullPointerException
at com.crystaldecisions.reports.dataengine.bk.new(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.do(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.int(Unknown Source)
at com.crystaldecisions.reports.dataengine.bk.G(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bv.eA(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.E(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.cd.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.b3.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.m.for(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.objectformatter.bt.a(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.l(Unknown Source)
at com.crystaldecisions.reports.formatter.formatter.e.p.aB(Unknown Source)
at com.businessobjects.reports.sdk.b.b.byte(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.dd.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.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.getPage(Unknown Source)
at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.getPage(Unknown Source)
at com.crystaldecisions.report.web.event.ac.a(Unknown Source)
at com.crystaldecisions.report.web.event.ac.a(Unknown Source)
at com.crystaldecisions.report.web.event.b2.a(Unknown Source)
at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)
at com.crystaldecisions.report.web.event.av.a(Unknown Source)
at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)
at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)
at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)
at com.dnb.asip.report.viewer.ReportViewerTag.doEndTag(ReportViewerTag.java:94)
at org.apache.jsp.Reports.JSP.VIPReport_jsp._jspService(VIPReport_jsp.java:237)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:534)
Am i missing out something very basic:-s Do i need to put any entry in my CRConfig.xml?
I am using JDTS JDBC Driver to connect to my Database and JBoss4.04 A is my application server
Sincerely,
Prem

Similar Messages

  • Unable to fetch data using control-blocks

    Hi,
    I have created two non base table text items(from_date, to_date) and if values are not entered from front end i.e. null then hadrcoded in pre_query trigger to default values as from_date (system date-present month-last year) and to_date(system date-present month-present year).when i have pressed the fetch button without giving values to from_date and to_date,it is retrieving data in default period,which i ahave hardcoded in PRE_QUERY trigger.But even i enter values dynamically from front end and when ever i press fetch button ,it is retrieving data in default period instead giving data in specified duration what i have entered dynamically from front end. i.e. it is not accepting values what i have entered.
    any one please help me.
    oracle forms 10g version:10.1.2.0.2
    Thanks and Regards
    Ram

    hi,
    Thanks for ur feedback.
    here query is executed. My problem is,unable to fetch data in specified period,what i have entered dynamically.Even i entered dynamically,it is fetching data in default period(Which i have hardcoded in PRE_QUERY).
    below code is ,what i have hardcoded in PRE_QUERY
    :GLOBAL.DFROMDT := NULL;
    :GLOBAL.DTODT := NULL;
    IF :HEADER_BLOCK.NBTFROMDT is NULL THEN
    SELECT TO_DATE('10'||'/'||TO_CHAR(ADD_MONTHS(SYSDATE,-1),'MM')||'/'||
    TO_CHAR(ADD_MONTHS(SYSDATE,-12),'YYYY'),'DD/MM/YYYY')
    INTO :HEADER_BLOCK.NBTFROMDT FROM SYS.DUAL ;
    END IF;
    IF :HEADER_BLOCK.NBTTODT IS NULL THEN           
         SELECT SYSDATE INTO :HEADER_BLOCK.NBTTODT
         FROM SYS.DUAL;
    END IF;
    IF :HEADER_BLOCK.NBTFROMDT IS NOT NULL
    OR :HEADER_BLOCK.NBTTODT IS NOT NULL THEN
    :GLOBAL.DFROMDT := :HEADER_BLOCK.NBTFROMDT;
    :GLOBAL.DTODT := :HEADER_BLOCK.NBTTODT;
    END IF;
    IF :DETAIL_BLOCK.nbtFjdDrCrInd IS NOT NULL THEN
         svWhere_String := 'WHERE FJH_VCHR_DT BETWEEN '''||nvl(:GLOBAL.DFROMDT,TO_DATE(:GLOBAL.DFROMDT,'DD/MM/YYYY'))||''' AND '||
    ''''||NVL(:GLOBAL.DTODT,TO_DATE(SYSDATE,'DD/MM/YYYY'))||''')';
         Set_Block_Property('DETAIL_BLOCK',DEFAULT_WHERE,svWhere_String);
    ELSE
         Set_Block_Property('DETAIL_BLOCK',DEFAULT_WHERE,' ');
    END IF;

  • Crystal Reports 2008 Runtime creates Logon Fialed error

    i have a client running Crystal REport 2008 SP4.  They are now receiving this error when running reports.
    Logon failed.
    Details:  [Database Vendor Code: 18456 ]
    Logon failed.
    Details:  [Database Vendor Code: 18456 ]
    Error in File Sick Leave Taken from Anniversary Date {0F164D11-4856-4C12-9EA7-2CE3C3F0861E}.rpt:
    Unable to connect: incorrect log on parameters.
    Details:  [Database Vendor Code: 18456 ]
    The report runs fine on my development environment.  What could be causing the error?

    See if the blog [Understanding "login failed" (Error 18456) error messages in SQL Server 2005|http://blogs.msdn.com/b/sql_protocols/archive/2006/02/21/536201.aspx] will help (big assumption on my part re. the db you are using...)
    See the article [Troubleshooting Guide to Database Connectivity Issues with Crystal Reports in Visual Studio .NET Applications|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b0225775-88c4-2c10-bd80-8298769293de]
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Crystal Reports 2008 failed to retrive data, and instead deleted it.

    I have been using crystal reports 2008 for the past year or so with our billing software through an OBDC data source. I was using xp pro sp3. However I recently upgraded to a new computer running xp pro sp3 as well, and now I am having some serious issues.
    When I try to connect to a data source in the database expert, it shows all the tables, and then the field explorer shows the fields, but when I actually try to brows the data, view a preview, verify the database, or refresh an old report it gives me an error and DELETES the .dat file that the field was located in. I am so glad I have regular backups to restore too, because pulling a report nuked 5 .dat files.
    The errors I am getting are as follows:
    "Failed to retrieve data from database."
    Clicked ok
    "Failed to retrieve data from database."
    Clicked ok
    "Database Connector Error: 'HY000:[Pervasive][ODBC Client Interface][LNA][Pervasive][ODBC Engine Interface][Data Record Manager]The file cannot be created with Variable-trail Allocation Tables (VATs)(Btrieve Error 105)'"
    Clicked ok
    "Failed to retrieve  data from database.
    Details:HY000:[Pervasive][ODBC Client Interface][LNA][Pervasive][ODBC Engine Interface]Unable to open table: <nameoftable>"
    Click ok
    and Crystal stays open but has just deleted the .dat file that the table was located in. It will still show the fields but  no data. Trying to open the other software leads to an error "missing <name of table>.dat" It then has to be restored from a backup.
    I have tried updating crystal as well as fully uninstalling it and reinstalling it, we have created a new ODBC connection, and cloned the database for testing purposes. The same thing occurs with the new database and ODBC data source.
    We have no other computers, except my old one that has crystal reports on it. I have tried the old computer again and it is working fine.
    Does anyone have an suggestions? This is pretty critical. Thanks in advance.
    Edited by: Russellk on Jan 13, 2010 8:27 PM

    Hello, you could try turning on ODBC tracing to see if it logs anything. It's a pain to get going but here's how.
    Go to ODBC Admin, Click on the Tracing tab and create a log file and save. Don't start tracing yet. Close the ODBC admin and then re-open it and then turn tracing on. You may have to do this a few times to get it working.
    Once it's tracing then open CR and try the demo data. Then close the report, log off, log onto the real data and do the same with a new report. You'll see a bunch of ODBC API's but there may be one or 2 that don't look right or errors may be logged compared to the DEMODATA.
    Another suggestion is it may not be your PC doing the deleting. Maybe the Server thinks you have infected the data files and it's deleting them. Have a look in anti-virus quarantine logs on the server to see if it's doing the nasty....
    Check the trust between your PC and the server.
    I've also seen this type of odd behaviour with corrupted Profiles. Check with your IT guys on creating a new one for you, it's apain because you loose everything on your work station.
    What happens if you log on from another PC using your account? Does that also delete the files? Or get someone else who it does work for log into your PC, does that work? If so it may be your Profile is either not trusted or it's been corrupted.
    Good luck
    Don

  • Crystal Reports 2008 using Outlook/Exchange data source

    Hi experts !  We are running a BOXI r3.1 FP 3 on dev and prod.
    I recently built a report that uses the Outlook/Exchange data source, where a Sharepoint Calendar is shared to Outlook.
    The report runs fine in CR 2008.  I publish it to the Enterprise, and the report runs fine on-demand or VIEW.  IF I schedule the report it fails with either
    Object failed to run due to an error while processing on the Job Server.
    or
    Error in File ~tmp13bc6e93b8d9690.rpt: Unable to connect: incorrect log on parameters.
    Is there some magic format for the user Id and password for exchange?
    it seems like the job server is not handling the connection correctly.
    Any ideas  or comments would be appreciated.
    Thanks
    Zak

    I'd love to know more how I can query my Outlook Exchange Server, specifically for the keywords "Good News" in the Subject line.
    Any ideas?
    I'm fairly new to Crystal Reports.

  • Crystal Report Many to One Query Config error when using DataSet.ReadXML me

    When I build a dataset with this method numerous relations are automatically created. I then map these fields onto crystal reports with ADO.net data connection. However when I run the report the following error occurs:
    CrystalDecisions.CrystalReports.Engine.InternalException: Cannot determine the queries necessary to get data for this report.Details:
    This query cannot be performed. The link order requires many to one query configuration, which is not supported. Please rearrange the links.
    If I remove the links (relations) i get duplicate data on the report. Is there any way to resolve this or a patch for the error?

    Hello, Mervin;
    Since you are using ADO.NET dataset, is it possible to get all of the fields you need in one SQL Query outside of Crystal Reports?
    If that is possible, you can use that dataset to create an XML or XSD file to use as the structure for your report.
    VB
    'Using the full path to the .xml file, include the schema
    dataSet.WriteXml("C:\temp\test.xml", XmlWriteMode.WriteSchema)
    or
    dataSet.WriteXmlSchema("c:\temp\testXML.xsd")
    Now create a new report with the ADO.NET(XML) connection and point to either the XML or XSD you created. XML is useful because you can view data in the report designer for final formatting of the report.
    Now there is only one datasource and no linking is required in Crystal Reports. That should resolve the one to many issue.
    Another useful tool is to group on the many and place all the fields normally in the detail section into that group header. Suppress the Detail and Group footer sections. The Group Header will now look like a Detail section and each distinct value will only appear once. You can group on one field or a combination (using a formula field) to get the results you need. Test this to be sure you do not miss anything you want to see.
    Elaine

  • Creating a Crystal Report from a non-SAP data base

    I have the following scenario
    server1\myDataBase
    server1\SAP\sapDataBases
    in sapDataBases I have about 30 company databases. I am trying to create a report, that gets informatino from a table/view/SP from server1\myDataBase, when I try to PREVIEW or SAVE such report on SAP Business One, I always get errors as
    I understand that this eerror means taht I can't invoke the data from out of SAP; it needs to be inside SAP (at least the SP, incoking some other data bases and stuff..)
    Some bodies have told me that it is beacuase I can only create a report from a table/view/sp that resides in the running/currently SAP company database. Is this right?
    Also, If this is the case, this means that If I have an SP taht I use for a crystal report, and 30 companies, I have to create such SP in the 30 companies?
    This is my software details:
    SQL Server 2012
    SAP Business One 9 PL 11
    SAP BusinessObjects Crystal Reports 2013 Support Pack 2 version 14.1.2.1121
    What I want to do is to create a non-SAP data base to create all the SPs/Views for reports, to centralize it, and the just create one reporte and do the 30-imports in each company database, without the need of creating such sps/views in each company-database. Is this possible?
    Thanks

    Moved to Integration Kit forum.
    The people in this forum will know more about the data structure than the CR Design forum which typically doesn't know much about the SAP Data sources Structure.
    Don

  • Date data from Crystal Report one day less than Date from Source

    Hi,
    I am creating a Crystal Report 4.0 for Enterprise Users (Client Version only) based on a BEx query. I have a field called 'Date' that I am bringing over from the BEx query. It has a format of MM/DD/YYYY. When I view the 'Date' in Crystal Reports, it is displaying as 1 day less from the actual data. For example, in the BEx Query, 'Date' = 11/01/2011.  In Crystal Reports, it is showing up as 10/31/2011, which is one day behind.  I'm not sure what's going on.
    Please help!

    Well, this is as weird as it gets!
    Here are the observations on SP02:
    1) The Date Characteristic is a day off in the report while the 'Key' shows correct date
    2) It displays in the '30.01.2011' (DD.MM.YYYY)format
    3) When you right-click this field to change the date format, the date option is missing
    4) You create a formula to see if this is a date and it returns True. The formula you can try is :
    isdate(). It returns False for any other function like isnumeric() etc
    5) So, this is a date filed, or CR4E thinks this is a date field, however doesn't let us change the format
    6) You cannot use this field with date functions like cdate(); weird!
    7) The only way you can show it the way you want is to write this formula:
    *mid(,4,2)&"/"&left(,2)&"/"&Right(,4)*
    This is still a string field, however displays as MM/DD/YYYY.
    In Crystal Reports 2011, however, the following formula on the same date field returns a date value, meaning you can further right-click this formula field to change the date format like a normal date field:
    cdate(tonumber(Right(,4)),tonumber(mid(,4,2)),tonumber(left(,2)))*
    The same formula, however, throws a 'String is non-numeric error in CR4E and I found that it doesn't like this:
    *tonumber(Right(,4)) ; same error
    I've tried a lot of combinations to make this a date field in CR4E, however none works!
    So, the only option is to use the formula that I mentioned above.
    P.S: If you install Patch 2.10, you'll notice that the Characteristic value shows the correct date. For some reason though, it is in the same format as the 'Key' and if we wish to change the date format, the only possible workaround is to extract the numbers and join like I suggested above.
    Hope this helps!
    -Abhilash

  • Crystal report group by intervals on date field

    I have a table which contains euipment related defects arranged on Date_Raised field. I have to grouped the records based on date_raised field and certain intervals like if date_riased field is < certifciate_complication_date, if date_raised falles between certficate_complication_date and final_certificate_date.
    certificate_completion_date and final_completion_date field are parameters which are fetch from another table & pass onto report.
    my problem is , crystal report in VS 2003 doesn't allows to enter parameters in specified group when you select this option. you have to enter fixed values.
    Does anybody knows how to get around this, any quick help will be highly appreciable.
    I have to do this in VS 2003 only.
    Thanks,
    Sunil

    That version of CR is version 9 which does not have Dynamic Cascading Parameters. One option is to upgrade or possibly post your question to the Report Design forum and indicate you are using CR 9 functionality.
    Other option is to use 2 Parameters with a start/end date prompt.

  • Crystal Report 7 with Access 97 giving Error - 20536

    Our client is getting an error at his  machine.
    Application is in VB 6.0 with Access 97 as database and while generating reports,it gives error "Runtime Error 20536 Unable to Connect: Incorrect Log On Parameters" .Report version is Crystal Report 7.
    Also client has Win XP sp3 OS.
    This error was not reproducible at our machines which has the same OS.
    Please if anyone could help in this regard ,that will be really great.

    Hello Prachi,
    Crystal Reports 7 reached End of Life for patch support in August, 2002. CR7 was released in 1998 - long before the XP operating system was released. Back then Crystal Decisions rarely went back and added OS support for the older versions of Crystal Reports. There weren't major changes to Windows until Vista/Win7, so that's probably why it's working on your machine.
    The KB article links that don't work can be found with manual searching. You can go to [http://service.sap.com/support|http://service.sap.com/support], click on the Help & Support link, and then click on the SAP xSearch link. Use the "C-number" listed in the document in the Search For field and click on Go. The KBA that corresponds to that particular "C-number" will have that "C-number" in the Keyword section of the article. Other articles may reference that "C-number" so your search may return more than one result. It is unlikely that the document with the links will be updated due to its age.
    You can use a utility called Modules to see if you can find any DLL differences between the working and non-working machine. You can download it from SAP at this link: [https://smpdl.sap-ag.de/sapidp/012002523100006252802008E/modules.zip|https://smpdl.sap-ag.de/sapidp/012002523100006252802008E/modules.zip]. There are instruction in the ZIP archive. Run the utility on the non-working machine and the working machine. Save the two results and then compare them and address any differences.
    I'm rusty on database connectivity issues so perhaps Ludek or someone else can throw in some additional suggestions related to OLE DB connectivity.
    Sincerely,
    Dan Kelleher

  • Crystal Reports 2008 viewer, print function, Comunication error

    I installed cr2008 on a web server and isntalled sp0
    if I bring up a reprot in smartviewer from a client it works and I can print
    once I installed sp1, sp2 and or sp3 for crystal reports 2008 the print button in crystal reports viewer gives an error when I click the print button.
    If I remove and re-isntall cr2008 and just installed sp0 the print button works again
    Is there a fix to make the print button work in crystal reports smart viewer once sp1 or above have been installed
    thank you
    ted

    Translating the error message on bablefish I get:
    Mistake with the store of the data bank information. Mistake in the file Report {C6512421-348A-4621-B1ED-895D28646A0A} .rpt
    Which I'm sure is not 100% accurate, but it gives a good hint. As well, because of this:
    "Do I need to install an additional / diffrent runtime than 2008 Runtime"
    I wonder how you installed the CR 12 runtime on that computer? For more info on CR runtimes, see [this|https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsforVisualStudio.NETRuntimeDistribution-Versions9.1to12.0] wiki.
    If my suggestion above does not help, make sure the Win\temp directory can be accessed buy the application. Crystal Reports runtime needs to write and read files from the temp directory.
    Ludek

  • Crystal Reports Server :Unable to connect: incorrect log on parameters

    Hi there, I am getting the following error in Crystal Reports Server  when i try to preview or schedule a Crystal Report on an Access 2000 database.
    Unable to connect: incorrect log on parameters
    The Access database does not have has not username or password and I have left these blank when publishing it, and the Database properties in the Central Management Console also show the username and password as blank.
    All other reports are fine is it just reports on the Access 2000 database that give me this errror.
    Anyone any ideas.
    Thanks

    Hi,
    ok now you have to make ure that the user used to run the BOBJ services on your BO server (if you hvae windows then this is the local system account), has access to your AccessDB. Normally local users do not have access to network locations so it is advisable to create a domain user, who is allowed to access the directory with your database and is melber of the local administrators group on the BOBJ server. All you have to do then is to  configure your BOBJ services (Use the Central Configuration Management utility to do this) to run under the credentials (Log-on-as) of user you created.
    Regards,
    Stratos

  • Crystal Reports Viewer seems to have data - but it is not showing

    I am developing on a Windows 7 box and publishing a VS2010 web application to a Windows 2008 server.
    On the server I have installed CRforVS_redist_install_64bit_13_0
    Reports are stored in a folder on that server.
    When I run the application on my local machine the report displays okay via the Crystal Reports Viewer on a .aspx page.
    When I run the application on the server, if I view the source of the page that contains the Crystal Report Viewer - it seems to have fetched the report okay. But it is not showing on the screen. I was thinking this might be because it can't find the 'style.css' file but on both the development machine and server all the various folders and files in and under crystalreportviews13 are present in aspnet_client/system_web/4_0_30319/
    When I view the source of the pages that display the report - they seem to be identical both when viewed on my development box and when accessing the app directily on the server. But, on the .aspx page displayed by the server, the page is blank in the browser. Yet, as I say, when you view source all the data is there.
    What am I doing wrong? Thanks for any help.
    Edit: In both cases if you View Source the page is showing this:
    <link rel="stylesheet" type="text/css" href="../aspnet_client/system_web/4_0_30319/crystalreportviewers13/js/crviewer/images/style.css" />
    On my development box this makes sense. The web site in question is below 'Default Web Site' - i.e. it is at the same level in the folder hierearchy as the aspnet_client folder.
    But on the server, the site is a subweb below a web site that is level with Default Web Site. So I figure the files are not being found. How can you tell the Crystal Reports Viewer that the files it wants (like style.css) are not where it thinks they are going to be?
    So the app is looking for a file at the same level.
    But on the server there
    Edited by: Steve Rowson on Jun 1, 2011 5:31 PM

    Post to the SDK forum

  • Crystal report reverts back to saved data after drill down

    Hi,
        I've created a crystal report and published it to BOE. Whenever I open the report and refresh it, it fetches recent data without any problem. But when I drill down in the report, it shows the saved data instead of showing the recent data in the drill down. If I come back to original report from that drill down again it reverts back to saved data. Again I've to refresh the report to view the recent data.
    Any idea how can I fix this?
    Regards,
    Sanjay

    Hi Sanjay,
    Please do post this question in the BusinessObjects Enterprise thread BI Platform
    The peoplt there would be the best people to answer your query.
    Hope this helps.
    Regards,
    Jay.

  • "Unable to load data" error after Windows update

    Hi all,
    I've been maintaining a LightSwitch desktop app for a couple of years now.  The app runs on a server and several client machines access it.  Sometime in the last few months, any client that has Windows Update enabled has failed to load data.  Instead
    it shows red crosses where the data should be and the tooltip, "Unable to load data. Please check your connection and try loading again."
    Other clients that don't have updates enabled are fine.  Has anyone else run into this issue?  Does anyone know how to resolve it?
    Thanks,
    Liam

    Hi Angie,
    Thanks for your reply.  I've enabled diagnostics as described.  Here's what I find.
    When I load my LightSwitch screen, I get the following entry highlighted red in Fiddler:
    GET http://127.0.0.1:6853/callback.json?_=1377245349573
    502 Fiddler - Connection Failed (text/html)
    GET http://127.0.0.1:6853/callback.json?_=1377245349573 HTTP/1.1
    Host: 127.0.0.1:6853
    Proxy-Connection: keep-alive
    Accept: application/json, text/javascript, */*; q=0.01
    User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.57 Safari/537.36
    Accept-Encoding: gzip,deflate,sdch
    Accept-Language: en-GB,en;q=0.8
    HTTP/1.1 502 Fiddler - Connection Failed
    Date: Fri, 23 Aug 2013 08:09:10 GMT
    Content-Type: text/html; charset=UTF-8
    Connection: close
    Timestamp: 09:09:10.584
    [Fiddler] The socket connection to 127.0.0.1 failed. <br />ErrorCode: 10061. <br />No connection could be made because the target machine actively refused it 127.0.0.1:6853
    After that, I see a long list of each of the queries LightSwitch is calling for all the elements on the screen.  Each one contains the following error:
    HTTP/1.1 200 OK
    Cache-Control: no-cache
    Pragma: no-cache
    Content-Length: 747
    Content-Type: application/msbin1
    Expires: -1
    Server: Microsoft-IIS/7.5
    X-AspNet-Version: 4.0.30319
    X-Powered-By: ASP.NET
    Date: Fri, 23 Aug 2013 08:10:38 GMT
    @Fault5http://schemas.microsoft.com/ws/2005/05/envelope/none@Code@Value�Sender@Reason@Textxmllang�en-GB��<?xml version="1.0" encoding="utf-16"?><ExceptionInfo><Message>User does not have access to the invoked operation. Your session may have timed out. Please restart the application. Operation name: 'HSEComments_All'.</Message></ExceptionInfo>@Detail@DomainServiceFaultDomainServices i)http://www.w3.org/2001/XMLSchema-instance@ ErrorCode�@ErrorMessage��<?xml version="1.0" encoding="utf-16"?><ExceptionInfo><Message>User does not have access to the invoked operation. Your session may have timed out. Please restart the application. Operation name: 'HSEComments_All'.</Message></ExceptionInfo>@IsDomainException�
    Can you help in interpreting these?
    Thanks,
    Liam

Maybe you are looking for

  • Output of alv grid

    hi all, there is a very typicall requirement to be achieved in ALV grid display. i need to display the subtotal of a field for  which line item should not be shown. In this case "Number of Purchase orders" should not have any line itme but it should

  • The "open with" dialog doesn't drop down associated applications

    Although I have correctly associated applications to handle specific file types in FF4.0 I am always asked to choose an application in the open/save dialog. Is there any way I can set some sort of drop-down list showing the associated applications fo

  • Cant connect pc

    Keep getting connection problem

  • In Apple Color Picker, need to sort custom list

    I just created a custom color list in Apple's Color Picker which is not sorted and I want it to be. FYI: the Apple Color Picker opens in many applications for choosing what color something should be. For example, in TextEdit use menu Format > Font >

  • I am making a ticker and need help.

    I am making a ticker in which the words move and I want them to stop all the words and it is stressed on the one that this position the pointer of the mouse. That makes it is to make a "while" that contains "addMouseMotionListener" for each word, it