Database Logon Error

Good Afternoon
I'm facing a problem with a report developed in VS.Net 2008 using crystal inside of the development studio. The reason for this is it uses a class as a design data source  and then is populated at run time with a Generic List(List Of) of the class using the SetDataSource and then exported to Excel. All works swimmingly on my development pc however when we deploy this to a server it fails with the below error. We have the 2008 runtime installed correctly on the server so to some extent it should just work
Database logon failed.System.Runtime.InteropServices.COMException (0x8004100F): Database logon failed.ETC*
Below is a section of the VB.Net code, can you please advise how I get around this. There is effectively no connection to a database required but I am happy for anything that gets me past this.....
Thanks
Terry
Edited by: Don Williams on Apr 7, 2010 7:27 AM

Dim lstMagstat As New List(Of clsMagstatDets)
        Dim magstatHelper As New clsMagstatDetsHelper
        Dim strFileLoc As String = strDefaultOutputLocation & pubprof.PublisherName & " Magstat " & Format(Date.Now, "yyMMdd") & ".xls"
        lstMagstat = magstatHelper.FetchMagstat(pubprof, strConn)
        Try
            Dim rpt As CrystalDecisions.CrystalReports.Engine.ReportDocument
            If pubprof.DetailOrSummary = "Summary" Then
                If magstatHelper.FetchMagazineLevel(pubprof.MasterLevel) = "Magazine" Then
                    rpt = New rptSummaryMagazineMagstat
                Else
                    rpt = New rptSummaryMasterMagstat
                End If
            ElseIf pubprof.DetailOrSummary = "Detail" Then
                If magstatHelper.FetchMagazineLevel(pubprof.MasterLevel) = "Magazine" Then
                    rpt = New rptDetailMagazineMagstat
                Else
                    rpt = New rptDetailMasterMagstat
                End If
            End If
            If rpt IsNot Nothing Then
                Dim dfDestOptions As New DiskFileDestinationOptions
                dfDestOptions.DiskFileName = strFileLoc
                Dim excelFormatOptions As New ExcelFormatOptions
                excelFormatOptions.ExportPageBreaksForEachPage = True
                excelFormatOptions.ExcelUseConstantColumnWidth = False
                'excelFormatOptions.ExcelAreaType=AreaSectionKind.GroupFooter
                Dim excelExportOptions As New ExportOptions
                excelExportOptions.ExportDestinationType = ExportDestinationType.DiskFile
                excelExportOptions.ExportFormatType = ExportFormatType.Excel
                excelExportOptions.ExportFormatOptions = excelFormatOptions
                excelExportOptions.ExportDestinationOptions = dfDestOptions
                rpt.DataSourceConnections(0).SetLogon("Seymour\Helios", "kkb@reF4Tfr333")
                rpt.SetDataSource(lstMagstat)
                rpt.Export(excelExportOptions)
                'rpt.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.Excel, strFileLoc)
                Return strFileLoc
             Else
                Return ""
            End If
        Catch ex As Exception
            Throw New Exception(ex.Message & ex.InnerException.ToString)
        End Try
Broke your post into parts for clarity

Similar Messages

  • Crystal Report Error Failed to load Database logon Information

    Hi Experts,
    We developed a Crystal reports fetching data from a BI Query. When we run the report from Crystal Report Desginer it runs perfectly. 
    When I schedule the report in the CMC / Infoview, I am getting a error message saying:
    "<REPORT NAME> Failed to load database logon Information."
    We have checked the database configuration in CMC for this report. BI system hostname and the other necessary credentials are fine.
    Please suggest us on how we go about understanding the cause of the error.
    Crystal Reports 2008 SP2
    OS --> AIX
    Best Regards,
    Suchindra.

    Moved to SAP Integration kit forum

  • Database logon failed. Database Vendor Error Code: 0

    Hi all,
    I'm running a java web application and use crystal report XI.
    It works normally. One thing is : i would like to change the "Connection URL" when runtime.
    These are my config:
    _CRConfig.xml :
    <?xml version="1.0" encoding="utf-8"?><CrystalReportEngine-configuration>
        <reportlocation>../..</reportlocation>
        <timeout>10</timeout>
        <ExternalFunctionLibraryClassNames>
              <classname> </classname>
              <classname> </classname>
        </ExternalFunctionLibraryClassNames>
    <keycode>B6W60-01CS200-00GEGC0-0EX1</keycode>
    <Javaserver-configuration>
    <DataDriverCommon>
         <JavaDir>C:\Business Objects\j2sdk1.4.2_08\bin</JavaDir>
        <Classpath>C:\Business Objects\Common\3.5\java/lib/crlovmanifest.jar;C:\Business Objects\Common\3.5\java/lib/CRLOVExternal.jar;C:\Business Objects\Common\3.5\java/lib/CRDBJavaServerCommon.jar;C:\Business Objects\Common\3.5\java/lib/CRDBJavaServer.jar;C:\Business Objects\Common\3.5\java/lib/CRDBJDBCServer.jar;C:\Business Objects\Common\3.5\java/lib/CRDBXMLServer.jar;C:\Business Objects\Common\3.5\java/lib/CRDBJavaBeansServer.jar;C:\Business Objects\Common\3.5\java/lib/external/CRDBXMLExternal.jar;C:\Business Objects\Common\3.5\java/lib/external/log4j.jar;C:\Business Objects\Common\3.5\java/lib/cecore.jar;C:\Business Objects\Common\3.5\java/lib/celib.jar;C:\Business Objects\Common\3.5\java/lib/ebus405.jar;C:\Business Objects\Common\3.5\java/lib/corbaidl.jar;C:\Business Objects\Common\3.5\java/lib/external/freessl201.jar;C:\Business Objects\Common\3.5\java/lib/external/asn1.jar;C:\Business Objects\Common\3.5\java/lib/external/certj.jar;C:\Program Files\Business Objects\Common\3.5\java/lib/external/jsafe.jar;C:\Business Objects\Common\3.5\java/lib/external/sslj.jar;C:\tomcat\common\lib\oracle-driver.jar${CLASSPATH}</Classpath>
         <IORFileLocation>${TEMP}</IORFileLocation>
         <JavaServerTimeout>1800</JavaServerTimeout>
         <JVMMaxHeap>256000000</JVMMaxHeap>
         <JVMMinHeap>32000000</JVMMinHeap>
         <NumberOfThreads>100</NumberOfThreads>
    </DataDriverCommon>
    <JDBC>
         <CacheRowSetSize>100</CacheRowSetSize>
         <JDBCURL>jdbc:mysql://Komodo-vmw:3306/warcraft</JDBCURL>
         <JDBCClassName>com.mysql.jdbc.Driver</JDBCClassName>
         <JDBCUserName>root</JDBCUserName>
         <JNDIURL></JNDIURL>
         <JNDIConnectionFactory></JNDIConnectionFactory>
         <JNDIInitContext>/</JNDIInitContext>
         <JNDIUserName>weblogic</JNDIUserName>
         <GenericJDBCDriver>
              <Default>
                   <ServerType>UNKNOWN</ServerType>
                   <QuoteIdentifierOnOff>ON</QuoteIdentifierOnOff>
                   <StoredProcType>Standard</StoredProcType>
                   <LogonStyle>Standard</LogonStyle>
              </Default>
              <Sybase>
                   <ServerType>SYBASE</ServerType>
                   <QuoteIdentifierOnOff>OFF</QuoteIdentifierOnOff>
                   <DriverClassName>com.sybase.jdbc2.jdbc.SybDriver</DriverClassName>
                   <StoredProcType>Standard</StoredProcType>
                   <LogonStyle>MySQL</LogonStyle>
              </Sybase>
         </GenericJDBCDriver>
    </JDBC>
    <XML>
         <CacheRowSetSize>100</CacheRowSetSize>
         <PreReadNBytes>4096</PreReadNBytes>
         <XMLLocalURL></XMLLocalURL>
         <SchemaLocalURL></SchemaLocalURL>
         <XMLHttpURL></XMLHttpURL>
         <SchemaHttpURL></SchemaHttpURL>
    </XML>
    <JavaBeans>
        <CacheRowSetSize>100</CacheRowSetSize>
         <JavaBeansClassPath></JavaBeansClassPath>
    </JavaBeans>
    </Javaserver-configuration>
    </CrystalReportEngine-configuration>
    _JSP file :
    public ConnectionInfos setLogon()  {
              String dbUser = "root";
              String dbPassword ="root";
              ConnectionInfos oConnectionInfos=null;
               try
                    //Create a new ConnectionInfos and ConnectionInfo object;
                    oConnectionInfos = new ConnectionInfos();
                  ConnectionInfo oConnectionInfo = new ConnectionInfo();
                  //Set username and password for the report's database
                  oConnectionInfo.setUserName(dbUser);
                  oConnectionInfo.setPassword(dbPassword);
              PropertyBag pro = new PropertyBag();
                  Map<String, String> bag = new HashMap<String, String>();
                   bag.put("Connection URL", "jdbc:mysql://Komodo-vmw:3306/warcraft");
                   bag.put("Server Type", "JDBC (JNDI)");
                   bag.put("Database DLL", "crdb_jdbc.dll");
                   bag.put("Database Class Name", "com.mysql.jdbc.Driver");
                  oConnectionInfo.setAttributes(new PropertyBag(bag));          
                  //Add object to collection
                  oConnectionInfos.add(oConnectionInfo);               
              } catch(Exception se) {
                   se.printStackTrace();
                   System.out.println("[error in setLogon ]");
              return oConnectionInfos;     
    And i got error every times i run the report :
    Database logon failed. Database Vendor Error Code: 0
    Please help me.Thank you so much!

    Hi quang.
    can u tell me how to solve this issue? on trying to open a report am facing this issue!
    TIA

  • CR XI R2: Database logon failed. Database Vendor Error Code: 1005

    Hi:
    I am trying to incorporate Crystal Reports XI R2 with in-house application - Windows platform, Oracle9i, Websphere Studio Application Development 5.1, and JVM 1.4.2 with OCI8 driver and JNDI connection.
    I am not getting any error while running it in the project where I first implemented.  If I import a EAR file from that project and deploy it in another project and run it, I am getting error in the new project as follows:
    [10/23/08 18:43:11:843 IST] 40994099 SystemOut     O ERROR - JRCAgent4 detected an exception: Database logon failed. Database Vendor Error Code: 1005
          at    at java.lang.Throwable.<init>(Throwable.java)
          at    at java.lang.Throwable.<init>(Throwable.java)
          at    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase.<init>(Unknown Source)
          at    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKLogonException.throwReportSDKLogonException(Unknown Source)
          at    at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
          at    at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
          at    at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
          at    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
          at    at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
          at    at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
          at    at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
          at    at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
    [10/23/08 18:43:27:234 IST] 40994099 SystemOut     O ERROR - JRCAgent4 detected an exception: Some parameters are missing values
          at    at java.lang.Throwable.<init>(Throwable.java)
          at    at java.lang.Throwable.<init>(Throwable.java)
          at    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase.<init>(Unknown Source)
          at    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKParameterFieldException.throwReportSDKParameterFieldException(Unknown Source)
          at    at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
          at    at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
          at    at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
          at    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
          at    at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
    [10/23/08 18:43:28:359 IST] 40994099 SystemErr     R Exception at EPFPageFactory.getPage: java.lang.Exception: Error in EPFImapgeObjectInstancesBase.getInstanceProperties: null epfImage.
    Any help or suggestions would be highly appreciated.
    thanks,
    Prakash

    I suspect it is probably just a WSAD configuration issue.  If you have simply moved the EAR from one project to another, it might be missing some libraries or the some of the libraries may have been corrupted in the move, or it might be a problem with the build path.  Try deleting and readding the JRC libraries to the project.  If you are deploying to the test server within WSAD, try creating a new instance of it and deploying the project on the new instance.

  • CRVS2010 Beta 2 - "Database Logon failed" Error, after Upgrade

    Hi,
    Generally: we are using the Crystal Reports in combination with a DataSet, that is filled during runtime and pushed to the report, using "SetDataSource". The Project is an ASP .NET 3.5 Project, published on our server.
    I upgraded my development-machine to CRVS2010 (installed both packages - the CRVS for VS 2010 and the runtime) last week and changed some fields in the Report. The DataSet was left unchanged. Everything is working well on my development-machine, but when I publish the Project to our server, I get an "Databse Logon failed" Error, when I want to create my Report. The CRVS2010 Beta 2 redist Runtime is installed on our server. Here is the code, we use:
    // create new Report
    var report = new Reports.repMyReport();
    // DataSource ds was filled correctly (we checked with export to XML
    report.SetDataSource(ds);
    // Set several Parameters to Report
    report.SetParameterValue("test", "test");
    // Export Report to PDF-Format and open in Browser
    report.ExportToHttpResponse(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, Response, false, "reportName.pdf");
    Response.End();
    The error I get is:
    Database logon failed.
    [COMException (0x8004100f): Database logon failed.]
       CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext) +0
       CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) +260
    [LogOnException: Database logon failed.]
       CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e) +325
       CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) +315
       CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext) +650
       CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options) +98
       CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportOptions options, HttpResponse response, Boolean asAttachment, String attachmentName) +98
       CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportFormatType formatType, HttpResponse response, Boolean asAttachment, String attachmentName) +124
       SprintBoxWeb.BuchungDruck.Page_Load(Object sender, EventArgs e) in D:\Projects\sprnt_erp\SprintBoxWeb\BuchungDruck.aspx.cs:32
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       System.Web.UI.Control.LoadRecursive() +50
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
    I already tried everything, found googling the web and/or searching this forum:
    e.g.: perform "verify Database" on all Reports and map the DataSet.xsd again to the Report
    Is that a known issue on the Beta and we should wait for the RC, or does anyone have an idea how to fix that one?
    This error is really annoying!
    Many thanks for your help.
    kind regards
    Reinhard

    Dear Ludek,
    Many thanks for your quick reply. Currently, I have to finish some other things. I will try your ideas next week and give you some feedback then, to keep you informed.
    best regards,
    Reinhard

  • Live Office: Database logon failed error

    Please help...Live Office problem...
    Am working in Xcelsius 2008.
    Here's what I'm trying to do:
    1. I set up a Crystal Report using a Stored Procedure as the data provider.
    2. The Stored Procedure has a parameter built into it.
    3. When the report is refreshed within Crystal, the prompt dialog box is displayed; I fill in the desired value, and run. Everything comes back fine.
    4. Crystal Report is exported to the repository.
    5. In Excel, I inserted the Crystal Report using Live Office. It shows up as a Live Office object just fine.
    6. I bound an Excel cell to the prompt; when you change the value in the bound cell, the Live Office object refreshes and displays the correct results.
    7. In Xcelsius, I imported the Excel spreadsheet.
    8. I set up a Text component that is bound to the cell containing the parameter value. Also set up a Grid to display the results, and a Connection Refresh button to call the refresh. Added a Live Office Data Connection pointing to the Web Service URL for the report. 
    Note: When in Designer mode, if the value of the bound cell is changed, the results in the grid change accordingly.
    9.  When in Preview mode (or generated swf), if the Refresh button is pressed, a "User Identification" dialog box appears asking me to log on. The values it asks for are: System, User Name, Password, and Authentication.  I enter the same credentials as are within the Live Office settings in Excel, (which are working correctly), but receive an error "soapenv:Server.generalException: Database logon failed.".
    Note - all the id's are synced up - Business Objects, Database, etc.
    I've tried all kinds of combinations, but nothing gets me past this error. If I use any other server than the system one, the error message is "soapenv:Server.generalException: Server XXXXX not found or server may be down".
    I've noticed that in Excel directly, when I open the spreadsheet and refresh the Live Office object, I am prompted to log on to the database where the stored procedure is being executed. This dialog box does not appear once the Excel sheet has been imported into Xcelsius. One of the combinations I tried in the "User Identification" dialog box was the name of the database server, that didn't work either.
    I also tried creating the Live Office object directly within the Excel spreadsheet in Xcelsius, but then I was unable to bind the prompt value. Could never get the Live Office/Properties menu to appear.
    Ideas? Thoughts?
    Thanks in advance!
    Stephanie

    Got it!
    Here's what I had to do...
    In the CMC, under Object/Process/Database for the Crystal Report -
    which says...
    "Set the default information for logging onto the data source(s) automatically whenever the report is run."
    The Database Connection option had to be set to "Use custom database logon information specified here" and
    the When Viewing Report option set to "Use same database logon as when report is run".
    Then everything works fine - prompts appear, and Xcelsius passes the log on information to the database correctly. Stored procedure executes and returns the correct results.
    Thanks to everyone for their help!
    Stephanie

  • Database logon failed.Database Vendor Error Code:1005(ReportSDKLogonExcep.)

    Hi all,
               I have suffering this error, when I am running my application in IBM Application Server 6. Basically this errors are throughing, when I running the report(which is contains some sub report). But non-sub reports are running fine.  Kindly requested to all, plz help me.
    my documentation...
    1. WASD 5.1.1
    2. Oracle 9i
    3. CR XI R 2
    4. Application connected with Crystal Report by JDBC-JNDI.
    5. My all reports  developed  with CR 10.
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKLogonException: Database logon failed. Database Vendor Error Code: 1005---- Error code:-2147467259 Error code name:failed
         at com.crystaldecisions.sdk.occa.report.lib.ReportSDKLogonException.throwReportSDKLogonException(Unknown Source)
         at com.businessobjects.reports.sdk.b.i.if(Unknown Source)
         at com.businessobjects.reports.sdk.b.i.a(Unknown Source)
         at com.businessobjects.reports.sdk.b.i.byte(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    Thanks & Regards,
    Sanjay Biswal

    Hi Ted Ueda,
           In my application, I have connected with Crystal report by JDBC/JNDI.
    now, I give all information about my application. plz follws.
    First :
    Database Type: JDBC(JNDI)
    JDBC Connection : True
    Connection URL : jdbc:oracle:oci8:@<service name>
    Database Classname : oracle.jdbc.driver.OracleDriver
    Service : <service name>
    OS Authentication : False
    JDBC Connection String : !oracle.jdbc.driver.OracleDriver!jdbc:oracle:oci8:/@<service name>
    User ID : <user name>
    Second :
          Some coding are giving, by which Crystal Report accessing Login information from JSP page.
    ConnectionInfos oConnectionInfos= new ConnectionInfos();
    ConnectionInfo oConnectionInfo = new ConnectionInfo();
    oConnectionInfos.setUserName(<user name>);
    oConnectionInfos.setPassword(<password>);
    oConnectionInfo .add(oConnectionInfos);
    CrystalReportViewer oCrystalReportViewer= new CrystalReportViewer();
    oCrystalReportViewer.setReportSource(reportSource);
    oCrystalReportViewer.setDatabaseLogonInfos(connInfos);
    Third :
               ojdbc14.jar files haveing in lib floder.
    This login information in my application. PLz give suggection.
    Thanks & Regards,
    Sanjay Biswal
    Edited by: Sanjay Biswal on Oct 31, 2008 9:56 AM

  • Database logon failed error on IIS7

    I am getting a Database logon failed error on a report that is being called in ASP.NET form on IIS7. This error does not happen in my development environment but only on the webserver in IIS7. I can open the report and run it in Crystal Reports designer without any problem. Any help on this will be appreciated. The error message I get is below.
    Report File: LossRunByPolicyNoDates.rpt Report Path: C:\inetpub\wwwroot\adhoc_reports\LossRunByPolicyNoDates.rpt Export Path: C:\inetpub\wwwroot\adhoc_inbox\khogan\RSF500217-09.pdf CrystalDecisions.CrystalReports.Engine.LogOnException: Database logon failed. ---> System.Runtime.InteropServices.COMException (0x8004100F): Database logon failed. at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext) at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) --- End of inner exception 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.FormatEngine.Export(ExportRequestContext reqContext) at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export() at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export() at adhoc.WebForm1.btnRun_Click(Object sender, EventArgs e) in C:\inetpub\wwwroot\adhoc\WebForm1.aspx.vb:line 443

    In addition to the information that Bhushan requested;
    What database?
    How are you connecting to it (ODBC, OLE DB, etc.)?
    I'd also highly recommend having a read of the following:
    What do I need to do to get the fastest issue resolution?
    With he info you provided, you are asking us to guess, which typically proves to be a very inefficient way of troubleshooting any issue...
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • "Database logon failed" error received after upgrading from CR XI to CR 200

    We have a bunch of reports that use ttx files and datasets.  The code to support this was written and compiled originally using .NET 2.0 and CR XI.  After recompiling using .NET 3.5 and CR 2008 (not the version that came with VS2008), when I run the reports, I now receive an error "Database logon failed".  after clicking throught he error, I am prompted to enter a username and password.  Just for the heck of it, I entered my database userame and password with no luck.  I cancelled out of the login dialog and the frae of the report appeared but no report.  No code was changed.  How do I fix this?
    I know that I should convert the reprots to use xml schema files but I have over 300 reports and this will take time.  I need to get this fixed ASAP.  After I get this running, I can then [leisurely] fix the reports and use xsd files.

    Since the reports were create off of ttx files, they would be expecting a recordset at that time. How are you passing the data to the reports with CR 2008 and VS 2008?
    Also, see the following:
    [1468232  - How to use reports based on multiple TTX files in Visual Studio .NET|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%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433363338333233333332%7D.do]
    [1468232  - How to use reports based on multiple TTX files in Visual Studio .NET|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%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433363338333233333332%7D.do]
    And don't forget to search these forums - a fair amount of info in this topic here. The search box in the top right corner of this web page will also give you a number of blogs, KBases, wikis articles and more. E.g.; the search term "ttx net crystal", brought up the above two KBases (along with a number of other content).
    Oh. If this is critical, remember you always have the option of creating a phone case;
    http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100?resid=S6I@hgoHAkEAAGsiyVkAAAAR&rests=1282226845369
    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 Oct 7, 2011 7:04 AM

  • The migrated Crystal Report throws "The database logon information for this report is either incomplete or incorrect" error

    [ENVIRONMENT]
    Product version - BI4.1 SP03
    OS - Windows 2008 R2
    CMS Database - Oracle 11g
    Java Application Server - Tomcat7
    [ISSUE]
    Using the Upgrade Management Tool to completely migrate a BOXI3.1 SP3+FP3.6 to BI4.1 SP03.  The reporting database from both BOXI3.1 and BI4.1 are the same and so is the database logon credential.
    When viewing and refresh a migrated Crystal Report, it throws "The viewer could not process an event. The database logon information for this report is either incomplete or incorrect. [] ---- Error code:0 [CRWEB00000119]" error in both BI Launchpad and "The database logon information for this report is either incomplete or incorrect" in scheduled job.
    [STEPS TAKEN]
    - Update the Database Configuration with the SAME Oracle database password in CMC and "The database logon information for this report is either incomplete or incorrect" issue goes away.
    I search the SAP SMP and SCN forum and found no reference on this UMT and Crystal Report database logon problem.  Hope any of you have seen this problem and share if there is an ADAPT for it.
    Thank you in advance,
    Jin-Chong

    Hi,
    The BI4.1 SP03 server and client and Crystal Report 2013 SP03 developer and Crystal Report for Enterprise 4.1 SP03 are all installed onto this Windows 2008 R2 server.
    I am able to open the migrated report from CMS repository in Crystal Report 2013 SP03 developer and am able to refresh it with database logon password provided.  After save it back to the Enterprise, the database logon password field for this report in CMC becomes empty so that I have to enter the database password and choose "Use same database logon as when report is run" when viewing and scheduling report.
    What is interesting to me is that the UMT seems to migrate the report along the database logon password because I can see the encrypted password in the report database logon property in CMC.  The workaround is to reenter the database logon password in the report database logon property in CMC.
    With this said, there are hundreds of the Crystal reports and the workaround would consume lots of manual work by update each report's database logon password in CMC.
    For other customers who have more crystal reports, I wonder if there is an automated way to update the crystal report's database logon password on BI4.1 or if this is an isolated incident on my new BI4.1 SP03 environment.
    I run UMT in command line to perform livetolive migration, and my steps are listed below
    cd "E:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\apps\upgradeManagementTool\jars\"
    "E:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win64_x64\sapjvm\bin\javaw.exe" -Xmx56g -Djava.library.path="..\..\..\..\win64_x64" -jar upgrademanagementtool.jar -internal_use_only_noversioncheck -responsefile LIVETOLIVEResponseFile.txt
    LIVETOLIVEResponseFile.txt:
    mode=livetolive
    source=edhc01nwapp65:6400
    sourceusername=Administrator
    sourcepassword=xxxxxxxxxx
    destination=WAPP246N:6400
    destinationusername=Administrator
    destinationpassword=xxxxxxxxxx
    logfile=E:\temp\livetolive.csv
    configparam:base_url=https://boprod.bsc.bscal.com/dswsbobje
    locale=en_US
    Regards,
    Jin-Chong

  • Database Logon Failed after first report

    I have a Windows Server 2003 x86 server running IIS6 and ASP.NET. On this server, I have two different web forms set up to export Crystal Reports to PDF.
    My problem is that only one of these reports can run. For example, I open report 1 and can then reopen (generate PDF of) report1 as many times as I want. I cannot open report 2 - I get a "Database Logon Failed" error message. If I restart the server, I can generate a PDF of report 2 successfully and as many times as I want but report 1 will get a "Database Logon Failed" error message.
    Has anyone seen this behavior before? My code is very concise and manually closes the report document (and forces the garbage collection to run) once the PDF has been generated. However, for some reason, the report is staying in memory and is trying to run again even though it has been closed. It is driving me crazy.
    Thanks in advance for any assistance you can offer.

    Let's get the server confusion out of the way.
    A "server" runtime install is an msi file called CrystalReports11_5_NET_2005.msi.
    The msi is in a download called Crystal Reports XI Release 2 - FP x.x .NET Server Install (where x.x refers to SP or FP version (e.g.; Crystal Reports XI Release 2 - FP 5.6 .NET Server Install)
    So, this gives you an easy way of installing the CR runtime on a server (e.g.. Win 2003 server). No CR server (RAS) implication here. To install the runtime, all you have to do is run the msi, provide the keycode when prompted and the runtime is installed. You should see the directory C:\Program Files\Business Objects\Common\3.5\bin created. No pretty interface, etc. If you want a pretty interface, you create your own setup project or msi using the CR msm files.
    Hopefully this clears up the "server" confusion.
    To the actual issue on hand.
    You say this works with older "Crystal Reports viewers" installed on a WIN 2003 64 bit server. My question is; does this CR XI r2 based app work anywhere? Your dev box? Staging server?
    Ludek

  • Xcelsius - Database logon failed. (LO 26603)

    Hi Expert,
    I have a error when run .swf file.
    The first, I create new query from SAP toolbar integration in Crystal Report 2008. The Crystal Query is called from a BW Query . The query have not variables, the data get directly from BW Query.
    I saved Crystal Report file into BOE (File -->Save -->Enterprise, not save on BW).
    In Infoview, I setup schedule for this .rpt file with information database logon below (default as inform in Set Database Location of Crystal Report):
    - Database server: xxx.xxx.xxx.xxx (BW server)
    - User name: User in BW
    - Password: Password in BW
    In Xcelsius, I use Live Office to get data from crystal on BOE to Excel sheet on Xcelsius.
    In data-->Connection, I changed <server:8080> by <IP BOE System:8080>.
    When I preview or export to swf file, a message box appear require input user name and password of BW server (Database logon). After I input correct password, a message box User Identification appear, I input System, User name, Password on BOE server and chose Authentication Enterprise. And final, I get error message "  Database logon failed. (LO 26603)".
    I try opening Crystal Report file on Infoview and Refresh data, I also input database logon by BW User, the data refresh correctly.
    Why do crystal report file update data from BW correct, while .swf file is not and return error Database Logon failed.
    Please explain for me what step I missed to get data through Live Office.
    Thanks

    Hi Priya,
    Thanks for your support.
    I have set the default credentials in database configuration.
    But my dashboard still can't work. When I preview dashboard, A prompt for database logon information appear, I can logon sucess and refresh data. But after I logon username and password on BOE for BOE User Identification with Authentication Enterprise, I still get error " Database logon failed".
    Who can explain for me what steps I miss.
    Thanks

  • The database logon information for this report is either incomplete or inco

    getting below error while opening a report from infoview
    The database logon information for this report is either incomplete or incorrect.
    Unable to retrieve Object.
    The database logon information for this report is either incomplete or incorrect.
    They can open the same report from crystal designer.We have checked the database and it is pointing to correct one in process->database of CMC.
    They have created the report with windows NT credentials.
    Can any one help in this regard.
    Thanks,
    Gokul.

    How did you set up NT auth on the report? With CR Designer I'd assume you are using a trusted connection? Which option did you choose in the CMC for DB credentials? Prompt, same login, or SSO (I don't have the CMC screen in front of me right now so I'm abbreviating the options)?
    Regards,
    Tim

  • Database connector error:Unexpected when connecting to salesforce in CR2008

    ISSUE:: Unable to connect to salesforce in CR2008 as when he tries to select the table in the Database expert he gets an error 'Database connector error: Unexpected' however he is able to connect to salesforce and then select the tables using CR XI R2
    Observed Behavior:
    - The customer is able to  connect to salesforce and then select the tables in CR XI R2 however when he tries to select the table through CR 2008 he gets an error 'Database connector error: Unexpected'. 
    - He does not have an issue switching Windows accounts.  He can log in to Salesforce.com from Crystal Reports XIR2 and 2008 using a SFDC account with restricted access from my Windows account.  However, he is not able to log in to SFDC using the system administrator SFDC account in Crystal Reports 2008, but is able to using Crystal Reports XIR2.  This applies to the production and sandbox SFDC environment.
    - He can update data on all reports using CR2008 if the report was created in CRXIR2.  He cannot access any data from reports created with CR2008.
    Expected Behavior:
    - Should be able to select the tables and create reports based off it.
    Steps to reproduce: 
    - Open Crystal Reports 2008 and then connect to salesforce with the credentials provided by the user i.e. 
    test.nussbaumer @cit.com.test
    crystal2008
    token:  LxYbugxsVmGpRL1QOVIC2q0e  '
    This gives an error:
    'Logon failed. Details: Unexpected Error; nested exception is java.net.UnknownHostException: www.salesforce.com
    What has been done so far:
    -Have tried the repair on CR 2008 but didn't help.
    - The customer has tried some user credentials for a different user in his SFDC instance and was also able to login.  He realized that only the system administrator is not able to login.  Customer had sent the sample credentials for a test system administrator profile in his sandbox environment.  (test.salesforce.com) , used that on my end to connect however it gave the error :'Logon failed. Details: Unexpected Error; nested exception is java.net.UnknownHostException: www.salesforce.com'
    test.nussbaumer @cit.com.test
    crystal2008
    token:  LxYbugxsVmGpRL1QOVIC2q0e
    To access the Sandbox, he uses test.salesforce.com as the server when connecting with Cyrstal Reports 2008.
    - He reset the password and received the same error.  He can access Salesforce.com with CR XI R2, but not with CR2008. 
    - He set up a new computer with only JDK 1.4 on it, using Windows XP Professional and received the same error. His comments:
    ( I don't believe that this has anything to do with the JDK version, but rather with the size of the metadata in SFDC.  If I login as the administrator, I receive the error in CR2008.  However, as mentioned before, if I login as a standard user I am able to use CR2008.)
        We tried resetting the User Security token by follwoing the below steps(A security token is not needed for login as I am using a trusted network by SFDC):
    Steps for Resetting a User Security Token:
       1.) To reset your security token, click Setup | My Personal Information | Reset Security Token, and click the Reset Security Token button. The new security token is sent via email to the email address on your Salesforce user record.
       2.) You will need to login by entering your username and then your password + security token (without the +).
    - Modified the CRConfig.XML file for the proxy server settings and then tried connecting to pull up the tables however still gave the same error.
    Configuration:
    Windows XP Professional 5.1.2600 SP2 Build 2600 
    CRXIR2 - 11.5.9.1076
    CR2008 - 12.0.0.683
    J2SE Development Kit 1.5.0.60
    He is using JDK 1.6 (file: jre1.6.0_05).  He tried installing JDK 1.4 and pointing to the file:  jre1.4.2_17 but had no success.
    Version 3 of the Crystal Reports for Salesforce.com driver
    Sandbox environment
    Edited by: Komal Prasad on Jun 26, 2008 5:28 PM
    Edited by: Komal Prasad on Jun 26, 2008 5:29 PM

    Please re-post if this is still an issue to the OnDemand Forum or purchase a case and have a dedicated support engineer work with you directly

  • ReportClientDocument throws - Unexpected database connector error

    Hi,
    We are getting a weird exception in Websphere 6.1 server when we try to open a crystal report using ReportClientDocument object. It is throwing an unexpected database connector error when we try to change the datasource of the report. It would be great if some one can help us with the solution.
    Code:
    ReportClientDocument reportClientDocument = new ReportClientDocument();
    reportClientDocument.open(REPORT_NAME, 0);
    Tables tables = reportClientDocument.getDatabaseController().getDatabase().getTables();               
    ITable table = tables.getTable(0);
    reportClientDocument.getDatabaseController().setDataSource(resultSet0, tableName0 , tableName0+"_ResultSet");
    P.S: The same code works fine in Tomcat 6.0 server.
    Exception:
    [1/11/11 17:34:10:141 GMT+05:30] 00000037 SystemOut     O Connection logon successfully
    [1/11/11 17:34:10:145 GMT+05:30] 00000037 SystemOut     O Rowset restart: moveToStart true
    [1/11/11 17:34:10:145 GMT+05:30] 00000037 SystemOut     O Rowset execute
    [1/11/11 17:34:10:168 GMT+05:30] 00000037 SystemOut     O  detected an exception: Unexpected database connector error
         at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2409)
         at com.crystaldecisions.reports.datafoundation.DataFoundation.a(SourceFile:1234)
         at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.a(SourceFile:344)
         at com.crystaldecisions.reports.dataengine.dfadapter.CheckDatabaseHelper.a(SourceFile:66)
         at com.crystaldecisions.reports.dataengine.datafoundation.CheckDatabaseCommand.new(SourceFile:100)
         at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
         at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
         at com.crystaldecisions.reports.dataengine.VerifyDatabaseCommand.new(SourceFile:76)
         at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
         at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
         at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.a(SourceFile:373)
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.if(SourceFile:352)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1291)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
         at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
         at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
         at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
         at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
         at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(SourceFile:605)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.a(SourceFile:1688)
         at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.new(SourceFile:2650)
         at com.crystaldecisions.sdk.occa.report.application.b9.onDataSourceChanged(SourceFile:301)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:962)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:2834)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(SourceFile:2557)
         at com.crystaldecisions.reports.sdk.DatabaseController.setDataSource(SourceFile:87)

    It appears that you are trying to pass a resultset to the report, only things i can think of is, either the jar file needed for that type of connection is missing, or maybe the app servers are using different versions of java which causes it to act differently.

Maybe you are looking for

  • Flash Builder 4.6 Java Heap Space Error

    Hi, I get this error "Java Heap Space" when trying to clean build (or build in any way) my project. I have a lot of embeded assets (png, mp3 and some binary files embeded to be read as a ByteArray) which total about 37 MB. Including one more 1.6MB bi

  • [SOLVED] Impossible to get BLACK background in Mutt

    I like to have white text on black background in my terminals, but Mutt insists on turning grey instead of black and I can't figure out why this happens. The color setting for Mutt is: color normal white black This works perfectly in KDE and XFCE, bu

  • Xperia arc S will not get Jelly Beans

    Closed toppic, multiple posts. As officially stated on Facebook, Xperia arc S and mini pro will not get Jelly beans update. http://www.xperiablog.net/2012/07/26/official-2011-sony-xperia-handsets-will-not-get-android-4-1-jel... As a conclusion of thi

  • S205 drive D: & DVD issues

    Hello, Recently I started having issues with my Ideapad S205. I got a malware program that tried to force me to buy their software to remove it. In the process of trying to get rid of the problems it caused, I decided to use the Lenovo recovery key.

  • How to guarantee that an iView in the framework will run before the TLN?

    Hello, I have developed an iView that I would like to put in the framework. I would like to guarantee that : 1. This iView will run before the top level navigation one runs. 2. This iView will run only once per session. Any suggestions...? Roy