Error: Failed to open the connection when opening Crystal Report in CMC or

Hello all,
I am getting theError: Failed to open the connection when opening Crystal Report in CMC or Infoview
with access database as the datasource which is in the network drive.

Hi Sonali,
This is because Crystal Reports does not recognize database connection from share drive
1. Save the database locally on server machine
2. Create a new database on server and link the new database with the database on Network.
Steps to link the database.
1.Create a new test database on server.
2. Go to File --> Get External Data --> Link tables | Select the database on Network Drive.
3. Select all the tables from the database.
4. Save the Database  e.g. Test.mdb.
5. Create an ODBC Connection on server machine, with the same name as on client machine using test.mdb database.
Note: Click on Advanced button, enter the default user id and password for the odbc connection, it is not mandatory to give Login Name and Password, only if the user id and password are given then we need to provide the same user id and password in the CMC database configuration.
6. Create a report using this ODBC connection, and save the report to Enterprise.
Regards,
Navin

Similar Messages

  • Getting Error:Failed to open the connection while calling crystal report

    I am getting the below error while calling the crystal report from dot net app. I am using OLEDB to connect to database. It is working perfectly in our DEV environment but as soon as I move it to production information after changing the logon information in the report it start giving the below error.
    Failed to open the connection.C:\WINDOWS\TEMP{C2FD97D9-2ADE-41BB-88FF-23A4DF20BC6F}.rpt
    Details: [Database Vendor Code: 17 ]

    Are you able to connect to the database from the production machine using a UDL file?
    If you haven't tried this, here's how to do it. Take these steps on the machine that is hosting the application. Create a new text file on the desktop. Change the file extension to ".udl" (without the quotes). Double-click on this to bring up the OLEDB connection test: start on the Provider tab and select the appropriate provider. Click "Next" and on the following tab enter your connection information. Click the "Test Connection" button to test the connection. Does it connect  to the database successfully?
    If you click on "OK" to close the dialog and then open the UDL file with Notepad, you should see an OLEDB connection string. In this string should be the same property values for server, database, user id and password which you are providing through your application. If they are not the same, modify your application to use these values.
    If testing your connection information with the UDL file works but your application is still failing when using the same credentials, try profiling or tracing the database. Do you see connection attempts from the application? Are there any errors?
    If you're impersonating, have you set up windows authentication correctly for both the application and the database?

  • "Failed to open the connection" - Add-on Crystal Reports (SAP B1 2007A)

    I have Created One Crystal Report.
    When I Preview Report (Administration>Crystal Reports>Select Report-->Print and Preview),
    System displays the following error message.
    " Failed to open the connection."
    Can you help me?
    Kind regards
    Margarida Pedroso
    PT

    You may check these threads:
    Re: Crystal Reports Add-on error on workstations
    Crystal Report Add On - Connection error.
    Crystal Reports install errors on workstation
    Thanks,
    Gordon

  • Failed to open the connection, when view returns no data.

    Hi Guys,
    I'm having a minor issue.
    I'm running a report in the crystalreportsviewer in asp.net.
    The report is retrieving it's data from a view.
    The report also has a subreport with an overview with totals, using the same view and the same parameters as the primary report.
    Now everything is working fine in a filled database.
    But when the view does not return any data, i get the following error:
    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.
    Freight_Charges_By_Branch_By_Period_By_Customer {9D0460D7-5C9E-  4FD5-B190-AFD41693A143}.rpt
    Can anyone please help me with this problem.
    Thanks in advance!
    Regards William

    Lot of important info missing here:
    1) What version of CR?
    2) What CR updates have you applied?
    3) What version of .NET?
    4) Is this on your dev box or after you deploy?
    5) Have you looked up error code 53 for your database? (This is the error code CR engine is simply passing through from the db client)
    6) What is the database?
    7) What connection method are you using?
    8) Depending on the version of CR, can you run this report in the CR designer?
    9) Copy and paste the code used to run the report.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Failed to open the connection via BOE XI 3.1 CMC and Infoview

    Beginning Migration Project to move Crystal Enterprise 9 reports to Crystal Reports 2008 w/ intention to schedule  and view reports via  BusinessObjects Enterprise XI 3.1 Central Management Console and InfoView.
    I have created reports using Crystal Reports 2008 Designer and the reports run. Saved the reports to  Business Objects Enterprise.  I am able to view the reports via Crystal Reports viewer via Central Management Console and InfoView.
    However, if scheduling the reports to run via CMC or InfoView, receiving the message "Failed to open the connection". 
    Any suggestions would be greatly appreciated.
    Thanks
    Edited by: Gale Waters on Oct 21, 2010 5:35 PM

    Which is the version of your Sybase server?
    Which is the version of your Sybase ODBC driver?
    Do you use directly the ODBC drivers or do you use a universe that connects over an ODBC driver?
    Regards,
    Stratos

  • Reg : Unable to open the PDF when opening Notification documents

    Hi All,
    I used QM03 and then I type in a notification number and then I hit return I get a series of screens and then I click on documents.  I then get to the document tree and then open the RPC file.  from that I get a pdf file.  I click open but I get an error message.
    I have recently installed Adobe 7.0 in my system.From that time I am getting this error message.
    I f any idea, please help me out.
    Thanks&Regards,
    Sreeharsha Singuru

    Could you please send the pdf to [email protected] so that we may investigate the issue?
    Thanks,
    Adobe Reader Team

  • Error when scheduling crystal reports in CMC

    Hi Experts,
    I have  created a crystal report and exported to CMC. when i try to schedule the report i am getting a error "The property with ID SI_DELTA_METAINFO does not exist in the object"  can anyone help me to fix this issue.
    Thanks in Advance.
    Carol

    Hi Carol,
    I think your question is best posted on the Crystal Reports Data Connectivity forum, so I will move it there, and hope you will get the solution you seek.
    Regards,
    Jason

  • Error "Server busy" at the time of launching Crystal Report 2008

    Hi
    I have installed Crystal Report 2008 from CD .While launching the Crystal Report I am facing the error as "Server Busy".Below are the thing which I have tried:
    1)Unchecked the option "Checked for updates" in help menu
    2)Uninstalled the application manually and again I have installed.
    3)I have tried installing on another machine however I am facing the same error message.
    My Computer's RAM size is  1.97 GB.
    Any help would be appreciated.
    Regards
    Ashu.
    Edited by: Ashu User on Aug 13, 2008 11:14 AM

    Hi Ashu
    Please make sure the below information:
    1. If you are getting this eror message while opening Crystal Reports 2008 or Xcelsius 2008.
    2. If you are getting this error message for Crystal 2008, have you installed the Crystal Reports on a Citrix Server or a Terminal Server.
    3. Search if the Citrix/Terminal Server that you are using is supported or not.(You can check in the CR 2008 Supported Platforms PDF).
    Hope this helps!!!
    Regards
    Sourashree
    Edited by: Sourashree Ghosh on Aug 13, 2008 1:45 PM

  • Failed to read parameter object when publish crystal report 11

    Hi,
    I created a dynamic parameter crystal report and while running in CR (XI) everything works fine.
    Once I am trying to publish to server (infoview & business objects) I am getting error message "Failed read data from report... Reason: Failed to read parameter object"
    (It works fine and was published sucesfully if I change to static parameter.)
    I already try to change 'Edit right' in Business View Manager as other people suggest in other place and I still can't publish it without error.
    Please help.

    Re: Failed to read parameter object using Dynamic Parameter  
    Posted: Sep 27, 2010 9:23 PM    in response to: sharonamt     Edit          Reply 
    Hi Sharon,
    I am facing same kind of issue with crystal report 12.2.0.290 and BO server 12.1.0 © 2008 Business Objects.
    While i am trying publish the report with dynamic parameter, its throwing the error "Failed to read parameter object ".
    I am not sure what to do..can you please guide me ?
    Where we need to install service pack at machine which having crystal report designer or at Bo server
    Regards,
    Johnes

  • Failed to fill the prompts when creating Webi Report

    Hi,
    I am having some difficulties when I was trying to creating Webi reports. It shows error when I tried to fill in the prompts before the query runs. The report data comes from the SAP Business Warehouse. So far it is my understanding for the query flow:
    Step 1
    SAP Business Warehouse <-- Query A (BW Query) <--
    Step 2
    BO Universe <-- Query B (By drag & drop) <-- Application(e.g. Webi, QaaWS)
    When I run the Query A (using 'Analyzer' in 'Business Explorer') to extract data from BW, the query appears 7 optional parameters for filtering. After I filled some of the fields, the query runs fine -> Step 1 OK.
    When I want to do the same thing in a BO approach by building query (i.e. Query B) to draw data from the universe (which points to the Query A in BW) using different applications(e.g. QaaWS, Webi via InfoViewApp, Java Webservice SDK: QueryService & ReportEngine, etc), the application will display 7 optional prompts (i.e. those referring to those appeared in Query A) before the query executes. However, when I tried to fill those prompts, the application appears some fill prompts error and no query job is submitted to the BW -> Step 2 Fails.
    When I skipped to fill those optional prompts in building the Query B, the query job can be submitted and the query result is returned.
    Before the error occurs, I have been working on building similar Webi report and everything goes fine. I feel so strange that why the error appears so suddenly and I would like to ask how to avoid it.
    Many Thanks,
    Gary

    Hi Adil,
    I am using BOXIR3 and a screenshot is attached below:
    [http://farm4.static.flickr.com/3200/2948600340_4f1330d283_o.jpg]
    I have built the query in InfoView by drag & drop and after I click the 'Run Query' (the circled area), it is expected I will be asked to fill in some optional prompts (from BW query). Instead, an error shown about 2 minutes after clicking the button,.
    [http://farm3.static.flickr.com/2004/2947792827_bfacdc7dbe_o.jpg]
    Regards,
    Gary

  • How to open .dbf Files (xBase) in Crystal Report V14?

    Hey,
    I try to open a .DBF File (XBASE) with SAP Crystal Report V14. As result an error message appears: "Datenbank-Connector-Fehler: " followed by a lot of chinese signs. What can I do? Opening the same File with Crystal Report V10 worked fine. --> File Attached
    Thanks for your help,
    Harry

    Hey,
    thanks for your fast response.
    I don't know which driver it's using. I just try to open it the same type as in the V10.
    If I open the .dbf file through the 'database expert' dialogue - "database file" this error appears:
    to translate it for you to englisch, there's written: Error during opening the database information. Details: No database connector is specified.
    Regards,
    Harry

  • Failed to open the connection. Error in the Designer when copying ...

    I have two different systems I am developing an application on.
    I copy the entire directory from one system to the other. Both systems have the same environment:
    Visual Studio 2010
    Crystal Reports for Visual Studio 2010 (the production release, or I think it is the vesion is 13.0.2.0 is the version on the assemblies)
    SQL 2008 R2
    Today, I started adding Crystal reports to this VS solution. I have a reportdriver class that exports all the reports to an HTTP Stream, but we can sit that aside for now. The problem I am having is strictly with the integrated designer.
    I have a bunch of existing reports written for an old Sybase databse. I have ported them to SQL and the table structure matches. I simply add the report to my project, point it to the new datasource (using "Set Datasource Location" - OLE ADO SQL) and then preview the report to be sure it runs.
    I am just using "localhost" as my server name for the OLE connection so I...in theory... don't have to change the data source to view it on the other system. Both systems have SQL 2008 R2 installed locally. For my login credentials, I use SQL Security and use the same database login/password on both development machines andthe production server.
    Today, I copied my entire project to the other PC (as I do almost every day).. When I open any of the reports (in VS) and try to preview them I get:
    Failed to open the connection.
    Details: ADO Error Code: 0x80004005
    Source: Microsoft OLE DB Provide for SQL Server
    Description: [DBNETLIB][ConnectionOpen (Connect().]SQL Server does not exist or access denied.
    SQL State: 08001
    Native Error: 17 [Database Vendor Code: 17]
    I can only guess that I am using two different OLE ADO drivers on the two systems or there is something embedded in the rport or somewhere in my solution that "knows" I am not really on the same system that I initially set them up on and previewd them with.
    Am I on the right track? Any idea how I can fix this? Obviously, I don't want to have to setup the datasource for every report in my application (if I do that, the report works) when I copy it from the development to the production server.
    I am in a real bind here and under a fast aproaching deadline. Any help is much appreciated!!!
    Shayne

    Don't use localhost as your server name. It's a reserved name and should not be used in code.
    Try this also [Kbase |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%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533353333333433363339%7D.do] SAP Note 1553469 - How to enable Database logging in Crystal Reports for Visual Studio 2010
    Edited by: Don Williams on Jan 30, 2011 6:02 AM

  • Infoviewer Error - Failed to open the connection.

    Hi,
    I get the below error when tring to view a report from infoviewer?
    Failed to open the connection. Products.rpt Details: [Database Vendor Code: 12154 ]
    Also where can i find the log files for CMC and infoviewer?
    Thanks in advance

    Hi! I'm getting a similar error.
    Re: 08004:oracleodbcoraora-12154: TNS: could not resolve the connect ....
    Posted: Aug 22, 2011 5:56 PM in response to: John Fleming
    Edit Reply
    I am receiving a similar error.
    Failed to open the connection.
    Details: 08004:OracleODBCOraORA-12154: TNS:could not resolve the connect identifier specified Database Vendor Code: 12154
    I've seen all sorts of discussion on the intertubes about possible fixes however, none stated are practical or they do not address my error specifically. I've exhausted resources on the net as well as those available to me.
    I'm currently running SAP Crystal Reports 2011 on WIN7 64bit and using Oracle in OraClient 10g_home1.
    Please let me know what insight you have. I cannot roll back to previous versions of Windows nor less encryption.
    Thank you for your time.
    Thank you, again, for your time.
    Jeff Embree.

  • Error"Failed to open the connection"  - Named Instance of SQL Server 2005

    "Failed to open the connection" error, when connecting to the Named Instance of SQL Server 2005
    The report is throwing error, when changing the logon information dynamically through C#.
    Code
         string reportPath = @"D:\NET\TestReport\TestReport.rpt";
         ReportDocument reportDocument = new ReportDocument();
         reportDocument.Load(reportPath);
         foreach(CrystalDecisions.CrystalReports.Engine.Table table in tables)
              TableLogOnInfo tableLogonInfo = table.LogOnInfo;                         
              tableLogonInfo.ConnectionInfo.ServerName = @"TestServer\Instance1";  //Connnecting to Named instance of SQL Server 2005
              tableLogonInfo.ConnectionInfo.UserID = "sa";
              tableLogonInfo.ConnectionInfo.Password = "password";
              tableLogonInfo.ConnectionInfo.DatabaseName = "TEST_DB";
              table.ApplyLogOnInfo(tableLogonInfo);     
         crystalReportViewer1.ReportSource = reportDocument;
    Error Message
         Failed to open the connection.
         Failed to open the connection.
         C:\DOCUME1\PUGALE1\LOCALS~1\Temp\{DF9593A5-5C80-4CBC-ABC3-EC4EF204A7EB}.rpt
    The error is occuring only whenever i am connecting to the Named Instance of SQL Server 2005.
    Thanks in Advance
    Edited by: pugalendran p on Feb 2, 2009 10:32 AM
    Edited by: pugalendran p on Feb 2, 2009 10:43 AM

    Hi,
    Following solution might help you to resolve the issue.
    Solution1:
    Issue happens because universe connection to the Database is not responding and the Data Source Name is not configured to write SQL Server 2005 database.
    Resolution
    Created new DSN connection under SYSTEM DSN to SQL Server 2005 Database.
    Import the universe from the designer.
    Go to File->Parameters.
    Edit Connection.
    On the Database Middleware Page expand SQl Server 2005->Select SQL Server 2005 driver.
    Change the DSN to new DSN connection
    Test the connection.
    Save the Universe and Export it to the repository.
    Solution2:
    I am taking Oracle as an example over here.
    This can be caused when the SQLNET.ora is located in a remote location using mapped drives.
    Resolution
    To resolve,
    check the registry [HKLM\SOFTWARE\ORACLE] you should see a folder called HOME0
    look for any paths that contain a mapped drive partition
    Change the mapped drive letter to a UNC path (
    server\folder)
    Open a command prompt and do a tnsping using the tnsname and verify the location of the SQLNET.ora or TNSNAMES.ora
    If the path is not updated to the new path
    Reboot the server
    Regards,
    Sarbhjeet Kaur

  • Failed to open the connection error using Business View OLE DB

    I have a Crystal Report built on a Business View with the db being accessed by an OLE driver.  Everything works fine using Crystal Designer, but when I try to access it through BOE I get the "Failed to open the connection" error.  I have the ole drivers installed on the server.
    We are on BOE 12.1.0.
    The db is IBM as400.
    Suggestions??

    Ok so I spent the day trying to find the differences between the working and the non-working application. I began by adding code one piece at a time to the working application. The goal was to try and get it to break on the deployment server. I found the lines of code that is causing the break on the deployment server. Here it is:
        private void setReportParameters()
            try
                crystalReportDocument.SetParameterValue(0, reportUserName.Value);
                crystalReportDocument.SetParameterValue(1, reportArea.Value);
                crystalReportDocument.SetParameterValue(2, reportCDR.SelectedValue);
                crystalReportDocument.SetParameterValue(3, reportStatus.Value);
            catch (Exception ex)
                throw ex;
    This sub-routine is called from my button click code and is used to set the parameters for the report. Once I added this to the working application it broke also. My goal here is to send the parameters to the report from a form the user is filling out. Please keep in mind this code works in Visual Studio 2005 and my local IIS server running on my development machine. It breaks on the target deployment server
    The code broke on reports with sub-reports as well as report with no sub-reports. As soon as it was added and deployed the application through the "Failed to open the connection" error.
    Thoughts?

Maybe you are looking for