Report in production prompts for database connection info

Hi,
I'm using SAP Crystal Reports version for VS 2010 SP1. I'm trying to implement the most basic need--to create reports in a development environment and move them to production by just copying the .rpt files. I want to rely on the database connection string from web.config, but don't see how that is done. I've tried using ADO.NET DataSets from Project Data and can get the report to run while developing, but when I move to another server I'm always prompted with the "The report you requested requires further information" dialog.
I tried this solution, which keeps the db server name in a web.config variable:
           ReportDocument boReportDocument = new ReportDocument();
            boReportDocument.Load(Server.MapPath(rmCR.SelectedItem.Value.ToString()));
            ConnectionInfo boConnectionInfo = new ConnectionInfo();
            boConnectionInfo.ServerName = ConfigurationManager.AppSettings["dbServerName"];
            boConnectionInfo.DatabaseName = "dbCMRP_Employees";
            boConnectionInfo.IntegratedSecurity = true;
            ModifyConnectionInfo(boReportDocument.Database, boConnectionInfo);
            // Modify the ConnectionInfo for all tables in all subreports
            foreach (ReportDocument boSubreport in boReportDocument.Subreports)
                ModifyConnectionInfo(boSubreport.Database, boConnectionInfo);
            Session.Add("Report", boReportDocument);
            Response.Redirect("CrystalReportsViewer.aspx");
and this works fine in development, but when moved to a different server I get the "The report you requested requires further information" dialog. I've made sure that the db has the correct security settings, but can't find anything missing.
I'm sure I'm missing something basic, but can't seem to find any solution after searching for days. Any solution that allows me to create the report in VS 2010 and copy to a production server will be appreciated.
Thanks,
Dan

Thanks for your replies.
I think I've done what's outlined in the Troubleshooting Guide link that Ludek gave me.  I did install Process Monitor and found the "Access Denied" entry, but I'm not sure which folder needs permission given to IIS APPPOOL\ASP.NET v4.0.
Here's the entry from Process Monitor:
Description:        IIS Worker Process
Company:           Microsoft Corporation
Name:  w3wp.exe
Version:               7.5.7601.17514
Path:     C:\Windows\SysWOW64\inetsrv\w3wp.exe
Command Line:                C:\Windows\SysWOW64\inetsrv\w3wp.exe -ap "ASP.NET v4.0" -v "v4.0" -l "webengine4.dll" -a
.\pipe\iisipm461f344a-3d68-4e7c-b42e-ca18eac4553c -h "C:\inetpub\temp\apppools\ASP.NET v4.0\ASP.NET v4.0.config" -w "" -m 0 -t 20
PID:        7512
Parent PID:         3892
Session ID:          0
User:     IIS APPPOOL\ASP.NET v4.0
Auth ID:               00000000:00465886
Architecture:     32-bit
Virtualized:         False
Integrity:             High
Started:                8/29/2011 1:03:58 PM
Ended:  (Running)
Modules:
w3wp.exe           0x120000             0x8000  C:\Windows\SysWOW64\inetsrv\w3wp.exe      Microsoft Corporation                7.5.7601.17514
Microsoft.Web.Administration.dll            0x28ae0000        0x24000                C:\Windows\assembly\GAC_MSIL\Microsoft.Web.Administration\7.0.0.0__31bf3856ad364e35\Microsoft.Web.Administration.dll                Microsoft Corporation   6.1.7601.17514
App_Web_822ce1a1f503e532a2e860f7ce344f6d0d0f2eba.ascx.3417f053.eb4fk61t.dll     0x28b10000        0x8000                C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\intranet\58a686e6\86baa618\App_Web_822ce1a1f503e532a2e860f7ce344f6d0d0f2eba.ascx.3417f053.eb4fk61t.dll                n/a         0.0.0.0
App_Web_aed28e8a45aa161f6c9fc3f563283cb89b317bdc.ascx.3417f053.rodqolhn.dll     0x28c90000         0x8000                C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\intranet\58a686e6\86baa618\App_Web_aed28e8a45aa161f6c9fc3f563283cb89b317bdc.ascx.3417f053.rodqolhn.dll                n/a         0.0.0.0
pvlocale-1-0.dll 0x2fc80000          0x76000                C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\pvlocale-1-0.dll      SAP BusinessObjects                14.0.0.760
System.Data.Entity.ni.dll              0x2fd50000         0xcb8000                C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Data.Entity\978e8514751373383f79c3fdd667aa2b\System.Data.Entity.ni.dll                Microsoft Corporation   4.0.30319.1

Similar Messages

  • Dynamic Parameter Prompting for Database Connection Password

    Post Author: rsharp
    CA Forum: Publishing
    Hi
    I've been finding recently that reports using dynamic parameters and published into Crystal Server prompt for the database connection password when the dynamic parameter is accessed.  Thing is, this only started happening recently for new and already existing reports with dynamic parameters and I don't know why.  In Crystal Reports the dynamic parameter can be accessed without a database connection prompt being displayed but not after publishing.  (Maybe there's a problem with the Publishing Wizard?)  Static parameters work just fine just as they always have, but I'm a bit mystified by the fact that dynamic parameters used to work (without prompting) but now they don't.  Any advice or opinion would be much appreciated.

    Post Author: amr_foci
    CA Forum: Publishing
    from the CMC you have to set the default connection or wat connection should this report use,
    go to this report in CMC, click process tab, and check the connection

  • Dynamic Parameter Prompting for Database Connection Password When schedulin

    I'm having problems with Dynamic Parameters when I try to schedule a report in InfoView.
    I create the report in Crystal Reports XI and publish it to the Crystal Server. I go into CMC and under Process:Database set the correct data source and enter the server, database, user and password.
    When the report is run I can choose a dynamic parameter and the reports runs fine - it's when I try to schedule the report and choose the parameter that I am asked to enter the user and password for the database.
    If the parameter is static it's fine and I don't get prompted. Because I want the end-users to schedule their own reports I need to have the user and password embedded in the report.
    From what I've read in the forums, there seems to be a lot of issues with dynamic parameters and database logons, and no real solutions. But this is just weird that it's only failing when I try to schedule the report!

    I am having the same issue. 
    Issue started on 9/25/2008
    Existing BO 11r2 installation including service pack 2
    Windows Server 2003 Service pack 2
    Existing scheduled reports do not exhibit this behaviour and run correctly.
    Add new or update existing report. Log into the CMC as administrator and set process for database and parameters.
    Exit CMC
    log into Infoview.  Click on report and run (as administrator OR as existing user with permissions) NO PROBLEM.
    Log into Infoview as Administrator or existing users with permissions) as attempt to schedule report.  All reports Any dynamic parameter and request for user name and password opens.  Once the correct info is entered the report can be scheduled.
    This is a new issue on our installation, we have been running without problems for over a year.
    Any help appreciated.

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

  • Report sometimes prompts for database logon prior to execution

    I have installed the Crystal Reports Integration Addon on our system and it works correclty for users on our terminal services server.  But when I installed it on a user's PC running Windows XP, when I go to execute an existing report, the Runtime viewer launches, and then displays a Database logon panel with the Server field filled in, the database field is blank, and the SA user and password fields are populated, and I get an error that says logon failed.  I type in the SA user id and password, but get the same error.
    If the same user logs onto the TS server, the runtime viewer launches correctly and the report prompts for input, then displays the appropriate data (no database logon is requested). But if it runs at that user's workstation, the viewer launches, and then prompts for database logon.
    We are running SAP 2007A SP00 PL47, CR Basic 2008 for SAP Business One, and the runtime viewer is Crystal Reports 2008 Runtime SP1. version 2.0.0.7

    Hi Bruce,
    I am not sure what the problem is.
    The only workaround I can think of is to change the Integrated Security in the report to true. This means that you will be using Windows Authentication as opposed SQL Authentication. This will not prompt for SQL username and password.
    Usually this is NOT an ideal process as you will have to Add each and every Windows user in the SQL Database you are trying to access. For example, you have to add DOMAIN_NAME\User_Name under the Database Properties.
    I am not sure what the minimum security you need to run the report. You will try a few different options and see what works best for you. Avoid permissions that would give users ability to write to the SQL database.
    Again, I know this is not ideal. But I am not sure what else can be done here.
    Krishnan

  • CrystalReports prompting for database details

    Hello all,
    I am posting this issue for the second time.. In my previous post, I didn't get a solution.
    For some reason a few of the reports that we run are prompting for database information for no apparent reason. I have provided a screen shot of what the behavior looks like.  Can you please let me know if you have any ideas on what might be causing this?  I have written a number of reports with the same use but for some reason only a few behave in this way.
    Any ideas you may have would be helpful.
    [Crystal Report DB Login screen|http://img214.imageshack.us/img214/7665/image006cy.jpg]
    Thanks in advance
    Anoop

    Hi..
    I am using CrystalRepots 12.2 in my machines and .NET Framework 2.0.
    I am using vb.net 2005 for developing applications.
    I am using SQL 2005 Database.
    Connection using is ADO.NET
    Here is the database login source code. Please check it.
    <pre>
                Dim c As ConnectionInfo
                Dim crDB As Database
                Dim crTables As Tables
                Dim crTable As Table
                Dim TblLogonInfo As TableLogOnInfo
                Dim crSections As Sections
                Dim crSection As Section
                Dim crReportObjects As ReportObjects
                Dim crReportObject As ReportObject
                Dim crSubreportObject As SubreportObject
                Dim subRepDoc As New ReportDocument
                Dim ServerName As String, DatabaseName As String
                    Me.rptDoc.Load(sCRPath, OpenReportMethod.OpenReportByTempCopy)
                    ServerName = ActiveCompanyServer
                    DatabaseName = ActiveCompanyDB
                    c = New ConnectionInfo
                    'Set Conenction info for DB
                    With c
                        .ServerName = ServerName
                        .DatabaseName = DatabaseName
                        .UserID = "sa"
                        .Password = SAPsaPwd
                    End With
                    'Associate DB to the report
                    crDB = Me.rptDoc.Database
                    'Instantiate Tables collection
                    crTables = crDB.Tables
                    'Loop thru tables in report and set connection information
                    For Each crTable In Me.rptDoc.Database.Tables
                        TblLogonInfo = crTable.LogOnInfo
                        TblLogonInfo.ConnectionInfo = c
                        crTable.ApplyLogOnInfo(TblLogonInfo)
                        crTable.Location = c.DatabaseName & ".dbo." & _
                                 crTable.Location.Substring(crTable.Location.LastIndexOf(".") + 1)
                    Next
                    'Set the sections collection with report sections
                    crSections = Me.rptDoc.ReportDefinition.Sections
                    'Loop through each section and find all the report objects
                    'Loop through all the report objects to find all subreport objects, then set the
                    'logoninfo to the subreport
                    For Each crSection In crSections
                        crReportObjects = crSection.ReportObjects
                        For Each crReportObject In crReportObjects
                            If crReportObject.Kind = ReportObjectKind.SubreportObject Then
                                'If you find a subreport, typecast the reportobject to a subreport object
                                crSubreportObject = CType(crReportObject, SubreportObject)
                                'Open the subreport
                                subRepDoc = crSubreportObject.OpenSubreport(crSubreportObject.SubreportName)
                                crDB = subRepDoc.Database
                                crTables = crDB.Tables
                                'Loop through each table and set the connection info
                                'Pass the connection info to the logoninfo object then apply the
                                'logoninfo to the subreport
                                For Each crTable In crTables
                                    With c
                                        .ServerName = ServerName
                                        .DatabaseName = DatabaseName
                                        .UserID = "sa"
                                        .Password = SAPsaPwd
                                    End With
                                    TblLogonInfo = crTable.LogOnInfo
                                    TblLogonInfo.ConnectionInfo = c
                                    crTable.ApplyLogOnInfo(TblLogonInfo)
                                    crTable.Location = c.DatabaseName & ".dbo." & crTable.Location.Substring(crTable.Location.LastIndexOf(".") + 1)
                                Next
                            End If
                        Next
                    Next
    </pre>
    I had been using the same code from the year 2005(last 5 years). But didn't see this error before.
    Also i am getting this error only for 2 or 3 reports.
    I guess the issue is with the crystal report design.
    Any way please help me.
    Thank you
    Anoop

  • Prompt for database logon information

    I am using CRS XI R2 SP4 on Windows
    I installed a report on the server and completed the datasource information and set the checkbox for using the same database info when report is run.
    However when the run is run the user is prompted for database user/password the other fields such as database host and database name are read-only.
    The only difference between this report and other reports that do not exhibit this behavior is that this report has a sub-report that uses a Command object
    Please suggest ways to suppress the database login prompt.
    Regards
    Lawrence

    did not receive a response to my question

  • Infoview prompts for database logon screen when updating dynamic parameter

    I have already set up initial database ID/PW for the report in CMS, but when I I tried to update my parameter to schedule the report, it is requiring the user to enter database ID/PW again........Is there a way to set this up so that the user can bypass this step since it is quite annoying?
    Thanks.

    Is your lov created Business View Manager? If it is, you can store the userid and password in the data connection your business view is based on.
    1) Start Business View Manager. Close the default screen that appears.
    2) Click View > Repository Explorer on the menu bar.
    3) Expand the Dynamic Cascading Prompts folder. Locate the "Data Connection" for the appropriate dynamic parameter. It will be in the form of <parameter_name>_DC (i.e. it will have the name of the parameter and then '_DC').
    4) Double-click the Data Connection. "Property Browser" will appear.
    5) Type the database user name and password in that Property Browser.
    6) Set the Runtime Prompt to Never Prompt.
    7) Save the changes to the Data Connection.
    The prompt for database logon information will no longer appear when changing parameter values.
    Hitomi

  • Report does not prompt for parameters when SeparatePages=False

    Hi all. We are using CR2008 Basic w/SP1 along with VS2008. Within our application, reports pull up fine and prompt for parameters using the CrystalReportViewer against the web service. SeparatePages is set to True. We want to change SeparatePages to False, but when I do that any report that should prompt for parameters is not.
    The reports were created in CR 8.5. We have upgraded them to CR2008 (open, refresh, save) which has greatly increased performance. With some further testing, I've discovered that if I take a report that doesn't currently have any parameters and add one via VS2008 report designer, it WILL prompt for the parameter when I run it in our application with SeparatePages=False.
    So I'm leaning that the problem has to do with the reports originally being created in 8.5. I've tried modifying an existing report with parameters, deleting parameters and re-adding, but I still can't get these to prompt for parameters with SeparatePages=False.
    Again, these same reports prompt for parms and work fine as long as SeparatePages=True.  I'm hoping someone might be able to shed some light on this. There are over 400 reports so re-creating them from scratch under CR2008 will be a painful option
    If I need to provide any additional information just let me know. Thank you!
    Sheila

    We are still working to resolve this issue. Testing has shown that for reports that don't return a lot of data, the prompt for parameters will display. But for larger reports, we just see the hour glass and the parameter prompt never displays. It's almost like the reports are trying to return the full dataset without any paramters being passed BEFORE it will prompt for parameters. This would explain why smaller reports will prompt and larger reports never will (?). Not sure that is what is happening.  Again, with SeparatePages=True we are immediately given the parameter prompt. With SeparatePages=False we run into the issue of no prompts.
    Here's the code behind if it help:
    ReportDocument report = new ReportDocument();
    try
        String rptFileName = @"App_Data\Reports\" + Request.QueryString.GetValues(0).GetValue(0).ToString();
        log.writeLog("Loading Report: " + rptFileName);
        String rptFile = Server.MapPath(rptFileName);
        report.Load(rptFile);
        report.Refresh();
        ConnectionInfo crConnectionInfo = new ConnectionInfo();
        log.writeDebugLog("ServerName : " + rProperties.ODBCSource);
        crConnectionInfo.ServerName = rProperties.ODBCSource;
        log.writeDebugLog("DatabaseName : " + rProperties.ODBCSource);
        crConnectionInfo.DatabaseName = rProperties.ODBCSource;
        log.writeDebugLog("UserID : " + rProperties.ODBCUser);
        crConnectionInfo.UserID = rProperties.ODBCUser;
        log.writeDebugLog("Password : " + rProperties.ODBCPassword);
        crConnectionInfo.Password = rProperties.ODBCPassword;
        foreach (CrystalDecisions.CrystalReports.Engine.Table table in report.Database.Tables)
            TableLogOnInfo crTableLogOnInfo = new TableLogOnInfo();
            crTableLogOnInfo.ConnectionInfo = crConnectionInfo;
            table.ApplyLogOnInfo(crTableLogOnInfo);
    catch (Exception err)
        log.writeLog("Error Loading Report: " + err.ToString());
        this.lblError.Text = err.ToString();
        this.ErrorTable.Visible = true;
        this.ReportTable.Visible = false;
        return;
    CrystalReportViewer1.HasCrystalLogo = false;
    CrystalReportViewer1.ReportSource = report; // _serverFileReport;

  • Prompting for Database logon

    Hi all,
    I hardcoded the database logon credentials for a report on CMC and selected " Use the same logon Details when you run". But when i am running the report on Infoview it is prompting for Database logon credentials. I dont want the user to be prompted for logon credentials when he runs the report from Infoview. Is there any other configuration do i need to do on CMC side. I have few other reports running on the same database, when we run those reports it is not asking for logon credentials. It is asking for only that specific report.
    Any ideas would be greatly appreciated.
    Environment: BOXI3.1, Crystal Reports 2008 and SQL server 2005.
    Thanks and Regards
    Sudharsan.

    Moving to BOE forums

  • Could not load library for database connection LCA

    Hi,
    I am facing RFC connection prblem while connectiong to database. I have installed SCM5.1 and live cache in single server
    Please find the logs.
    Work process log:
    B Mon Jul 20 11:19:13 2009
    B  create_con (con_name=LCA)
    B  Loading DB library 'E:\usr\sap\SC7\DVEBMGS03\exe\dbsdbslib.dll' ...
    M  *** ERROR => DlLoadLib: LoadLibrary(E:\usr\sap\SC7\DVEBMGS03\exe\dbsdbslib.dll) Error 126 [dlnt.c       241]
    M          Error 126 = "The specified module could not be found."
    B  *** ERROR => Couldn't load library 'E:\usr\sap\SC7\DVEBMGS03\exe\dbsdbslib.dll'
    [dbcon.c      4731]
    B  ***LOG BYG=> could not load library for database connection LCA        [dbds#1 @ 1035] [dbds    1035 ]
    A
    A Mon Jul 20 11:21:58 2009
    A  GENER starting remote generation: /SAPAPO/OM_SYNC_LC_DB (requested by W1).
    B
    SM21:
    No shared library found for the database with ID LCA|
    No shared library found for the database with ID LCA
    /SAPAPO/OM17|/SAPAPO/OM_SYNC_LC_DB|K |SAP Web AS Problem|SBAC   |
    Documentation for system log message BY G :
    As well as the standard connection, an attempt was made to set up
    another database connection, under the specified ID. The Shared Library
    for this second database could not be found.
    The Shared Library is usually found in the the Executable
    directory (profile parameter DIR_LIBRARY) under the name dbs
    <dbs>slib<os_ext>. <dbs> stands for the database type and <os_ext>
    stands for the operating system-specific extension of the Shared
    Libraries.
    The database type is determined from the entry that corresponds to the
    specified DB ID in the table DBDCON. Check whether the data in this
    entry is correct.
    ST22
    Runtime Errors         DBIF_DSQL2_CONNECTERR
    Exception              CX_SY_NATIVE_SQL_ERROR
    Date and Time          20.07.2009 11:22:21
    Short text
    Error setting up a secondary database connection
    What happened?
    Connection to database system not possible with identifier "LCA".
    |----
    System environment
    SAP-Release 700
    Application server... "
    Network address...... "
    Operating system..... "Windows NT"
    Release.............. "5.2"
    Hardware type........ "8x AMD64 Level"
    Character length.... 16 Bits
    Pointer length....... 64 Bits
    Work process number.. 8
    Shortdump setting.... "full"
    Database server... "
    Database type..... "ORACLE"
    Database name..... "SC7"
    Database user ID.. "SAPSC7"
    Terminal................. " "
    Char.set.... "C"
    SAP kernel....... 701
    created (date)... "Jul 6 2009 23:47:55"
    create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
    Database version. "OCI_10201_SHARE (10.2.0.2.0) "
    Patch level. 50
    Patch text.. " "
    Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
    SAP database version. 701
    Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2, Windows
    NT 6.0"
    Information on where terminated
    Termination occurred in the ABAP program "SAPLSLCAPPS" - in
    "LCA_EXISTS_LCA_ROUTINE".
    The main program was "/SAPAPO/TS_BATCH_RUN ".
    In the source code you have the termination point in line 23
    of the (Include) program "LSLCAPPSU05".
    The program "SAPLSLCAPPS" was started as a background job.
    Job Name....... "MACROS"
    Job Initiator.. "SC7GEN"
    Job Number..... 10222002
    The termination is caused because exception "CX_SY_NATIVE_SQL_ERROR" occurred
    in
    procedure "LCA_EXISTS_LCA_ROUTINE" "(FUNCTION)", but it was neither handled
    locally nor declared
    in the RAISING clause of its signature.
    The procedure is in program "SAPLSLCAPPS "; its source code begins in line
    1 of the (Include program "LSLCAPPSU05 ".
    Please help me to resolve the issue.
    Suraj

    Hi Natalia Khlopina,
    I have raised OSS message to SAP.
    Below is the information
    E:\usr\sap\SC7\SYS\exe\uc\Copy_ of_NTAMD64_15062009>sdbregview -l
    Server Utilities    e:/sapdb/programs      7.7.02.08     64 bit    valid
    DB Analyzer         e:/sapdb/programs      7.7.02.08     64 bit    valid
    PCR 7301            e:/sapdb/programs      7.3.01.21               valid
    PCR 7500            e:/sapdb/programs      7.5.00.42     64 bit    valid
    SAP Utilities       e:/sapdb/programs      7.7.02.08     64 bit    valid
    APO LC APPS         f:/sapdb/lcs/db/sap    6.00.004      64 bit    valid
    Redist Python       e:/sapdb/programs      7.7.02.08     64 bit    valid
    Base                e:/sapdb/programs      7.7.02.08     64 bit    valid
    JDBC                e:/sapdb/programs      7.6.03.02               valid
    Messages            e:/sapdb/programs      MSG 0.5010              valid
    ODBC                e:/sapdb/programs      7.7.02.08     64 bit    valid
    SQLDBC 77           e:/sapdb/programs      7.7.02.08     64 bit    valid
    Database Kernel     f:/sapdb/lcs/db        7.7.02.08     64 bit    valid
    Loader              e:/sapdb/programs      7.7.02.08     64 bit    valid
    SQLDBC              e:/sapdb/programs      7.7.02.08     64 bit    valid
    SQLDBC 76           e:/sapdb/programs      7.6.01.15     64 bit    valid
    Fastload API        e:/sapdb/programs      7.7.02.08     64 bit    valid
    C:\Documents and Settings\sc7adm>disp+work
    disp+work information
    kernel release                701
    kernel make variant           701_REL
    compiled on                   NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00
    compiled for                  64 BIT
    compilation mode              UNICODE
    compile time                  Jul  6 2009 23:47:55
    update level                  0
    patch number                  50
    source id                     0.050
    supported environment
    database (SAP, table SVERS)   700
                                  701
    operating system
    Windows NT 5.0
    Windows NT 5.1
    Windows NT 5.2
    Windows NT 6.0
    Thanks for quick responce.
    Suraj

  • So let me get this straight. I own 5. And I own 6. But when I try to open 6 am being prompted for my subscription info. When I ask for support I get referred to a forum. Remember, two licenses. Oh and since I started the project in 5, It's repeatedly fail

    I own 5. And I own 6. But when I try to open 6 am being prompted for my subscription info.Otherwise am locked out. When I ask for support I get referred to a forum. Remember, two licenses. Oh and since I started the project in 5, It's repeatedly failed to manually save, the audio just disappears, it loses the program monitor, fails to save renders, timecode window burn doesn't work, and that's just for starters.
    Thanks Adobe.
    What makes you people think this is acceptable?

    If you have the serial number version of CS6, and you have ever had even a Cloud trial installed... read Cloud takes over https://forums.adobe.com/thread/1584746

  • Report that uses web services as data source, prompts for database logon

    I have a crystal report that uses web services as a data source. When I deploy the report to Infoview it prompts me for a database username and password. Since I am not using a database it should not prompt me for these. I tried various options in the CMC->database settings for this report but it still prompts me for the database logon info or tells me that the database logon information is incorrect.
    The report work fine in the Crystal Reports Designer.
    Does anyone know how I can prevent this report from prompting me for the database logon info ?
    Thanks,

    What options have you tried in the CMC?
    Have you tried running the report in Crystal Reports installed directly on the Enterprise machine?

  • CR Server - Report with multiple sub reports prompts for SQL connection for

    I have a report published in CR Server. The Report has four subreports. When the report is run from CR Server, the initial SQL Server connection log in is automatically handled by the log in details in CR Server, but the report then prompts for SQL Server log in four times, presumably for each sub report.
    How can I get rid of these SQL login prompts?
    Rgds
    Tony Maguire

    ARF
    Yes - it looks like it might have been to do with the contents of the ".sqldeveloper" directory. Probably SQL Developer may have got confused with me running the same SQL on the same database under different users.
    We create a read-only user to carry out queries against the live schema. This read-only user has only select privileges and no insert/update/delete privileges.
    Thanks for the feedback

  • Crystal Report Viewer Not Releasing Oracle Database Connections

    I have a very simple vb.net 3.5 web application that uses the Crystal Report viewer 2008 to open a report. My requirements are as follows:
    1. Reports are built by another company and provided to us and used in a web environment
    2. All reports contain parameter fields
    3. The web application must be generic enough that a report can be added to a list and the user simply selects the report and provides database login information. The Crystal report viewer with handle the request for parameter values and prompt the user for their values.
    4. All reports connect to an Oracle 10g server.
    The above requirements have been meet and we have an extremely simple web application that runs the reports. It is working very well other than the crystal report viewer is not releasing the database connections. This is bad because the credentials are on a per user basis and that same user must login to a different oracle application simultaneously. They are being denied access because the credentials are already in use. We do not have control nor influence over the policies in use on the Oracle server. Ideally we would like to control the Crystal Report viewer so that it closes connections after use.
    The web application code is:
    Private Sub viewReports_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
    If Not IsPostBack Then
    ConfigureCrystalReport()
    End If
    End Sub
    Private Sub ConfigureCrystalReport()
    'Load the Crystal Report viewer with a report.
    Try
    Dim reportPath As String = Server.MapPath(Session("reportname"))
    crViewer.ReportSource = reportPath
    Catch ex As Exception
    Response.Write(Server.MapPath(Session("reportname")) & "
    " & ex.Message.ToString & "
    " & ex.StackTrace.ToString)
    End Try
    End Sub
    Can anyone shed some light on this topic? Thank you

    Hello, Timothy;
    By default, having the report in session will hold it open for 20 minutes.
    If you create the report as a ReportDocument object you can take it out of session and release it more efficiently. That will release the connection.
        Private Sub ConfigureCrystalReports()
            If (Session("hierarchicalGroupingReport") Is Nothing) Then
                hierarchicalGroupingReport = New ReportDocument()
                hierarchicalGroupingReport.Load(Server.MapPath("Hierarchical Grouping.rpt"))
                Session("hierarchicalGroupingReport") = hierarchicalGroupingReport
            Else
                hierarchicalGroupingReport = CType(Session("hierarchicalGroupingReport"), ReportDocument)
            End If
            myCrystalReportViewer.ReportSource = hierarchicalGroupingReport
        End Sub
    In the Form Unload of the Viewer:
                'Take the report out of session
                Session("hierarchicalGroupingReport")  = Nothing
                Session.Contents.Remove("hierarchicalGroupingReport")
                'Clean up the ReportDocument object
                hierarchicalGroupingReport.Close
                hierarchicalGroupingReport.Dispose()
                hierarchicalGroupingReport = Nothing
                GC.Collect()
    Elaine

Maybe you are looking for

  • How do I get all of the songs from the iPhone back up to show up in my iTunes library?

    I just want all of my songs to show up in my library so that I can add my new CDs to my iPhone without loosing any music. If you have any idea on how I can so this, please help me!!

  • How can I change the background color of a contact sheet?

    I'm making my contact sheet just fine but it's on a white background, and I'd like to change it to a darker gray. This functionality existed in an earlier version of Bridge but I'm not seeing it now that contact sheet is now in Photoshop. Any ideas?

  • CF MX 7 Installation Errors on Linux

    I have been planning to put a production web server up using Fedora Core 5 and Cold Fusion MX 7 for some time - Mainly because the updates on FC5 are done so much more frequenntly than most other versions of Linux I've used. So far, the only producti

  • The Web Dynpro Application 'Appl' has expired.

    Hallo altogether, i am a newbie in this area. I maked a simple Web Dynpro with two views, only for navigation test and without data transport. Everybody view consist of two elements: one TXV_Field and one BTN_Element. V_ONE: TXV_ONE with a text "View

  • 0CML_DELTA : Change pointers are not active

    Hi All, I have successfully did the delta init without data transfer for datasource 0CML_DELTA and 0CML_DELTA_CAP. Now, While trying to load delta, I am getting an error "Change pointers are not active" for both the datasource 0CML_DELTA and 0CML_DEL