Login error with report viewer when opening Crystal report with subreport

Hi
I have a problem with a login error (database vendor code 18456) when I try to open a crystal report to view it.
The report uses data from an external payroll database but I'm running it via our Accounts system (it's a convenient front end for users to run the report from). This works fine for another report that doesn't have any subreports. However when I run the Crystal report that has subreports, the report generation process works but when the crystal reports viewer tries to open the report I get the login error. It doesn't seem to be passing the login details for the payroll database down to the subreport.
I'm using Crystal Reports version 11.0.0.1282. The Accounts system is Technology One. Tech One have provided a report template that has several formulas designed to allow Tech One to play nicely with Crystal. One of these formulas allows me to enter the nickname of the external database that the report needs to use. The external database's connection details are fully specified in the Tech One configuration section (server console). So in this case the report says use database U1 & the server console identifies U1 as being the payroll database, specifies the connection path  & has the username & password required to logon to the payroll database/server.
The report is running ok & retrieving data, but for some reason the viewer is erroring. If anyone has any ideas for how I can get the login details used to run the main report to flow through to the subreport it would be much appreciated.
Thanks
Sue

I understand your  frustration. We can do a few things. But really, it should be Technology One contacting us. To use an analogy (which you are free to share with Technology One). They built a car and sealed the hood. You bought the car, but he engine does not quite run as it should. You bring the car to the mechanic and all he can do is look at the car as he can not even open the hood.
In any case, here is what I would do if I could open the hood (e.g.; if I was dealing with Technology One):
1) Look up database vendor code 18456. This is simply the error our print engine is receiving from the database client and it simply passes it through relatively unhandled. This you should be able to do your self or ask Technology One to tell you what that means.
2) Break out the subreport and see if it runs on it's own in the application (if this is a permissions issue - which I doubt -  it should come up here too). Unfortunately, this is for Technology One to do...
3) Run the report (with the subreport) in the CR designer. Does it work there? If this is a win app and it works, we again eliminated permission issues. And we also confirmed that the report is good. Again, Technology One should do this for you.
BTW.; CR 11.0 is out of support - not sure if you or Technology One are aware of this...
4) Can the developer duplicate the issue on his development computer?
Now, there are couple of instances where you say something like; "the report works and gets data, but the viewer errors out":
+The report is running ok & retrieving data, but for some reason the viewer is erroring.
However when I run the Crystal report that has subreports, the report generation process works but when the crystal reports viewer tries to open the report I get the login error.  +
How do you know the report is retrieving data? From the error I would say the report never connects, thus the error / request for a logon...
So, the short of all of this is; get Technology One to contact us. They can do it over the forums or obtain a phone case here;
http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100
Now, here is a warning. As CR 11.0 is out of support Technology One will have to upgrade to CR 11.5, before that can create a phone case, which for them and you brings up another bunch of issues...
If you do not get any joy from the support person at you are talking to at Technology One, get him to escalate the issue. They are the ones that should be talking to us...
Ludek

Similar Messages

  • 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

  • Error when opening Crystal Report in VS 2010 IDE

    I recently began receiving the following error when I attempt to open a form containing the crystal reports viewer.
    An error has occurred while attempting to load the Crystal Reports runtime.  Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly.  Please install the appropriate Crystal Reports redestributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information.
    I am able to run the reports from within the development environment but cannot open them in the forms editor.  I have installed Crystal Reports for Visual Studio 2010 SP1 and Visual Studio 2010 SP1 hoping that would solve the problem but to no avail.  I have tried to reinstall multiple times and continue to receive the error.
    I am running on Vista (32 bit).  The project target framework is ".NET Framework 4,   The platform target is set to x86.
    I also now receive errors when I try to run reports after deploying to client PCs but I don't know if that is related or not.

    Uninstall CRVS2010 that you currently have installed.
    To remove the assemblies from the GAC use gacutil. Google will get you a number of links on how to. Also, see the KB [1535325  - How to remove CRVS2010 Beta 2|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%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533333335333333323335%7D.do].
    Reinstall CRVS2010 SP1 from here:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads [original link is broken]
    - Ludek

  • Infoview error when opening crystal report

    Anyone experienced this type of problem and managed to resolve it?
    Kindly assist.
    Thanks

    Sorry I did not provide all the information.
    I get the error message u201CThe database login information for this report is either incomplete or incorrect".  This is when refreshing a crystal report in Infoview.  The data source is SAP and am directly accessing the tables.  Am running IE 8 and crystal reports 2008.  I have checked security options and they look ok.

  • Error when opening Crystal Reports

    Hi
    I'm getting an error when opening Crysta R. from SAP 2007. Crystal version is 2008 and the error is something like this: The title of the wirndow is: Microsoft .NET Framework. Message: Exception not controlled in application. If you click continue the applicaction will avoid the error...etc.
    Any suggestions?

    Have you installed the 1.1, 2.0 and 3.5 Framework?
    Check your C:\Windows\Microsoft.NET\Framework and verify you have them all. If not go to Microsoft's site and install them.
    Thank you
    Don

  • Problem connection to database when opening Crystal Report in VB6 app

    Hi all, first post, so be gentle!
    I've developed a simple app and database using VB6 and SQL Server 2005 and is seems to be working well when i test it.
    Problem i have is after i installed the app on another PC. When the user tries to open the report they get an error when the report tries to connect to the database. It appears the report is trying to connect to the SQL Server using the user's AD account details, yet i set the report up with a trusted connection. I created a replica ODBC connection (as used by me when designing the report) on the users PC to see if that was what was missing. THis was set up to use the generic SQL Server logon details. Unfortubately the report is still trying to connect with the user's AD details.
    I had a bash at creating the VB commands to set the connection settings, but i couldn't get this to work.
    If anyone can help point me in the right direction or show me the correct code/steps to get th connection details correct, i'd be very grateful.
    Here is the code i have in my app:
    (Form1)
    Dim crxApplication As New CRAXDRT.Application
    Public Report As CRAXDRT.Report
    Private Sub cmdRunReport_Click()
    ReportPath = App.Path & "\" & File1.FileName
    If (File1.FileName = "SKU MTM Report - ADR.rpt" Or File1.FileName = "SKU MTM Report - BS100.rpt") Then
        Set Report = crxApplication.OpenReport(ReportPath, 1)
        Report.ParameterFields.Item(1).AddCurrentValue (Trim(DataCombo1.Text))
        Report.ParameterFields.Item(2).AddCurrentValue (Trim(DataCombo2.Text))
        Report.ParameterFields.Item(3).AddCurrentValue (Trim(DataCombo3.Text))
    End If
    frmreports2.Show
    End Sub
    (Form2 with Crystal ActiveX Viewer component)
    Private Sub Form_Load()
    CrystalActiveXReportViewer1.ReportSource = frmReports.Report
    CrystalActiveXReportViewer1.ViewReport
    End Sub
    Thanks in advance for any advice!
    Edited by: James McCaig on Feb 5, 2009 12:39 PM

    Here is an article on how to distribute the runtime using msm files. I think the articles was written in CR 9, but all applies, save the names of the msm files:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/901c0761-cf1d-2b10-dea4-8e83937a9337
    Note that you have to use a utility such as Wise, InstallShield, MS Visual Installer, etc., to create your deployment.
    I have also created a short wiki that describes the msm downloads for each version of CR:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsReportDesignerComponentRuntimeDistribution-Versionspre8.0.xto12.0
    Ludek

  • Error "424 Object Required" when opening journal report using HFM 11.1.2.1

    Hi experts,
    I've installed EPM 11.1.2.1 along with Hyperion Financial Management and Financial Reporting on an virtual machine (OS is windows server 2008),
    when I logon to workspace and tried to open an journal report in HFM-Format, appears error message as follows:
    An error has occurred. Please contact your administrator
    Error Number:424
    Error Description: Object required
    Error Source: Microsoft VBScript runtime error
    Page On which Error Occurred:../reports/CheckStatus.asp
    I've checked oracle support and found article ID 967025.1 describing almost the same issue of mine,
    but the suggested solution was to add workspace and HFM web server to trusted site. (I'm using IE9)
    I did so as well as other recommended browser settings but still the error remains.
    The article said the solution was applied to Version 9.2.0.0 to 11.1.1.3, so I'm not sure if version 11.1.2.1 has other causes or solutions.
    Could experts provide any ideas?

    I believe you might have already done with the below steps, but please reconfirm:
    1) Ensure, that both the Hyperion Workspace URL AND the HFM webservername i.e(Http://<hfmwebservername>/hfm) is added in the sites button in the Trusted sites option. under Security tab.
    2) Here is a list of Internet Explorer settings which are recommended to be set on the client machine:
    1. Configure browser to check for new version every time user visits a page
    * Open Internet Explorer
    * Go to Tools > Internet options > General
    In 'Browsing history' section select 'Every time I visit the webpage'
    * Click Ok, then Apply.
    2. Disable default pop-up blocking
    * Open Internet Explorer
    * Go to Tools > Internet options > Privacy tab
    Uncheck 'Turn on Pop-up Blocker'
    3. Add workspace URL to trusted sites
    * Open Internet Explorer
    * Go to Tools > Internet options > Security tab
    * Select Trusted sites from Select a zone to view or change security settings.
    * Type your workspace URL in form http://workspaceserver:portnumber in 'Add this website to the zone'
    * Uncheck 'Require server verification (https:) for all sites in this zone'
    * Click Add, then Close.
    * Click Ok and Apply.
    4. Minimize security setting for trusted sites
    * Open Internet Explorer
    * Go to Tools > Internet options > Security tab
    * Select Trusted Sites from select a zone to view or change security settings
    * Select custom level
    * From Reset to list select Low
    * Click Ok
    * Click Apply, then Ok
    5. Customize security settings
    * Open Internet Explorer
    * Go to Tools > Internet options > Security Tab > Custom Level
    * In 'Miscellaneous' section enable the option "Allow script-initiated windows without size or position constraints"
    * In 'ActiveX controls and plug-ins' section enable “Run ActiveX controls and plug-ins” and “Script ActiveX controls marked safe for scripting.”
    6. Enable option "Always allow session cookies".
    * Open Internet Explorer
    * Go to Tools > Internet options > Privacy Tab > Advanced > Check the "Override automatic cookie handling" and accept the first and third party cookies and check the "Always allow session cookies" option.
    7. Disable option "Enable Native XMLHTTP".
    * Open Internet Explorer
    * Go to Tools > Internet options > Advanced Tab > Uncheck the option "Enable Native XMLHTTP"
    If still facing the same issue, perform the below action plan:
    1) Give full permission to Filetransferfolder and try generating the reports.
    2) Add the Everyone user and dcom user to BIPubSystemReports.
    DCOM Config-> BIPubSystemReports-> Security tab-> add the users in Launch and Activation Permission, Access permissions and Configuration Permissions.
    Best regards.

  • Error on file m293 when installing Crystal Reports Enterprise XI sp4

    I am trying up upgrade Crystal Reports Enterprise XI from sp2 to sp4.  When I run the crsxir2win_sp4.exe it runs for awhile and then an error is return indicating that it can not find the file m293.cab.  I looked in the temporary folder when the install program exploded the files and I see a lot of mXXX.cab files but I do not see m293.  Is there a problem with the file I downloaded.
    Thanks
    Adam

    I have the same problem.

  • Cannot load report from server in Crystal Reports 2013 Viewer

    Hello,
    I am having trouble opening a report that is hosted on a Crystal Reports Server (2013) from the Crystal Viewer.  I've created and uploaded the reports using the report designer (version 2013).  The reports have been uploaded using the "Save As -> Enterprise" to save to my enterprise server.  This part works fine.  I then navigated to the Crystal Reports Viewer to open my report (that I just uploaded w/ the designer) from the server.  Depending on the report, one of two things happens:
    1.) I get a loading bar at the bottom right of the screen that says "Operation in progress . . ." followed by an error message:
    Unable to Refresh Report
    A problem occurred while refreshing on the server. The report may not be configured properly for refresh.
    Please contact your server administrator. (me)
    2.) I get a loading bar at the bottom right of the screen that says "Refreshing <file name of the report> (<server name>)" followed by... nothing.  The loading bar goes away and nothing happens.  It goes back to the screen that shows when the application first loads (blank canvas).
    I've taken some basic troubleshooting steps to try and rule out any potential issues that came to mind, but I've not been successful.
    Any help would be appreciated, thanks!

    Hi
    Check the below thread
    Crystal Reports 2013 data didn't refresh using OLE DB Provider for SQL Server
    With Regards
    Balaji Sampath

  • Deadlocked error message when running crystal report

    Hi All,
    I need a bit of guidance as to the following problem.
    Seems there is a lock being created in SQL when running some crystal reports.
    When trying to run a report the following message is displayed:
    Database connection Error L 'ADO Error Code: 0x
    Source: Microsoft SQL Native Client
    Description: Transaction (Process ID 302) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
    SQL State: 40001
    Native Error: [Database Vendor Code: 1205 ]'
    The error is happening intermittently when refreshing the report. It does not seem to happen when no users are using the system.
    Is there any way to stop this from happening? Or is this some kind of limitation with crystal and how it accesses the database?
    Many Thanks,
    Matt

    Hi Matt
    I have had this problem with long running queries as well.  I ended up doing the main part of the query in a view using WITH (NOLOCK) for each table and then reporting on the view.
    This had extra benefits of making the report much simpler and often making the query more efficient and easier to test as well.
    Rob

  • Crystal Report Viewer Credential Prompt for Report with Dynamic Parameters

    The .NET Crystal Report Viewer is prompting for database credentials when launching a report containing dynamic parameters. This only occurs for reports created with SAP Crystal Reports 2011 designer. Reports created with Crystal Reports XI designer (where dynamic parameters were first introduced) work correctly.
    The credential prompt window contains the following fields:
    - Server Name: <server name> (disabled)
    - Database Name: <database name> (disabled)
    - User Name: <empty> (enabled)
    - Password: <empty> (enabled)
    - Use Single Signon Key: false (disabled)
    The values in the prompt window which are disabled are the database connection values used during the design of the report in the SAP Crystal Reports 2011 designer.
    Expected Result:
    - No prompt for database credentials.
    - Values read from the database should be populated in a drop down for the dynamic parameters.
    Environment:
    - Visual Studio 2010 (C#)
    - Windows 7 Enterprise
    - SAP Crystal Reports runtime engine for .NET Framework 4
    - SAP Crystal Reports, version for Visual Studio 2010
    - SAP Crystal Reports 2011
    The database connection is being set to use a DSN. It must be a DSN as the calling application is only aware of the DSN/Username/Password values. These values are being passed to the Crystal Report Viewer contained in a Windows form.
    The database connection for the report is being set as follows:
    foreach (InternalConnectionInfo internalConnectionInfo in this.report.DataSourceConnections)
        // Must set the UseDSNProperties flag to True before setting the database connection otherwise the connection does not work
        if (internalConnectionInfo.LogonProperties.ContainsKey("UseDSNProperties"))
            internalConnectionInfo.LogonProperties.Set("UseDSNProperties", true);
        // Supposed to set the database connection for all objects in the report (ie. main report, tables, sub reports)
        internalConnectionInfo.SetConnection(this.DSN, string.Empty, this.LoginName, this.Password);
    The SetConnection method's signature is as follows:
       SetConnection(string server, string database, string name, string password)
    As you can see from the code snippet above I am setting the DSN name as the server parameter, blank for the database parameter (a database connection using DSN should only require DSN name/Username/Password) and the database username and password respectively.
    Is this a SAP bug?
    Is this the correct way of setting the database connection to use a DSN?
    Is there some other properties that need to be set somewhere else in the report through code?
    Any help would be greatly appreciated.

    Thanks for the pointer to the database connection code generator. After taking a look at the output from the tool I was able to finally get the dynamic parameters to load and populate properly without prompting for credentials. I needed to tweak the outputted code a bit to match my requirements of using a DSN only connection.
    Instead of updating the database connection properties contained within the Report.Database.Tables collection from the CrystalReports.Engine namespace, I changed it to replace the database connection properties in the Report.ReportClientDocument.DatabaseController.Database.Tables collection from the CrystalDecisions.ReportAppServer.DataDefModel namespace. For one reason or another, using the RAS namespace solved the problem.
    Below is the updated code with the change made:
    using RAPTable = CrystalDecisions.ReportAppServer.DataDefModel.Table;
    foreach (InternalConnectionInfo internalConnectionInfo in this.report.DataSourceConnections)
        // Must set the UseDSNProperties flag to True before setting the database connection
        if (internalConnectionInfo.LogonProperties.ContainsKey("UseDSNProperties"))
            internalConnectionInfo.LogonProperties.Set("UseDSNProperties", true);
        // Sets the database connection for all objects in the report (ie. main report, tables, sub reports)
        internalConnectionInfo.SetConnection(this.DSN, string.Empty, this.LoginName, this.Password);
    // The attributes for the QE_LogonProperties which is part of the main property bag
    PropertyBag innerPropertyBag = new PropertyBag();
    innerPropertyBag.Add("DSN", this.DSN);
    innerPropertyBag.Add("UserID", this.LoginName);
    innerPropertyBag.Add("Password", this.Password);
    innerPropertyBag.Add("UseDSNProperties", "true");
    // The attributes collection of the tables ConnectionInfo object
    PropertyBag mainPropertyBag = new PropertyBag();
    mainPropertyBag.Add("Database DLL", "crdb_ado.dll");
    mainPropertyBag.Add("QE_DatabaseType", "OLE DB (ADO)");
    mainPropertyBag.Add("QE_LogonProperties", innerPropertyBag);
    // Pass the database properties to a connection info object
    ConnectionInfo connectionInfo = new ConnectionInfo();
    connectionInfo.Attributes = mainPropertyBag;
    connectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
    connectionInfo.UserName = this.LoginName;
    connectionInfo.Password = this.Password;
    // Replace the database connection properties of each table in the report
    foreach (RAPTable oldTable in this.report.ReportClientDocument.DatabaseController.Database.Tables)
        RAPTable table = new RAPTable();
        table.ConnectionInfo = connectionInfo;
        table.Name = oldTable.Name;
        table.QualifiedName = oldTable.QualifiedName;
        table.Alias = oldTable.Alias;
        this.report.ReportClientDocument.DatabaseController.SetTableLocation(oldTable, table);
    this.report.VerifyDatabase();
    Thanks again Ludek for the help.

  • Error while opening Crystal report 2008

    Hi All,
    I get the following error when I try to open crystal report 2008 trial version:
    "Entry Point Not Found The procedure entry point ?CanStackDump@SLogger@CXLib400@@SA_NXZ could not be located in the dynamic link library cxlibw-4-0.dll."
    To over come this I tried to install crystal report 2008 SP1 but it didn't help,
    even I uninstalled all Crystal report setup and tried to install Crystal report 2008 server even that didn't helped.
    Kindly suggest some solution.
    Thanks
    Deep Kulshrestha

    Hi Deep,
    Try these links:
    http://boardreader.com/thread/ERROR_SvcMgr_exe_Entry_Point_Not_Found_5cb3X2r3z.html
    http://www.tek-tips.com/viewthread.cfm?qid=1505754&page=11
    I hope they will help.
    Jesper

  • Script Error on opening Crystal Reports

    Hi
    In the last couple of months a few computers in my office with Crystal Reports are having a few problems. The main one is on opening the program, I get the following error message:
    Script error
    Line 0
    Position 1
    <!DOCTYPE HTML PUBLIC"-//W3C/DTD HTMAL 3.2 Final//EN">
    Since this has been happening, I have noticed that Crystal will throw unhandled exceptions and just shut the program on more complex reports. It also cant check for updates.
    I was just wondering whether this was anything to do with a Microsoft update or whether there is a fix for this problem.
    I have Crytal Reports Developer Product Version 11.0.0.895 (I cannot run any updates) on Microsoft XP Pro.
    I would be grateful for any ideas how I can solve this issue.
    Thanks
    Nic

    Hi niceastham,
    Check the following thread
    HTML Preveiw for Crystal report
    Re: HTML In Crystal Report
    Re: HTML Interpretation Behavior
    *Close the thread if issue solved.
    Regards
    Jambulingam.P

  • How to prevent BIP login screen pop-up when opening  BIP report from Dashbo

    Hi
    My customer linked BI Publisher report on the Dashboard page by setting
    "Embedded Content" as "http://172.18.1.91:7001/xmlpserver/servlet/report".
    Customer could open Dashboard directly(just login Dashboard. no need to login BIP) until applied patch 13399232.
    After applied this patch,BIP login scrren pop-up everytime when opening dashboard.
    Customer's BIP is 10.1.3.4.
    Is there any way to prevent BIP login pop-up?
    I tested in my BIP 10.1.3.4 enviroment which patch 13399232 doesn't be applied in.
    I got the different behaviour with customer's.
    I have to login BIP everytime when I openning dashboard.
    The only difference between my setting with Customer's is that I added
    "Embedded Content" as http://jpdel1203.jp.oracle.com:7777/xmlpserver/~administrator/Test/Test.xdo (It's hostname not IP address)
    Is there sth i should set between BIP and dashboard ?
    Does anyone kindly advise it?
    Thank you in advance.
    Best Regards
    Liying

    Check your BIP integration with Analytics: BIP Admin integration with SAW. Ensure the user and password to proxy into BIP from BIEE is correct.
    regards
    Jorge

  • Crystal Report Runtime Error 9.0.Could not open the report

    Hi,
    Getting the Crystal Report Runtime Error 9.0.Could not open the report while Run on Launch Application. Actually in Launch Application, created a link for exe which is having crystal reports. We can open the Crystal Reports from the exe outside B1.
    Note: SAP 2007, Crystal Report 2008 is using.Normally can open crystal report.
    Any help to fix the error is appreciated.
    Thanks & Regards,
    Parvatha Solai.N

    Hi,
    Please post screen shot of error message here.
    Thanks & Regards,
    Nagarajan

Maybe you are looking for