Database Logon prompting is in invalid state

Hi
I have written code in Visual Studio .NET 2010 and downloaded the CrystalDecisions Client components on my local. Our System is working fine with existing Classic ASP code and we are in a plan to upgrade from 2003 to 2008 Server R2. So, thought of to re-write the code from Class Asp to Asp.NET and I am successful in converting the code and was able to execute properly until last friday i.e., 30th May, 2014. But all of a sudden since June 2nd do not know what happened but all the reports are not working as expected and the Crystal viewer is opened up and a dialog opens up as enter the login credentials. Our Login information is giving a userid and password of the DSN created. So, after giving that, the report throws an error saying
"Database Logon prompting is in Invalid state".
All the reports are in Enterprise Session loaded on a different server.
I do not see neither code change in the last 4 days nor there is a change in the Enterprise Console environment. So, I do not know the root cause of the issue. I did googled it but no one had this kind of issue earlier.
PLEASE HELP! ITS VERY URGENT.!!!!
THANKS
-SRINIVASA NADELLA
Message was edited by: Ludek Uher

Couple of admin things out of the way 1st:
1) If this is an urgent issue, please consider creating a phone incident here:
Crystal Single Case Technical Support - SAP Business Objects US Online Store | SAP Online Store
SCN is a community forum and you may get an answer, or not. It may be timely, or not...
2) Generally, bold facing, use of colors, etc., is frowned upon - in any forum (I edited your OP). For more details, please see the SCN Rules of Engagement
Now, to your issue:
Some good info provided, but the most critical part is missing;
Version of CR / BI / BO?
What database?
How are you connecting to the database.
You saying that the reports are in Enterprise Session, makes me think that you may be using BI / BO, but that is just a guess... However if you do have BI / BO, yo should be able to log a support incident via the SAP Service Market Place (SMP) (?).
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter

Similar Messages

  • Getting Database Logon Prompt when trying to run report from Infoview

    I have a user who has 2 Crystal reports loaded in InfoView.  The reports are similar except for the parameters.  When scheduling one of the reports, she is being prompted with the database logon information everytime she tries to enter the parameters.  But on the other, she isn't.  All she is prompted with is the parameters of the report.  Which setting in InfoView or CMC controls the database logon prompt? We are on BOE 11.5.
    Thanks,
    Maureen

    Dynamic Parameters. You'll want to get all your report designers up on this topic.
    When you create a dynamic parameter in a Crystal Report, and then publish it to the Enterprise, you are creating a Business View, with all it's underlying necessary layers. Dynamic Parameters exist to be able to use the same LOV (a list of current customers) from a database for more than one report. These dynamic parameter LOVs act like a mini report that runs against the database and gets the current values for selection, then the selection(s) are used to run the overall report.
    So I create a report, and in it I create a dynamic Customer LOV. When I save it, the Enterprise creates a Data Connection (DC), Data Foundation (DF), Business Element (BE), Business View (BV), and the list of values is built on the Prompt Group. So, my Business View Manager, Repository Explorer will show (in the default Dynamic Cascading Prompts folder):
    Customer_DC
    Customer_DF
    Customer_BE
    Customer_BV
    Customer - Prompt Group
    Customer (the LOV)
    The idea is that next time I create a report and need a customer parameter, I select the existing dynamic group. If the report designer is unaware of this, and next time they create a new report that needs a customer LOV, they creates a new dynamic LOV "Customer", when saved to the Enterprise, it repeats the above. Since repository objects must have unique names, you will now have additional items something like:
    Customer 2_DC
    Customer 2_DF
    Customer 2_BE
    Customer 2_BV
    Customer 2 - Prompt Group
    Customer 2 (the LOV)
    So you can see how that folder will get filled with duplicates pretty quickly. Which ones were created and used in which reports? Have to open the report in Crystal Reports, open the parameter for Edit and verify the LOV name (_2, _3, _4, etc). If you do in fact discover there are dupes, you can change it to a single one for all reports using a dynamic LOV, re-save them to the Enterprise, then delete the dupes in the BVM.
    You've already discovered how to use the BVM to update the data connection to include/save the database credentials. The only other common issue is sometimes the LOV rights need to be changed in order to allow users to "Edit" the LOV (select different values in the LOV). You'd have to run the report as an end user, not the admin account or the report designer account to verify that works.
    Another item of note is that these dynamic LOVs are run by the Report Application Server (RAS), regardless of which viewer you are using.
    The Business View Manager administration guide has more information on the subject.

  • Infoviewer - Database Logon prompt

    Hi,
    When trying to view a report via infoviewer, we get the database logon prompt for database user name / password.
    Is there a option this can be automated?
    Thanks

    Hi,
    Kindly implement the following steps:
    1. Login to CMC with an administrator account.
    2. Navigate to Folders >> Report
    3. Right click on your report and select Database Configuration.
    4. Enter the correct database credentials.
    5. By default "Prompt the user for database logon is selected" is selected. You need to select "Use same database logon as when report is run" option and update the page.
    6. Test the issue again now.
    Regards,
    Nakul

  • Enable Database Logon Prompt problem

    Post Author: saied
    CA Forum: .NET
    I have a report in which I pass the connection information to a connectionInfo object like
    ConnectionInfo connectionInfo = new ConnectionInfo();connectionInfo.UserID = "user";connectionInfo.Password = "password";connectionInfo.DatabaseName = "database";connectionInfo.ServerName = "server"; In the CrystalReportViewer smart tasks, I disable Database Logon Prompting, but when I do this, the Page Unload event is fired and the ReportDocument is set to null; therefore, throwing an object not set to an instance exception. I want to be able to bypass the Crystal Database Logon Prompt, but I can't figure out how to do it.  If anyone knows what to do, please help. Thanks, SaiedH

    I am using Visual Web Developer 2008 Edition and Crystal Reports 2008. This is one and only report so far. I am passing logon credentials from code. This report was working in crystal report but not working any more is either place crystal designer or .net.
    I have to create subreport because i have one parent table and 2 diff child tables. one header table and 2 detail line tables. I was to see in report for each header tables multiple detail line items. If i join 3 tables then it multiplies no of line items and display wrong data. e.g. one BLheader (parent) table  has 2 detail line items (1st child table)  and 3 detailAccessories (2nd child table). I want to see 1 header, 2 detail lines, and 3 Accessories.
    Please advice how should i display this in report. Thanks a lot.

  • How to use native XML driver in CR XI 2 (to avoid "Database Logon Failed")?

    Hello,
    I have a simple scenario:
    The Java Part:
    -Our Java application creates a pair of files: one XML and one XSD.
    -Both files are uploaded to an ASP.NET page along with a report (RPT file - based on the same XSD and some generated XML using the native XML driver) for rendering a PDF.
    The ASP.NET(VB) Part:
    -Reads and stores 3 files (XML, XSD and RPT) to temporary files.
    -Loads the report
    -Updates connection attributes ("Local Schema File" and "Local XML File") to point to those temporary files.
    -Exports the report to a PDF which is returned to the Java part.
    What are the correct steps to accomplish this? I keep on getting "Database logon failed." exceptions.
    My code looks like this:
    Dim doc As ReportDocument = New ReportDocument
    doc.Load(rptPath)
    Dim attr As DbConnectionAttributes
    attr = New DbConnectionAttributes()
    attr.Collection.Set("Local Schema File", xsdPath)
    attr.Collection.Set("Local XML File", xmlPath)
    Dim conn As IConnectionInfo
    conn = doc.DataSourceConnections.Item(0)
    conn.Attributes.Collection.LookupNameValuePair("QE_LogonProperties").Value = attr
    conn.Attributes.Collection.LookupNameValuePair("QE_ServerDescription").Value = xmlPath & " " & xsdPath
    conn.Attributes.Collection.LookupNameValuePair("QE_SQLDB").Value = False
    doc.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, False, "")
    Thank you for any help,
    David
    (Crystal Reports XI Rel 2. SP4, .NET assembly 11.5.3700)

    Hi,
    When you get a database logon prompt like this it normally means the dataset you're creating at runtime does not match the schema that the report was designed with.
    The simplest thing to do is write out the dataset to XML with Schema after you fill the dataset. Once you've written out the dataset you can go back to the report in Crystal Reports itself and try to point the report to the XML file directly. If you get any errors this confirms that the dataset does not match what the report is expecting.
    Try it, address any differences, and you should be all set.
    Sincerely,
    Amit

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

  • 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

  • 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

  • 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

  • Prompting for the database logon while opening the report in CMC

    I created a report and saved in the Crystal server 2008 repository.  I set the  default Database configuration as
    report > Schedule > Database Logon > set password
    or tick "Use same database logon as when report is run" in Default Settings > Database Configuration.
    But when I am click on View for the report still it is promting for the database loging name and password.
    is there any other settings required for this.
    Thanks
    Unni

    Moving to BOE forums

  • 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

  • How to set Database Logon Info, if allowDatabaseLogonPrompting="false"

    Hey,
    Here is the Version Details -
    Crystal report X1 R1
    Sql Server 2005
    Tomcat 5.5.27
    Question -
    I am using jsf viewer to dispaly report in my web project. We don't want to prompt for database logon information before showing the report to teh front user. I have seen few sample jsp code which creates the crystalreportviewer object and set the connectioninfo details and calls the processhttprequest method to render the report. I have tried the same approach and it works for us.
    But our requirement is to just use the jsf tags. Is there a way to pass the database credentials to the jsp without prompting for Logon Information or using the java code to populate the connectioninfo in crystalreportviewer instance.
    Here is the jsp file -
    <%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer" %>
    <crviewer:viewer displayGroupTree="false" viewerName="CrystalViewer"
    reportSourceType="reportingComponent"
    displayGroupTree="false"       
            displayToolbarExportButton="true"
            displayToolbarPrintButton="true"
            displayToolbarRefreshButton="true"
            displayToolbarToggleTreeButton="false"
            displayToolbarCrystalLogo="true"
    top="100"
    left="200"
    reportSourceVar="#{Report.reportSource}"
    isOwnPage="true"
    displayGroupTree="false"
    allowDatabaseLogonPrompting="false">
    <crviewer:report reportName="Report.rpt">
         <crviewer:partsViewer viewerName="CrystalViewer"
              reportSourceType="reportingComponent"
              title="Fill to Fill Report"
              numberOfRecords="10"
              showHeadings="true"
              showPageNavigationLinks="true"
              allowParameterPrompting="false"
              reportSourceVar="#{Report.reportSource}"/>
    </crviewer:report>
    </crviewer:viewer>
    I am trying to run this and it shows an error page with information Database Login Error.
    I have created the report using JDBC/JNDI database connection with trusted authentication = false.
    The Sql Server 2005 error log shows -
    Error: 18456, Severity: 14, State: 5.
    Logon       Login failed for user ''. [CLIENT: <named pipe>]
    Any help will really be appreciated.
    Thanks
    Bonyshree

    Yes within the report designer i am able to refresh the report and open and close the report without getting prompted. I am not changing any database properties at runtime and using the jar files which come with CR Release 2.
    All i am doing is to export the report in pdf format. Here is the code :
    ReportExportControl exportControl = new ReportExportControl();
    ExportOptions exportOptions = new ExportOptions();
    PDFExportFormatOptions  pdfOptions = new PDFExportFormatOptions();
    exportOptions.setExportFormatType(ReportExportFormat.PDF);                 
    exportOptions.setFormatOptions(pdfOptions);     
    exportControl.setExportOptions(exportOptions);
    exportControl.setExportAsAttachment(false);     
    exportControl.setReportSource(this.wrapper.getReportSource());
    exportControl.setName(this.wrapper.getReportName());
    exportControl.setEnableLogonPrompt(false);
    //Pass Fields object to ReportExportControl
    exportControl.setParameterFields(this.wrapper.getFields());
    //Export only works if i pass the connections object with connectioninfo object populated with username and password.
    //We want to run the report using trusted authentication i.e. we don't want to pass username and password.
    exportControl.setDatabaseLogonInfos(connections);               
    if(to_refresh)
      exportControl.refresh();
    If i don't provide the connectioninfo object with proper username and password to run the report inside the java class, it try's to logon to database using username = 'userid'. I think it picks it from the JDBC Connection String created while creating database connection for the report in the designer.
    Here is the jdbc connection string for the JDBC/JNDI connection created inside the report designer:
    !net.sourceforge.jtds.jdbc.Driver!jdbc:jtds:sqlserver://localhost:1433/customer;namedPipe=true!user=!password=.
    Is there a way to get pass this problem??? Is there a way to force the connection from the java class to use trusted authetication??? Can we change the connection string to replace the userid with empty string to force trusted authetication???
    Any help will be really appreciated.
    Regards
    Bonyshree

  • Reg: DBMS_JAVA is in invalid state

    All,
    1) While exporting the data(logical backup) for specific user, im prompted with
    Export: Release 9.2.0.1.0 - Production on Wed Jul 15 21:21:23 2009
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    Export done in WE8MSWIN1252 character set and UTF8 NCHAR character set
    server uses UTF8 character set (possible charset conversion)
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user SYS
    . exporting PUBLIC type synonyms
    EXP-00008: ORACLE error 6575 encountered
    ORA-06575: Package or function DBMS_JAVA is in an invalid state
    EXP-00000: Export terminated unsuccessfully
    2) It is also observed that on querying
    select * from dba_registry
    XDB     Oracle XML Database     9.2.0.4.0     INVALID     12-MAR-2007 19:20:03     SYS     XDB     DBMS_REGXDB.VALIDATEXDB     (null)     (null)
    the Oracle XML database is in INVALID state and some of the packages "XMLATTRCOVER","XMLDOCUMENTCOVER","XMLTEXTCOVER" ETC are in invalid state.
    Please any ideas would be great in resolving the issue.
    Regards,
    ORA

    While logged in as SYSDBA run the script
    SQL>$ORACLE_HOME/rdbms/admin/utlrp.sql
    If it still stays INVALID after that, follow Metalink Note 243554.1 to Deinstall and Reinstall XML Database

  • 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

Maybe you are looking for

  • Creation of Quality notification

    Hi, I need to create quality notification using BAPI_QUALNOT_CREATE. I have to create cause text too for the notification. Can someone guide me to fill the necessary data for header and text. Moderator message: please do some research before asking.

  • HT201263 iPhone 4S totally dead

    Hi.. Last night before going to sleep my iphone4S was about 5% charge and plugged on the charger but instead for charging, it was discharging very quickly till it shutted down and screen got black and no red bar appearing whenever i click the home lo

  • Align the Depth of Objects

    I'm creating a presentation on some artwork and I would like to figure out if there is a way to align objects. I have two objects, side by side, and I'm hoping to move the inside edges of these two pictures so that they partially face one another. Th

  • Trying to create a QR code?

    What is the easiest way to get a link inside the app store to a specific app so that I can create a QR code?

  • Learning solutions...

    Hi ALL, Next week am going to conduct one workshop in the client place....They already have LSO- 4.7 version, now they are going to 6.0(New Implementation)…So what type of questions can I ask to the Business users…? They have only SCORM compliance pr