Active directory report getting Database Vendor Code: -2147217911

Hello,
I've created a report with CR 2008 to query some user names from Active Directory  (Windows 2008 R2)
The report works fine on my computer (with my user)
works fine when I deploy it to BO XI 3.1.
But doesn't work when I schedule it.
I don't change the database logon user when scheduling. (it's the same when I run it online successfully)
I get the following error
Error in File ~tmp459c68e0c50eda0.rpt: Failed to retrieve data from the database. Details: [Database Vendor Code: -2147217911 ]
what can I do?
Thank you
Erman Ulusoy
Edited by: erman ulusoy on Apr 11, 2011 2:39 PM

So here is the answer,
I've forgot to uncheck save data with report. So the report was not working also on BO.
So with a domain user it has worked.
thank you

Similar Messages

  • Remedy v7 report error - Database Vendor code: 9055

    Post Author: worldfamous
    CA Forum: Data Connectivity and SQL
    Everyone,
    I am trying to run a report against our Remedy application using their ARDBC connection.  I get the following error:
    Database Connector Error: 'S000:[AR System ODBC Driver]Error:ARGetListEntryWithFields - Field ID is not related to this form [Database Vendor Code: 9055]'
    I know this is probably on the Remedy side of things but I thought I would try.

    Hi Kittu
    Check the following:
    1. If you have created the report using the same SQL server,  check if there have been any changes made to the database.click on Database menu -> Verify database.
    2. If you have created the report using any other SQL server databse, have you updated the report for the new database?
    3. Alos check the parameters(if you have any).
    4.Check the connectivity of the subreports.
    Hope it helps!!!!
    Regards
    Sourashree

  • Scheudle report error :[Database Vendor Code: 242 ]

    Dear all,
    I have set the schedule crystal reports in the BOE.report sometime will have error."Error in File ~tmp13ac634337c3e60.rpt: Failed to retrieve data from the database. Details: [Database Vendor Code: 242 ] "
    Would anybody tell me what porblem is going on and How to solve this issue.
    Regards

    search using Bing with this: "vendor code 242 :msdn" ( filters on microsoft MSDN site only )
    Again, it's Not a Crystal error code, we are just passing it through. You'll have to work with your DBA or your user for more info on what they are doing when they get the error.
    Thank you
    Don

  • Crystal Report Dynamic connection issue ORA-04043 Database Vendor Code 4043

    HI All,
    Ii am getting dynamic connection issue with Crystal Report 2008 and Business View Manager, i have Oracle database,
    i have done following steps
    1 Creating Dynamic Connection (including two connection XDC & YDC)
    2. Creating Data Foundation (Common object available in both connection ie. stored procedure)
    3. Creating Business View (with selected number of elements in business element, like firsta name, lastname)
    I have verified database connectivity from Business view manager, both the connection are working fine bringing different number of rows from two different schemas (different schema but same objects in two schemas)
    4. Database connectivity to different database schemas
    5. Connectivity from Crystal Report (done the connectivity from the repository to business view )
    6. Report Connectivity with first schema shows records
    7 Report Connectivity with second schemas shows error
    as follows Failed to retrive data from the database & on clicking of detail i get following error
    Crystal Reports
    Database Connector Error: 'ORA-04043: object HR.EXCEPTION_REPORT_SUB1_PROC [Database Vendor Code: 4043 ]'
    Q first of all i need to know if dynamic connection using business view manager and crystal report technically possible or not, if yes then please let me know the solution, since we did verified with SQL database and ite work with two different database.
    Q if not possible then are there any options to resolve dynamic deployment of crystal report over multiple schemas with crystal report 2008
    Any help or suggestion will be appriciated, hope some one might have got similar issue
    Thanks in advance
    Edited by: smunir on Jul 12, 2011 9:18 AM
    Edited by: smunir on Jul 12, 2011 9:41 AM
    Edited by: smunir on Jul 12, 2011 9:43 AM

    Hi,
    When i use same credentials in Tod or sqlplus it works perfect and gives appropriate results. But when i use same credentials using business view manager, the very first connection works but the second connection does not work
    Please suggest!
    Regards,
    <<smunir>>

  • Database Vendor Code: -20228

    Good day,
    Will keep as short and precise as possible.  Have searched online and on this forum with no success.  Just so we get it out of the way, I'm not a DBA. 
    Problem is:
    Failed to retrieve data from the database.
    Details: HY000:[DataDirect][ODBC Progress OpenEdge Wire Protocol driver][OPENEDGE]Access denied (Authorization failed)(7512)[Database Vendor Code: -20228]
    Our database sits on Progress DB over Linux OS.  Have installed Progress OpenEdge 10.1B driver in System DSN under ODBC on a user's Windows XP workstation and have configured it with <root> credentials from the Linux server.  We are currently trying the Crystal Report 2008 Evaluation. 
    Whenver we open Crystal Report for new blank report or previously created reports and want to access a field in the progress db, it requires LOGON to Progress OpenEdge Wire Protocol Driver.  If I supply root credentials, I'm fine.  But if I supply the user credentials from our database program (QAD), it comes back with the error message above.
    Clearly, it's permissions issue.  I don't want to have to give the user root password, nor do I want to go over and enter in the password each time the user needs to touch the progress db.  I'm guessing  a possible solution would be to create a user account for that invididual under Linux OS and give read/write permissions for the directory and sub-directories/files where the tables are stored.
    But a quicker method I can think of is that root credentials, once entered, stays cached and is utilized for any ODBC transactions.  This appears to be the case with an Microsoft Office Access program we are using for another project.  We have set up System DSN with same Progress OpenEdge 10.1B driver using the same <root> credentials.  It never came back once asking for re-authentication to the Progress DB when using the Access program to touch progress tables.
    I am wondering if there is a way to achieve the same for the Crystal Reports, which is to not have to authenticate each time we touch a table in Progress using Crystal Reports since the System DSN has already been established with proper credentials during the configuration?  Or am I just completely oblivious to how ODBC works with Crystal?
    Thank you very much for any input.
    -Tony

    Hi Tony,
    Crystal Reports will NEVER save the password in the RPT file. This would be a huge security hole, anyone could get one of your reports and hack into your DB.
    Knowing this now you need to provide log on credentials at least once while CR is open. CR will disconnect if it's not in use or doesn't require DB access but it will keep the log on info in memory so when you do hit refresh or need access CR will reconnect. When you close the designer you are logged off obviously and the log on info is lost.
    One option you have once you configure your DB to use NT Authentication is to either add each user to your DB Server and give them read/write permissions, CR needs this if temp tables are required by the DB, is in the Database Wizard you'll see an option to use Trusted Authentication. If your DB supports it each user when opening a report and running it will not be prompted for log info.
    Also note that CR fully supports database security so if that user does not have access to a database or table etc. then the reports will fail to run, as you have discovered if the permissions were not set.
    Hope this helps to explain why.
    Thank you
    Don

  • Failed to open the connection. Details: [Database Vendor Code: 53 ]

    I'm upgrading one of our applications from Visual Studio 2005 to 2010. In the process I'm also switching our reports to run using Stored Procedures instead of Tables/Views.  Everything runs fine on development machines after all the migration work.  On the server however, it does not work. And I am getting the error message ""
    Server is Windows 2003 Server 32 bit.  And yes, I have installed the latest runtimes version 13.0.2000.0 on the server.  There have been no other changes on the server other than to switch the target framework on the website in question from .net 2 to .net 4, and then to modify the web.config file to remove references to the older Crystal Reports and replace with references to the newer version.
    I've seen many other threads on this "failed to open the connection" errors but none of them are my problem except there is one post that remains unanswered where someone had the same Database Vendor Code 53.  I don't know what that error means, spent a considerable amount of time researching that before asking this question.
    Lastly, it appears that this error only happens when the report is pulling data from a Stored Procedure rather than Tables/Views.  If I re-copy the previous reports, they still work.
    The ODBC drivers haven't changed, nor should they. They are fully up to date on that server machine.
    I can't think of anything else that would be indicative of anything other than this is a bug.  Here is the error text as it shows up in the event log:
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 12/7/2011 3:49:50 PM
    Event time (UTC): 12/7/2011 11:49:50 PM
    Event ID: 38ce5b5487984e8aa8d2b84493d859a8
    Event sequence: 17
    Event occurrence: 1
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/739252194/Root-1-129677751941252500
        Trust level: Full
        Application Virtual Path: /
        Application Path: D:\Websites\ACE5\Clients\TST\
        Machine name: ACE1
    Process information:
        Process ID: 5436
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
    Exception information:
        Exception type: InternalException
        Exception message: Failed to open the connection.
    Failed to open the connection.
    Details:  [Database Vendor Code: 53 ]
    Failed to open the connection.
    Details:  [Database Vendor Code: 53 ]
    Failed to open the connection.
    PackSlipTST0 {638463B4-2196-492A-BD6E-9D82CB1862D5}.rpt
       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.ExportToHttpResponse(ExportOptions options, HttpResponse response, Boolean asAttachment, String attachmentName)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportFormatType formatType, HttpResponse response, Boolean asAttachment, String attachmentName)
       at Distribution_PackingSlips_default.ExportPackingSlips(String CrystalReportPath, Boolean UseStoredProcedure)
       at Distribution_PackingSlips_default.Page_Load(Object sender, EventArgs e)
       at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
       at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
       at System.Web.UI.Control.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Failed to open the connection.
    Failed to open the connection.
    Details:  [Database Vendor Code: 53 ]
    Failed to open the connection.
    Details:  [Database Vendor Code: 53 ]
    Failed to open the connection.
    PackSlipTST0 {638463B4-2196-492A-BD6E-9D82CB1862D5}.rpt
       at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)

    Lots of great info here, except for the database; MS SQL? Oracle? Etc?
    Database Vendor Code 53 is an error code that the CR engine simply passes straight from the database it's self. E.g.; look at your database error code and you should be able to find a verbose description of the error.
    As a test, what happens if you add the report to your project and run it in the CR design part of the .NET IDE?
    - A quick google search of Error 53 (for MS SQL - an assumption) comes up with a number of good hits. E.g.;
    http://social.msdn.microsoft.com/Forums/en-AU/sqlgetstarted/thread/27684811-1a59-4273-b7ed-3cc990b4f20a
    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]
    Edited by: Ludek Uher on Dec 8, 2011 6:31 AM

  • Unable to connect: incorrect log on parameters. Database Vendor Code: 18456

    I have imported a report into Info View (that has no parameters), I am able to run the report on Demand in InfoView, and I am also able to run the report within the CMC Preview.   I have tried scheduling using the admin account in CMC, through the publishing wizard and also with a authorized users in InfoView.  But anytime I try to schedule the report I get this error.
    Status: Failed 
    Printer: The instance is not printed. 
    External Destination: Mail the instance to " XXX@XXX .com " with a subject of " test ". 
    Data Refresh Settings:  Use the server defaults. 
    Start Time: 11/18/08 3:02:19 PM 
    End Time: 11/18/08 3:02:23 PM 
    Server Used: clr-combr.reportjobserver 
    Error Message: Error in File C:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\clr-combr.reportjobserver\~tmp1304574d76168ca.rpt: Unable to connect: incorrect log on parameters. Details: [Database Vendor Code: 18456 ] 
    I have made sure that the Reportjobobject is enabled and the server for SMTP email is enabled, and I am pretty sure I have the properties set up correctly within there, we created a email account specifically for crystal.  And that email account is also set up as a user.  I don't know where else to look.
    Please help.
    Thanks

    Hi Ashley
    I would like to suggest you following things with the Report:
    1) Please log in into CMC, go to Report which you want to schedule.
    2) Click on the report and go to Process
    3) Click on the tab Database.
    4) There will be two option to make the entries for database logon required for the Report.
    Please select the appropriate option. Are you able to Preview the report?
    What is the database in use? Please also check the odbc driver settings for that database.

  • 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.

  • Database vendor code: 1422

    Running CR-Viewer IX
    I get the following error after entering parameters in a report (static parameters):
    Failed to retrieve data from the database.
    Details: [Database Vendor Code: 1422]
    Could anyone tell me what vendor code 1422 is??
    Where can I find a list of all Vendor Codes??

    The vendor code is the database error from Oracle

  • Failure to retrieve data from the database (Vendor Code 6550)

    I am having a trouble with two of the 6 reports that I have created. I am using Crystal XI and Oracle 10g. The underlying database object is a stored procedure that accepts as input a start time as a TIMESTAMP, an end time as a TIMESTAMP and a furnace number as a number. I have a cursor ref as a return parameter.
    When I run the stored procedure in Oracle I get the selected records and can view them on the screen.
    When I refresh data on the report in Crystal XI developer, the designer asks me for the start and end time and furnace number. When I input these values the report displays properly.
    When I launch the report from my VB .NET 2005 application I am asked for the username and the password for the database (this is another problem I need to solve as this information I put into the program seems to be ignored in my program) then I receive the following failure message:
    Failure to retrieve data from the database (Vendor Code 6550)
    When I launch the other reports, they only ask me for the username and password then they display the proper data.
    The main difference between my other reports and the two that are returning the above failure code is that the other reports are to either tables or views. The two that don't work are tied to stored procedures. I there any way that I can solve this problem or at least get more information?
    Any help would be greatly appreciated. Let me know if you need any other information.

    I have a similar problem, the only difference is that the crystal report error is only thrown when I try to load the sub reports at my web application. When I deploy my report to the Web application the main report loads up fine but when I try to launch the sub reports from the main report it can no longer load.
    But when I use the Crystal report developer I am able to load the main report and it's associated sub reports without any issues.
    My issue only occurs when I try to load the sub report in the web application. The following sections shows how my reports look like both in my .NET web application and also at the Crystal Report Development IDE.
    Failure: Loading my Reports from .NET Web Application
    1) When I load from the web application I am able to load the main report as per the print screen below.
    2) When I try to click on the hyper links to enter the sub reports I am now able to load them, both sub reports cannot load and will throw the same error "
    Failed to retrieve data from the database. Details: [Database Vendor Code:
    6550 ] Failed to retrieve data from the database. Details: [Database Vendor
    Code: 6550 ] Failed to retrieve data from the database. Error in File OAWR3011A
    {CEC8A94A-4490-4640-95FB-2739A679978B}.rpt: Failed to retrieve data from the
    database. Details: [Database Vendor Code: 6550 ] "
    Success: Loading my Reports from Crystal Report Development Tool
    1) This is my Main Report Loaded from the Crystal Report Development Tool, the first two hyperlinked fields are links to my sub reports, step number 2 and number 3 shows my sub reports when I load it using Crystal Report Developer
    2) Sub Report 1 Loaded Successfully, when I click on the fields in the first link
    3) Sub Report 2 loaded successfully when I click the second field hyper link

  • 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

  • Oracle Database Vendor Code 1427

    HI, I'm not sure if this question should go here or in the Connectivity forum, but from what I can see, it is caused by a report issue.
    I am getting an error stating "Failed to retrieve data from the database. Details: [Database Vendor Code: 1427 ]" I have also seen an error box stating "Single row sub-query returned multiple rows"
    These reports were all working properly, but suddenly stopped and returned this error. Does anyone have any idea what the problem is?
    Sorry for not being able to provide more info, but I am trying to work remotely.
    Thanks,
    Aaron

    I don't use Oracle so I'm not too familiar with the error codes but from the description you provided... It sounds like you have a sub-query in your select list that's returning more than a single record.
    Are you using a SQL Command to pull the data set or have you placed a select query in a SQL Expression field?
    If I'm correct, simply adding a MIN or MAX function to the sub-query (so that it can only return a single row) should do the trick.
    HTH,
    Jason

  • Failed to open the connection - database vendor code 17

    I'm upgrading a VB.net Windows Forms application from 1.1 to 4.0.  In the reporting form, the list of reports you can choose are pulled from a folder where the .rpt files reside.  Once the user chooses a report and executes it, vb code populates the current database connection information and displays the report in the report viewer control.
    The following things are true:
    - Version 1.1 works on my systems and my customers systems
    - The code has not been changed, except that it now targets .Net 4.0 instead of 1.1
    - The exact same .rpt files are being used
    - Version 4.0 connects to the same database my customer is using, and I can run the reports just fine from here.
    - Version 4.0 is able to connect to the database just fine from my customers systems (using the same connection information provided to the report)
    - My customer installed this:  http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_32bit_13_0_2.zip
    The only problem is that my customer encounters this error when trying to run any report from his systems:
    Failed to open the connection.
    Details:  Database Vendor Code: 17
    Failed to open the connection.
    Orders.BOL.TaskDetail {393C9017-0ED1-4E1E-8824-E222F4B9D14C}.rpt
    Details:  Database Vendor Code: 17
    I read all of the articles I could find, and they either don't describe this exact situation, or there is insufficient information for troubleshooting this issue.  Are there steps that I've missed to make Crystal Reports for VS2010 work on my customer's systems?
    Your help is appreciated,
    Mark

    Hi Mark,
    More information required -
    - Does this happen with all reports or few?
    - What is the connection type used for the report to connect to the database (OLEDB,ODBC etc)
    - Are you changing the database at runtime?
    few things you could check
    - Check if the database is accaessible from the client machine with proper permissions / rights.
    - If its an ODBC connection check if the DSN with same name is created on the client machine.
    - Check the driver / provided used by the report to connect to the DB, verify that the same is installed on the client machine. (SQL NAtive client, SQL Server etc)
    Also take a look at below articles discussing the simillar issue.
    [CR for VS2010: Failed to Open Connection [Database Vendor Code: 17 ]|CR for VS2010: Failed to Open Connection [Database Vendor Code: 17 ]]
    [1474461 - Unknown Database Connector Error when connecting to a Dataset in a VS .NET application |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433373334333433363331%7D.do]
    Hope this helps,
    - Bhushan.

  • Failed to open the connection. Details: [Database Vendor Code: 12154].

    I have installed Crystal reports server 2008 VI on a Windows 2008 64bit OS. I have added SQL server and Oracle reports through CMC. I then installed Oracle 10g client 32bit on the server and created and tested the required DSNs using ODBC 32bit. All the testings are successfull.
    Now when I try to run my Oracle report through CMC it prompts for the parameters and when I enter them and click ok, gives me the following error:
    Failed to open the connection. Details: [Database Vendor Code: 12154].
    I have the same exact setup on a different server which has a 32 bit windows 2008 server OS and could run the same reports through CMC.
    Is there away to fix this in the 64 bit OS?
    I did a yahoo search and someone had a similar problem with Crystal RAS and Oracle.
    And there is mentions that this is an issue with 32 bit ODBC drivers on 64bit wondows OS.The parentheses in the default file location, C:\Program Files (x86), causes problems with the ODBC driver and the workarouns in re-installing Crystal RAS on a different folder.
    Full description is at (http://www.tririga.info/)
    Is this the case with Crystal report server 2008 VI? I already got users using the InfoView to run SQL reports and doing this will have to put the application offline atlease for a say.
    Any help is greatly appreciated.

    Vasana,
    Resolution: Failed to Open the Connection.
    First:
    If the Crystal Report is using 32-bit version of Microsoft ODBC then the Window 2008 server must also have 32-bit version of Microsoft ODBC. The 32- bit version of Odbcad32.exe is located in the %systemdrive%\Windows\SysWoW64 folder.
    On the Windows 2008 server, execute Odbcad32.exe by clicking start and run and entering the following: C:\Window\SysWow64\ODBC32.exe.
    Then:
    The Windows 2008 server ODBC Data Source Administrator must have the same System Data Source Server and Database Names that is used to run the Crystal Report.
    e.g. Crystal Report points to server ABC and database EFG (ABC_efg); then the ODBC connections on the Windows 2008 Server must also point to the same server ABC and database EFG (abc_efg) listed.

  • Failed to open the connection.Details: [Database Vendor Code: 17 ]

    We have too many reports designed by Crystal Reports XI Release 2 a time ago reports are old but we are calling them in asp.net 4.0 and connection through ODBC Data Sources (Driver SQL SERVER)
    but when we refresh the report we are facing this issue....
    Failed to open the connection.
    Details: [Database Vendor Code: 17 ] Failed to open the connection.
    AP Outstanding Check Run Detailed Ver 2 {CF3B13A2-F259-4B1D-ACC9-BF78F44D4AA5}.rpt
    Details: [Database Vendor Code: 17 ]
    here is the code to set ReportLoginInfo
    CrystalDecisions.Shared.TableLogOnInfo logonInfo = new CrystalDecisions.Shared.TableLogOnInfo();
                string myTableLocation;
                foreach (CrystalDecisions.CrystalReports.Engine.Table myTable in rptDoc.Database.Tables)
                    myTableLocation = myTable.Name;
                    logonInfo = myTable.LogOnInfo;
                    logonInfo.ConnectionInfo.AllowCustomConnection = true;
                    logonInfo.ConnectionInfo.ServerName = ServerName; // dnsname
                    logonInfo.ConnectionInfo.DatabaseName = DatabaseName;
                    if (!(string.IsNullOrEmpty(UserID) || string.IsNullOrEmpty(Password)))
                        logonInfo.ConnectionInfo.UserID = UserID;
                        logonInfo.ConnectionInfo.Password = Password;
                        logonInfo.ConnectionInfo.IntegratedSecurity = false;
                    logonInfo.ConnectionInfo.Type = CrystalDecisions.Shared.ConnectionInfoType.SQL;
                    myTable.ApplyLogOnInfo(logonInfo);
                    myTable.Location = DatabaseName + ".dbo." + myTableLocation;
                    bool success = myTable.TestConnectivity();
    Edited by: zeshansadiq on Nov 4, 2011 3:49 PM

    resolved by me itself.
    Do the following steps:
    1. Open the report in the CR XI designer.
    2. Select Database -> Set Datasource Location.
    3. Set Datasource Location window will appear and in the replace with section connect to the database and replace these tables with the tables in the current datasource by clicking the update button.
    4. After updating close the Set Datasource Location window.
    5. Go to 'Database menu' and Click 'Verify Database' and click on u2019OKu2019.
    6. Preview the report and the save the report.

Maybe you are looking for

  • I uploaded my movie, now my version is an old one - please help!

    I uploaded my movie to youtube, all good, but then realised I needed to change something.  When I went back to the project, it wasn't the latest version, and was missing heaps of the changes I had made and uploaded.  Is there somewhere I can find the

  • Adding button to an alv

    Hi, i need to add 'UPDATE' button at the bottom of the ALV . i.e within the ALV. please help me out.

  • Where are my podcasts????

    I just installed the new itunes 7.0 and now all the podcasts i had saved in my library have vanished. I know they are somewhere because i have some in my playlists, but i used to look in my music library for all of them, but now they are not listed.

  • Cisco PI 2.0 failing with Nexus 5k

    Hello, I have few Nexus 5k all running 5.2(1)N1(3) and all of them fails to update the software using prime. Any suggestions?? -Joe

  • How to migrate info spokes

    Hi can any one tell me how to migrate info spokes from 3.5 to BI.