Vendor Code: 17412 and  17401

SQL-DEV V1.5.4
Java Platform : 1.6.0_07
Windows : XP V2002 SP3
Oracle Version : 10.2.0.4.0 - 64bit Production
MSSQL : 2008
Link: DG4MSQL
Steps to reproduce:
Using a public database link which is established between MSSQL and Oracle.
1. <select * from owner.table_name@link> gives error: Vendor Code: 17401 Protocoll violation
2. <select * from owner."table_name"@link> gives error: Vendor Code: 17412 type length is bigger than maximum
- The length of the table names are not related with the error-messages.
- Both of the sql-sentences work fine with most of the tables in the same database (same link).
It is necessary to disconnect og reconnect to keep on working.
How can I get rid of these error codes?
Thanks,
Sedso

The problem can be related to: SQL Server varchar(max) Data.
No changes have been made in the db or link-configuration. I use some of the fields of the tables which do not throw the aforementioned error-codes and this solves my problem.
S.

Similar Messages

  • Vendor code 12154 and 1005 error

    Hi,
    I have developed an application which users the RDC API set (CR XI R2 SP4.5 version) to preview crystal reports. All types of reports works fine but except one. This report is a blank report with one sub-report. I have used native oracle connection to connect to the Oracle database when creating this layout. The main report is blank but it has a sub report with one view. When I run the report from Crystal Report Designer it works fine, but when I run it through my application it give the following error. Other report with sub-reports where the main report also has views works fine. Itu2019s just that reports with sub-reports where there are no views in the main report gives this error. I have debugged the code and found that it gives this error when Iu2019m setting the table location of the view in the sub-report. Hope you can help me to solve this issue.
    I get two errors and they are,
    Fail to open the connection. Database Vendor Code 12154
    Fail to open the connection. Database Vendor Code 1005
    Thanks in advance,
    Chanaka

    Hi Ludek,
    Thank you for replying to my question. Here are the information you requested for.
    Q: Also, please confirm that this is happening on the same computer where you designed the report?
    A: I get the same errors when I run my application and try to view the reports from the same machine where I have installed Crystal Report Designer and created the reports from.
    Q: And, if you take out the subreport and run it on it's own as a main report, can you log on to it in code?
    A: If I take the sub-report and run it on itu2019s own it works fine from my code
    Normally when I create reports with sub-reports I donu2019t browse and import and existing sub-report but I create a sub-report with the Report Wizard. All sub-reports are not on demand sub-reports as well.
    Also, as I said before, other reports work fine. That is, reports without sub-reports which has views in the main report, reports without sub-reports where there are no views in the main report as well (blank report), reports with sub-reports where there are views in the main and sub-reports both. Also, for all these combinations I have checked with and without parameters in the main and sub-reports. The errors are only shown when the main report is blank (no views added) and has a sub-reports with views.
    Q: Also, open the report in the CR designer, got to the subreport. Then to the Database menu and expand the properties icon. What does it say at Database type?
    A: Selecting the sub-report and going the Database\Set Database Location and by clicking on the Properties dropdown (the + sign) I can see that the Database Type is Oracle Server which is correct as we always use the Native Oracle connection to connect to the database at design-time and at runtime when previewing the report from the application.
    Q: Please provide the code you are using to log on to the database
    A: Code is given below.
    Further investigating in to the issue I saw that if the sub-report has parameters I get the error u201CFail to open the connection. Details: [Database Vendor Code: 12154]u201D. If the sub-reports doesnu2019t have parameters then I get the error u201CLogon failed. Details: [Database Vendor Code: 1005]u201D. Debugging in to the code from VB I see that itu2019s throwing the error when I try to set the table location for a view in the sub-report. Here the error number is -2147189176 and the error description is Logon failed. My guess is that both the errors are linked to this location setting and the main report not having views or database connection.
    Regards,
    Chanaka
    In Main section
    For tableCountInMainReport= 1 To crxReport.database.Tables.count
      RDCSetNthTableLogOnInfo(u2026u2026u2026.)
      RDCSetNthTableLocation(u2026u2026u2026u2026u2026..)
    Next tableCountInMainReport
    For each section in report
       If sub-report exist
           RDCSetNTableLogonAndLocSubReport(u2026u2026u2026u2026u2026)
       End if
    Next section
    Methods called from the main method
    Public Function RDCSetNthTableLogOnInfo(ByVal tableIndex As Integer, ByVal server As String, ByVal database As String, ByVal userName As String, ByVal password As String) As String
       On Error GoTo ErrorHandler
       crxReport.database.Tables(tableIndex).ConnectionProperties.Item("Server") = server
       crxReport.database.Tables(tableIndex).ConnectionProperties.Item("User ID") = userName
       crxReport.database.Tables(tableIndex).ConnectionProperties.Item("Password") = password
       If (database <> Null) Or (database <> "") Then
          crxReport.database.Tables(tableIndex).ConnectionProperties.Add "Database", database
          RDCSetNthTableLogOnInfo = "True"
       End If
       RDCSetNthTableLogOnInfo = "True"
    ErrorHandler:
       If Err.Number <> 0 Then
          MsgBox "Error in setting table logon information for " & crxReport.database.Tables(tableIndex).Name & "." & "Error number : " & Err.Number & " Error description : " & Err.Description, vbOKOnly, "Error"
          RDCSetNthTableLogOnInfo = "CR_ERROR"
       End If
    End Function
    Public Function RDCSetNthTableLocation(ByVal tableIndex As Integer, ByVal location As String) As String
       On Error GoTo ErrorHandler
       crxReport.database.Tables(tableIndex).location = location + "." + crxReport.database.Tables(tableIndex).location
       RDCSetNthTableLocation = "True"
    ErrorHandler:
       If Err.Number <> 0 Then
          MsgBox "Error in setting the table location. Error number : " & Err.Number & " Error description : " & Err.Description, vbOKOnly, "Error"
          RDCSetNthTableLocation = "CR_ERROR"
       End If
    End Function
    Public Function RDCSetNTableLogonAndLocSubReport(ByVal setionCode As String, ByVal subreport As Integer, ByVal servers As String, ByVal databases As String, ByVal userNames As String, ByVal passwords As String, ByVal locations As String) As String
       Dim oSubreportObject As CRAXDRT.SubreportObject
       Dim locRet As String
       Dim sServers() As String
       Dim sDatabases() As String
       Dim sUsers() As String
       Dim sPasswords() As String
       Dim sLocations() As String
       Dim i As Integer
       On Error GoTo ErrorHandler
       If crxReport.Sections(setionCode).ReportObjects(subreport).Kind = crSubreportObject Then
          Set oSubreportObject = crxReport.Sections(setionCode).ReportObjects(subreport)
          Set oSubreport = oSubreportObject.OpenSubreport
          sServers = Split(servers, Chr$(31))
          sDatabases = Split(databases, Chr$(31))
          sUsers = Split(userNames, Chr$(31))
          sPasswords = Split(passwords, Chr$(31))
          sLocations = Split(locations, Chr$(31))
          If (oSubreport.database.Tables.count = UBound(sServers)) And _
             (oSubreport.database.Tables.count = UBound(sDatabases)) And _
             (oSubreport.database.Tables.count = UBound(sUsers)) And _
             (oSubreport.database.Tables.count = UBound(sPasswords)) And _
             (oSubreport.database.Tables.count = UBound(sLocations)) Then
             For i = 1 To oSubreport.database.Tables.count
                oSubreport.database.Tables(i).ConnectionProperties.Item("Server") = sServers(i)
                oSubreport.database.Tables(i).ConnectionProperties.Item("User ID") = sUsers(i)
                oSubreport.database.Tables(i).ConnectionProperties.Item("Password") = sPasswords(i)
                If (sDatabases(i) <> Null) Or (sDatabases(i) <> "") Then
                   oSubreport.database.Tables(i).ConnectionProperties.Add "Database", sDatabases(i)
                End If
                locRet = ""
                locRet = RDCSetNthTableLocationSubReport(setionCode, subreport, i, sLocations(i))
                If (locRet <> "True") Then
                   RDCSetNTableLogonAndLocSubReport = locRet
                End If
             Next i
             RDCSetNTableLogonAndLocSubReport = "True"
          Else
             RDCSetNTableLogonAndLocSubReport = "CR_ERROR"
          End If
       End If
    ErrorHandler:
       If Err.Number <> 0 Then
          MsgBox "Error in setting logon information for " & oSubreport.database.Tables(i).Name & "in subreport." & "Error number : " & Err.Number & " Error description : " & Err.Description, vbOKOnly, "Error"
          RDCSetNTableLogonAndLocSubReport = "CR_ERROR"
       End If
    End Function
    Public Function RDCSetNthTableLocationSubReport(ByVal setionCode As String, ByVal subreport As Integer, ByVal tableIndex, ByVal location) As String
       Dim oSubreportObject As CRAXDRT.SubreportObject
       On Error GoTo ErrorHandler
       If crxReport.Sections(setionCode).ReportObjects(subreport).Kind = crSubreportObject Then
          Set oSubreportObject = crxReport.Sections(setionCode).ReportObjects(subreport)
          oSubreportObject.OpenSubreport.database.Tables(tableIndex).SetTableLocation location + "." + oSubreportObject.OpenSubreport.database.Tables(tableIndex).location, oSubreportObject.OpenSubreport.database.Tables(tableIndex).Name, ""
          RDCSetNthTableLocationSubReport = "True"
       Else
          RDCSetNthTableLocationSubReport = "CR_ERROR"
       End If
    ErrorHandler:
       If Err.Number <> 0 Then
          MsgBox "Error in setting the table location in subreport. Error number : " & Err.Number & " Error description : " & Err.Description, vbOKOnly, "Error"
          RDCSetNthTableLocationSubReport = "CR_ERROR"
       End If
    End Function

  • How can same vendor code be used for domestic & import purchases?

    Hi
    We have a vendor who was initially supplying domestic goods but now we are also going to import goods from him.
    The Client doesnt want two separate vendor codes since they cannot get composite balance for domestic as well as for imports under one vendor code.
    I do understand we cannot have two different Reconcilliation accounts for one vendor code even and if we have just one reconcilliation account we cannot bifurcate domestic and foreign purchases.
    Please suggest.
    Regards
    Kapil

    Hi,
    It is not possible to change the reconciliation account (SpGL or alternative account) in MIRO transaction. Of course you can make some modifications in MIRO in order to open for changes field "G/L account" on "Details" screen, but if you should not foget to modify MR8M.
    Another alternative is to repost the MIRO documents (vendor oen items) to the alternative reconcilation account with FB01.
    Regards,
    Svetlin

  • I encountered an error in the Payment Wizard screen as I was creating an Outgoing Payment for petty cash expenses. On the "Recommendation Report" screen, I clicked "Non-Included Trans." and saw that one of the vendors (Vendor Code: WILCO) has the followi

    Hello,
    I encountered an error in the Payment Wizard screen as I was creating an Outgoing Payment for petty cash expenses. On the “Recommendation Report” screen, I clicked “Non-Included Trans.” and saw that one of the vendors (Vendor Code: WILCO) has the following error:
    “The document amount is greater than the max. amount allowed in the payment methods linked to the BP”
    Upon checking, the “PCF-W” Payment Method linked to WILCO does not have any restrictions, nor does WILCO have any credit/commitment limit set. I have also appropriately defined the Dummy Business Partner Bank (under Payment Terms) as well as checked the “Included” box for PCF-W on the Payment Run-Payment Methods screen.
    Could anyone please help me on this?
    Salamat,
    Cat

    PS - have found other posts indicating that clips smaller than 2s or sometimes 5s, or "short files" can cause this. Modern style editing often uses short takes ! Good grief I cannot believe Apple. Well I deleted a half a dozen short sections and can export, but now of course the video is a ruined piiece of junk and I need to re-do the whole thing, the sound etc. which is basically taking as much time as the original. And each time I re-do it I risk again this lovely error -50 and again trying to figure out what thing bugs it via trial and error instead of a REASONABLE ERROR MESSAGE POINTING TO THE CLIP IT CAN'T PROCESS. What a mess. I HATE this iMovie application - full of BUGS BUGS BUGS which Apple will not fix obviously, since I had this product for a few years and see just hundreds of hits on Google about this error with disappointed users. Such junk I cannot believe I paid money for it and Apple does not support it with fixes !!!
    If anyone knows of a GOOD reasonably priced video editing program NOT from APPLE I am still looking for suggestions. I want to do more video in future, but obviously NOT with iMovie !!!

  • Vendor code and vendor name in ME5A

    Dear Experts,
    In T.code ME5A Vendor and name of Vendor fields display in output but it is showing blank whenever po is created how can I found that which PR,s Po make vendor code and name display.
    RC

    Hi,
    Using T-code ME5A report vendor,name of vendor if required,
    you will create using T-code ME01-Maintain source list input data's are Material,Plant,Vendor,pur.org.,valid from,valid to and fixed source field tick, to be given and SAVE.
    After that you will see ME5A report. vendor,name of vendor data's are display.
    Hope, it is useful for you and resolve the issue.
    Regards,
    K.Rajendran.

  • Vendor emil ID and  vendor  code

    Hi,
    Dear SAP  Experts,
    In which table   can i find  both  vendor EMail ID  &  Vendor code
    With regards,
    ARABBAS

    in none.
    LFA1 stores the vendor number and the address number. you need to use this address number to lookup the email address from table ADR6

  • Vendor code and Contract no determination in CJ20N

    hi guys,
    we have this problem , whenever user entries material no 20024970, plant FN66 via CJ20N, system will automatically propose contract no 56001127 and vendor code 300164 .. i have checked ME13 and there is no data exists for mat 20024970 and plant FN66 .
    Kindly advice on how system does the automatic determination.. thanks

    Hi
    If a contract Exist for the Material then the price will be propsed from the Contract, Please check the Contract in Transaction ME33K.
    As Contract Price has the highest priority for the Acces sequence used for determination of Basic Price.
    Thanks & Regards
    Kishore

  • Table name from which to extract bank name and swift code by key field as vendor code

    Please help with the table name from which we can extract the bank name and swift code of vendors with the key input as vendor numbers

    Hello Subhadra, I'm sorry, I should've said join of LFBK and BNKA. The fields for the join will be the bank country(BANKS) and bank key (BANKL).
    If you have not found a docu on SQVI already, you can refer to this:
    How to create Report by using SQVI
    This is how your join should look in BASIS mode, your selection parameter should be vendor code LIFNR; output fields with be bank name BANKA and swift code SWIFT.

  • Multple Services Vendors to have Single Vendor Code and also Multiple TaxCd

    Hey SAP Gurus,
    Please help me with my problem.
    Background:
    1. Currently on SAP 4.7 there are close to 10,000 Vendors.  Many of these Vendors are acting as more than ONE Goods / Services Provider.
    2. Few Services rendered by Vendors are subject to Withholding Tax (Tax Deduction at Source).
    3. For the Withholding Tax we are using Std SAP provided functionalities and hence for each Service, attracting a separate TDS Provision, we have set up a dedicated Vendor Code.  All Vendor codes are linked to one Payee so that the Automatic Payment Run issues the Cheques to ONE Vendor code only.
    4. The Vendors masters creation is an ongoing activity.  So, say for ex, in 2008 one Vendor was providing X service, started providing Y Service in 2009 leading to creation of dedicated Vendor code.  The same Vendor is now providing 3rd service attracting a different provision of With. tax - Hence in 2010 for the "same" Vendor / Party, a 3rd Vendor Master Record with different Vendor Code (system generated internal numbering) is created.
    Problem:
    A. Our client wants to have ONE single Vendor code with MULTIPLE Roles assignment.  I am not very sure if we can have it done in SAP by creating some ROLES.
    B. The MM module is not live here.  This means, the PO related functionalities (if possible) cannot be used.
    C. There are multiple systems from where the Vendor Liability Line item is generated and it comes to SAP for GL Posting and Final payout (Thru Cheque or Electronic Fund Transfer etc.).
    D. In our Indian Scenario, each Section or Provision, leads to set up of 4 TDS Tax Codes: Basic, Surcharge, Cess 1 and Cess 2.
    Due to this requirement, we have configured the said respective 4 Tax Codes per section.
    E. If a Vendor is providing 4 different services attracting 4 different Sections of TDS, this will lead to having 4 X 4 = 16 Tax Codes for each such Vendor.
    F. The problem would become more complex on receiving the Transactional Data File (thru Interface) from various Applications generating the Liability Line Item for Vendor.
    Revisiting the Requirement:
    Have One Vendor Code per Vendor or Party.
    Your help would be highly appreciated.
    Many Thanks
    SAP Consultant

    Hi
    To overcome this problem you have two options.
    1. you can create only one vendor code.For the withholding tax purpose you can have multiple tax code options.At the time of giving input you can select withholding tax code from the drop down list.why dont you use that option?
    2. Here you can use the Head office concept.
    first you create vendor(ex: xyz).
    after that you can create one more vendor code(for same vendor for different service) and assign first vendor(main vendor) in the head office field  in the account information tab under recon account field.
    what ever the posting are doing  for the different services automatically routed to main vendor(Ex: xyz)

  • Payment Wizard - step 6of 9 - recommendation report PLD has no vendor code

    Dear all,
    Our customer is on SAP2007A SP00 PL41, US localization, SQL2005, no 3rd party add-on
    They are using Payment Wizard. On create new >> step 6 of 9, recommendation report, when they tried to print the report, we cannot see vendor code and vendor name. They are blank. We are using the system PLD.
    If we just go through the exsiting recommandation, we can have vendor code and vendor name on the report. This only happened when we create new payment.
    I can reproduce this in SAP2007 SP01 PL08, CA localization. Is it a bug or a system behavior? Thanks.
    Regards,
    Yuka

    Hi,
    Please check the issue in the Demo database on the Latest patch.
    I think the customer is doing the Print Preview when the Payment wizard is being run.
    Check for the saved recommended run , whether you can get the Print/print preview or not.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Vendor code in Stock Transfer Inspection Lot(08)

    Hi Everybody,
    I have noticed that when a Stock Transfer lot is created, the 'Data for lot orogin' tab in the Inspection Lot shows Vendor code in 'Data for goods receipt' section at times and at times Vendor code is not included in this section.
    Please throw some light on the situations under which the vendor code is included and excluded.
    Regards,
    Manish.

    I can't say for sure but I would compare the triggering document.  I.e. Exactly what material movement is used in each case and what type of document triggered it, (I.e. an STO order).  Than look at those documents and see if and why a vendor number is available.
    FF

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

  • 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