Error:Failed to retrieve data from database [Vendor Code:3001]

Hello FOlks am trying to run a crystal report but when i try to run it somehow returns this error i.e [Error:Failed to retrieve data from database [Vendor Code:3001], I have no clue wats happening with this.Can anybody please throw some light on this.Am providing the sql behind this report for reference.
SELECT "CLIENT"."CLIENT_NAME",
        "RECOVERY"."AMOUNT",
        "RECOVERY"."RECOVERY_TRANSACTION_INTERNAL",
        "RECOVERY"."ALLOCATION_CHECK_AMOUNT",
        "RECOVERY"."RECOVERY_DATE"
   FROM "HRI1_OWNER"."CLIENT""CLIENT",
        "HRI1_OWNER"."EVENT_CASE""EVENT_CASE",
        "HRI1_OWNER"."SETTLEMENT""SETTLEMENT",
        "HRI1_OWNER"."RECOVERY""RECOVERY"
  WHERE "CLIENT"."CLIENT_ID" = "EVENT_CASE"."CLIENT_ID"
    AND "EVENT_CASE"."EVENT_CASE_ID" = "SETTLEMENT"."EVENT_CASE_ID"
    AND "SETTLEMENT"."SETTLEMENT_ID" = "RECOVERY"."SETTLEMENT_ID"
    AND "CLIENT"."CLIENT_CODE" <> 'CLIENT  1'
    AND "CLIENT"."MAJOR_CLIENT_ID" in
        (Select major_client_id
           from major_client
          where major_client_code in ('LA', 'PFG'))
  ORDER BY "CLIENT"."CLIENT_NAME"Edited by: user11961230 on Nov 12, 2009 6:57 AM

@oradba:Hi Thanks for getting bak. Well i have ran the query using PL/SQL Developer tool and yes its mapping to ORA-03001:unimplemented feature. i dont know what the problem is.
@centinul: well i dont have any views in there.but still cudnt figure out why its throwing tht error
Thanks
Edited by: user11961230 on Nov 12, 2009 7:12 AM

Similar Messages

  • Report error "Failed to retrieve data from the database."

    Post Author: tknorst
    CA Forum: .NET
    I have an application using CR XI R2, and on certain users computers when they try to run a report they get the following error:
    Failed to retrieve data from the database.Details: &#91;Database Vendor Code: 229&#93;Failed to retrieve data from the database.Error in File C:\DOCUME1\turkj\LOCALS1\Temp\WhseEmpJobAndActivityByUserAndDate {22DA2F53-4391-4307-9F2A-0E3C3EBE2198A}.rpt
    The report uses SQLOLEDB (ADO) and integrated authentication - it runs fine on the development machine.
    I found very little info on this error on the web (google) - so I hope someone here has an idea.

    You need to make sure that those systems can get conneted to the database that is supposed to return data. To check that create a udl in clients machine.
    Also do not change the schema of he report.

  • Failed to retrieve data from database?

    I am a new user
    When I try to Preview a document I am prompted to enter in database information.
    I have tried a few times to connect to my server and
    continuously keep getting the same error page
    No matter what I enter in the two fields, this is what pops up.
    "Failed to retrieve data from database"
    " Details: ADO Error Code:0x
    Source: Microsoft OLE DB Provider SQL server
    Description: Invalid object name: ScratchWO.dbo.tblsyslistviewprint'.
    SQL State:42502
    Code:208"
    When the OLE DB(ADO) page opens and asks for a server and a database, what is needed to stop the error from happening
    If anyone has any information that would be great !

    SQL State:42502 means an user authorization error.  Check the user and it's access to the target database.

  • Failed to retrieve data from database - DataDirect Paradox

    Crystal Reports 12.1.0.892
    Windows XP SP3
    DataDirect ODBC Driver for Paradox 5.30.00.23
    Paradox 5 database
    When I run the following query against two tables:
    SELECT `Ticket1a`.`PatronID`, `PHONELIN`.`PhoneNumber`
    FROM   `PHONELIN` `PHONELIN` INNER JOIN `Ticket1a` `Ticket1a` ON `PHONELIN`.`PatronID`=`Ticket1a`.`PatronID`
    I get the following error:
    Failed to retrieve data from the database
    Details: 42000: DataDirect ODBC Paradox driver    Extra characters at end of query:  INNER.  Database VendorCode: 3902
    The SQL tracing log can be found at http://188.grandtheater.org/sql.log
    Can anyone tell me what is going on here and how I can get around it?
    TIA

    I tried the Add Command option and entered the SQL query as follows:
    select ticket1a.patronid, phonelin.phonenumber
    from ticket1a ticket1a inner join phonelin phonelin on ticket1a.patronid=phonelin.patronid
    and still got the same error as before.  Using the following SQL query:
    select ticket1a.patronid, phonelin.phonenumber
    from ticket1a, phonelin
    where ticket1a.patronid = phonelin.patronid
    I was able to get results using the DataDirect driver.
    If I use the Microsoft Paradox driver (which is very slow.  15 minutes to run this query) and use the following SQL query:
    select ticket1a.patronid, phonelin.phonenumber
    from ticket1a ticket1a inner join phonelin phonelin on ticket1a.patronid=phonelin.patronid
    I will not get the error and I will get results.
    Any reasons why the DataDirect driver is producing errors?

  • Failed to retrieve data from the database.DB Vendor Code 156

    Hi,
    We recently migrated our scheduled Crystal Reports from BO XI R2 platform to BO XI 3.1, and are having issues with select reports that pull from the same SQL database.  The tables and fields exist in the database - and I ran the SQL in a different tool and the syntax is correct.  When I try to run an on-demand or schedule one of these reports in 3.1 Infoview I receive the following error:
    Failed to retrieve data from the database. Details: [Database Vendor Code: 156 ]
    Running:
    CR 2008 SP2
    BO XI 3.1 SP2 (FP 2.7)
    Please advise!  Thanks!

    Hi LuAnn,
    Not really clear what he said but I believe this is correct. The BOE servers are typically running under the local System Account. So when it passed the report job from the BOE Server it is the Local System account that the database is getting. We only do single hop for security. Which means if you are logged into InfoView under your local domain account and try to run a report BOE will not, unless specified in the custom database connection options in the CMC, pass your credentials to the DB but will pass the local system account credentials which is likely why these reports are failing.
    As A TEST only Ask your Administrator to set up a user account in MS SQL Server that has rights to run all reports. Or when you create the report check on the option to use Trusted Authentication. Then when the reports are published to BOE your log on credentials should get passed to the DB server through BOE.
    You'll have to more testing to find a Use account that you can run BOE Servers under and still maintain DB security and report level security that works for you. I also suggest you post your security questions to the BOE Administrator forum to get help configuring all of this and what others are doing.
    Thank you
    Don

  • Failed to retrieve data from the database Error

    I had some reports setup in Crystal XI based on a Sql server but recently we had an upgrade, the database has been moved to IBM Informix.
    There is a certain table that seems to be causing the problem.
    The error: 
    "Failed to retrieve data from the database
    Details: 42000:[informix][informix ODBC Driver][informix]A syntax error has occured .[Database Vendor Code:-201]".
    I run the same query in MS Access and it seems to run fine.
    I even tried to do a simple dump of the table onto Crystal but no luck.
    Any help is appreciated.
    Thanks!
    Achett13

    Hi,
    It seems your ODBC Driver is not compatible, try to download a driver which supports Informix through CR XI.  I think you may have to download Data Direct Drivers 5.1 version to access Informix data tables through CR XI.
    You can google it for Data Direct Drivers 5.1
    Thanks,
    Sastry

  • Failed to retrieve data from the database. Details: [Database Vendor .....

    Hello,
    I hope that is the right forum for this issue.
    We have the application 'Lodestar' for some years.
    The frond-end is ASP and the database is Oracle 9. Lodestar has its own backend language "Rules language". The crystal version is 10
    Now we have a new version of Lodestar with ASP and ASP.NET, Oracle 11g and Crystal 11.
    But when we run some reports with the new version we get the error "Failed to retrieve data from the database. Details: [Database Vendor Code: 1652 ] Failed to retrieve data from the database." When I google on this error then it seems that it has something todo with tablespace.
    We have changed the tablespace volume from 32Gb to 100Gb, but we still get this error.
    Has anybody an idea what the cause could be?
    Error
    <REPORT_ERROR>
    <REPORT_NAME>G_GV_DEALLIST</REPORT_NAME>
    <REPORT_TYPE>CRYSTAL</REPORT_TYPE>
    <MESSAGE>Failed to retrieve data from the database. Details: [Database Vendor Code: 1652 ] Failed to retrieve data from the database. Error in File G_GV_DEALLIST{54DEAA95-37B9-495B-B7E8-76BC575FA75F} {A3D1B090-322B-47D3-A84F-F003FF482C48}.rpt: Failed to retrieve data from the database. Details: [Database Vendor Code: 1652 ]</MESSAGE>
    <STACK_TRACE>at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e) at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext) at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options) at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportFormatType formatType) at Lodestar.crComGen.crCrystalNet.crAppNet.crGenerateReport(String connectstr, String qualifier, String guid, String altconn, String login, String url, StreamWriter sw)</STACK_TRACE>
    </REPORT_ERROR>
    Thanks in advance.
    With regards,
    Nico

    Thanks all for you're reaction.
    Oke we have changed the temp space from 30 Gigs --> 200 Gigs, but still the problem occurs. To make the temp tablespace is not the good direction, this is what the dba'er told me.
    I'm not a guru with SQL/Oracle, but what for me hard to understand is" why does it work with the old version and not with the new version anymore?
    It is a very difficult view with unions (I'm not the developer of this view), and I think I'm gonna try to break-down this view in different small parts and try to find where it goes wrong. I don't see any other way to investigate this problem.
    (I see now the reaction of upul indika.)
    Edited by: user12054070 on 24-feb-2012 0:27

  • Failed to retrieve data from the database error message

    Hello,
    I have a fairly simple report that correctly retrieves the data from the database providing that there are no selection formula.
    However, as soon as I add the record selection formula:
    {fireService.serviceDate} >= DateTime (2009, 10, 3, 0 ,0 ,0)
    I get the following errors:
    Failed to retrieve data from the database
    Cannot determine the queries necessary to get data for this report. Details: An invalid range operator has been encountered.
    However, when I use the Database / Show SQL Query option and copy the query directly into the sql query analyser it works perfectly.
    Any ideas?

    I am using a table to select the records from.
    In fact it is a series of joined tables.
    The SQL Query generated is:
    SELECT "fire"."unitNumber", "configLocation"."location", "configFireEquipmentType"."type", "configFireEquipmentSize"."size", "configFireEquipmentRating"."rating", "fire"."yearManufactured", "fire"."LPT", "configFireServiceLevel"."Level", "configTest"."test", "fireService"."serviceRepairs", "customer"."name", "customer"."customerGUID", "customer"."address1", "customer"."address2", "fireService"."serviceDate", "fireService"."comment"
    FROM   (((((((("SAFE2"."dbo"."fire" "fire" INNER JOIN "SAFE2"."dbo"."customer" "customer" ON "fire"."customerGUID"="customer"."customerGUID") INNER JOIN "SAFE2"."dbo"."fireService" "fireService" ON "fire"."fireGUID"="fireService"."fireGUID") LEFT OUTER JOIN "SAFE2"."dbo"."configLocation" "configLocation" ON "fire"."locationGUID"="configLocation"."locationGUID") INNER JOIN "SAFE2"."dbo"."fireEquipment" "fireEquipment" ON "fire"."fireEquipmentGUID"="fireEquipment"."fireEquipmentGUID") LEFT OUTER JOIN "SAFE2"."dbo"."configFireEquipmentRating" "configFireEquipmentRating" ON "fireEquipment"."ratingGUID"="configFireEquipmentRating"."fireEquipmentRatingGUID") LEFT OUTER JOIN "SAFE2"."dbo"."configFireEquipmentSize" "configFireEquipmentSize" ON "fireEquipment"."sizeGUID"="configFireEquipmentSize"."fireEquipmentSizeGUID") LEFT OUTER JOIN "SAFE2"."dbo"."configFireEquipmentType" "configFireEquipmentType" ON "fireEquipment"."typeGUID"="configFireEquipmentType"."fireEquipmentTypeGUID") LEFT OUTER JOIN "SAFE2"."dbo"."configFireServiceLevel" "configFireServiceLevel" ON "fireService"."serviceLevelID"="configFireServiceLevel"."levelID") LEFT OUTER JOIN "SAFE2"."dbo"."configTest" "configTest" ON "fireService"."testID"="configTest"."testID"
    WHERE  "fireService"."serviceDate">={ts '2009-10-03 00:00:00'}
    ORDER BY "customer"."name", "customer"."customerGUID"
    It looks complext but is not.  Most of these joins reference lookup tables.

  • Crystal Reports - Failed to retrieve data from the database

    Hi There,
    I'm hoping that somebody can help me.
    I've developed a crystal report from a stored procedure which I wrote. I can execute the stored procedure within SQL Server and within the Crystal Reports designer without any errors. Furthermore, I have imported the report into sap and can run it within SAP from the server without any errors. SAP version 8.81 PL5
    The issue is that when it's run from a client machine, I get the following error: "Failed to retrieve data from the database. Details: Database Vendor Code: 156. Error in the File RCR10010 {tempfile location}
    Here's a list of things which I have tried, all to no avail:
    - Checked user permissions to ensure that they have proper authorizations
    - Re-set the datasource connection and re-imported the report to SAP.
    - Exported the report and reviewed the datasource connection and re-imported to SAP.
    - Tried to run the report on multiple machines to ensure that it's not machine specific
    - Tried to run the report using different users to ensure it's not user specific.
    - Tested other reports built from stored procedures on client machines to ensure that they work.
    Any assistance in this would be GREATLY appreciated.
    Thank you

    After further testing, we found that the report could be run within SAP on any work station which had the CR designer installed on it.
    As it turns out, the procedure which I wrote has temp tables in it.  The runtimes built into the SAP client install do not support creating temp tables when executing the report from within SAP.  Which is why the report could not retreive data.
    To work around this, I installed external runtimes which were the same version of the Crystal Report and now the report can be run within SAP from any workstation which has the external runtimes (and not just the runtimes within the SAP client).
    I hope this makes sense.

  • Crstal Reports: "Failed to retrieve data from the database"

    Running a report in crystal report from SAP 8.81 using the following parameters: CardCode, GroupCode, Date gives the following error: "Failed to retrieve data from the database" "Conversion failed when to converting the nvarchar value to data type int 12/31/2005 [Database vendor code: 245] ".
    The store procedure in SQL Server executes smoothly and  If you run the report with the date = 12/31/2005 in the parameter also returns expected results.
    Thanks.

    Hello,
    Is this in Business One? If so CR is an OEM build and that forum/product supports that version.
    Please post your question to: http://forums.sdn.sap.com/index.jspa#44
    It could simply be you need to use a formula to convert the field. Click on the Formula Editor and the hit the F1 key and search on "date". Lots of info on how to convert todate and from date tostring...
    Thank you
    Don

  • MS Access - Failed to retrieve data from the database

    Hello,
    I've developed a quite complex report (CR XI) from a SQL Server 2005 database. The report contains a number of inner and outer joins and a subreport.
    I have a duplicate copy of the database held in MS Access. If I attempt to change the datasource location to the MS Access database, I'm unable to run the report and get the following error:
    Failed to retrieve data from the database.
    Details: ADO Error Code: 0x80040e14
    Source: Microsoft JET Database Engine
    Description: Join expression not supported.
    SQL State: 3000
    Native Error: -540806602 (Database Vendor Code: -540806602)
    By changing every outer join to an inner, the report pulls in data but obviously not what is required. It seems as though it doesn't like the outer joins.......
    Would this be in some way due to limitations with the JET database engine?
    Thanks in advance,
    Dom

    Hi Aditya joshi,
    Thanks for the reply.
    Unfortunately my query doesn't contain any FULL OUTER joins, just INNER and LEFT OUTER's.
    I've enclosed a parred down version of the SQL:
    SELECT numerous fields
    FROM   (`AAL` `AAL`
              INNER JOIN
              ((((((`CQ` `CQ`
              LEFT OUTER JOIN (((`SH` `SH`
              INNER JOIN ((`PA` `PA`
              INNER JOIN `AL` `AL`
         ON `PA`.`ProjectUPRN`=`AL`.`ProjectUPRN`)
              INNER JOIN `CA` `CA`
         ON `PA`.`ArchetypeID`=`CA`.`ArchetypeCode`)
         ON `SH`.`ProjectUPRN`=`AL`.`ProjectUPRN`)
              INNER JOIN `SD` `SD`
         ON `SH`.`SurveyID`=`SD`.`SurveyID`)
              INNER JOIN `F` `F`
         ON `SH`.`FormID`=`F`.`FormID`)
         ON `CQ`.`QuestionID`=`SD`.`QuestionID`)
              LEFT OUTER JOIN `PC` `PC`
         ON (`CQ`.`QuestionID`=`PC`.`QuestionID`)
              AND (`AL`.`ProjectUPRN`=`PC`.`ProjectUPRN`))
              INNER JOIN `FI` `FI`
         ON (`CQ`.`QuestionID`=`FI`.`QuestionID`)
              AND (`F`.`FormID`=`FI`.`FormID`))
              LEFT OUTER JOIN `QG` `QG`
         ON `CQ`.`QuestionID`=`QG`.`QuestionID`)
              LEFT OUTER JOIN `CQG` `CQG`
         ON `QG`.`QuestionGroupID`=`CQG`.`QuestionGroupID`)
              LEFT OUTER JOIN (`E` `E`
              INNER JOIN `SDE` `SDE`
         ON `E`.`ElementID`=`SDE`.`ElementID`)
         ON `SD`.`SurveyDataID`=`SDE`.`SurveyDataID`)
         ON `AAL`.`ProjectUPRN`=`AL`.`ProjectUPRN`)
              INNER JOIN `A` `A`
         ON `AAL`.`AreaID`=`A`.`AreaID`
    Can you see where the problem lies?
    Many thanks,
    Dom

  • Dynamic parameter - Failed to retrieve data from the database

    I'm running  a report with dynamic parameters and this report ran successfully for 2 days . For no apparent reason they stopped and the error message was received.  There was no interference from head office soI'm at a loss to explain why the viewer / reports suddenly stopped working.
    Now  I get the following message:
    Prompting failed with the following error message:
    'List of values failure: fail to get values. Cause of error: Failed to retrieve data from the database. Error in file UNKNOWN.RPT: Failed to retrieve data from the database.'
    Error source: prompt.dll Error code: 0x8004380D
    The report is running on a Oracle database using CR-Viewer XI Product version 12.01.1.r228_v20071114
    I know there is a problem with dynamic parameters and citrix, but this is not run on citrix.
    Please help anypne
    Edited by: tstegen on Sep 30, 2009 2:48 PM

    Is this report based or Enterprise based LOV?
    If you have report published to BOEnterprise, then it automatically creates a chain of objects for any dynamic parameter:
    Data Connection,
    Data Foundation,
    Business View,
    Business Element
    and LOV.
    Each of this objects have configurations like users rights, permissions and some have logon configuration. Failing any of those elements may cause LOV to fail.
    One of the tests you may try is to test relevant Business View by connecting Crystal reports to it.
    Are you familiar with Business View Manager?

  • Failed to retrieve data from the database. Details: [Database Vendor Code: 997 ]

    Post Author: aya
    CA Forum: Crystal Reports
    Hi I am getting following problem while launching Crystal Report
    Failed to retrieve data from the database. Details: &#91;Database Vendor Code: 997 &#93; Failed to retrieve data from the database. Details: &#91;Database Vendor Code: 997 &#93;
    The database is Oracle.
    Thanks

    Post Author: pvierheilig
    CA Forum: Crystal Reports
    Have you been able to resolve this yet?  I don't have any reference to Oracle error codes but would suspect a quick Google of something like 'Oracle error code 997' should result in good information, since it is an Oracle error...
    Hope this helps.

  • Failed to retrieve data from the database. [Database Vendor Code: 116]

    My report is using Java Bean class as datasource and the Java Bean class calls a report-specific Java program to return a result set.
    Report fails to generate and the error message is
    Failed to retrieve data from the database. Details:  [Database Vendor Code: 116 ]
    Can anyone tell me what error code 116 means?
    Thanks.

    The problem is solved internally. Our team implemented a result set data structure that incorrectly converts a Double into a String before passing it to Crystal Report for rendering. Data Vendor Code I met yesterday was the outcome of illegal class conversion.
    I have a side question;  our development team would like to use log4j to log method calls invoked during rendering. Our problem could be solved earlier if we knew getString() was invoked instead of getDouble() during rendering.  We thought of specifying the full path of log4j jar file in CRConfig.xml but we don't know how to configure CR to write logging information into a specific file location.
    Please help.
    Thanks

  • Failed to retrieve data from the database Database Vendor Code: 2812

    Hi everyone
    Im using Sap Business One Version 2007A SP00 PL49, SQL 2005 and Crystal Reports Basic for Sap Business One (Add on 2.0.0.7). Whenever i try to generate a report from SBO the system displays the following message "Failed to retrieve data from the database DETAILS: [Database Vendor Code: 2812]"
    The scenario is that, according to the Colombia's product local expert, Is not possible to create Stored Procedures, Views, Functions or anything in the customer productive database, in order to improve the performance of the query i created other DB where i created an stored procedure, after that, i called it from Crystal where it's working ok. But when i try to generate it from SBO it show the message promted.
    Someone knows what could be happening
    I'll be thankful

    Hi Cesar,
    Please post your question to the Business One forum.
    I can't move this thread.
    Thank you
    Don

Maybe you are looking for