Infoview prompts for database logon screen when changing dynamic parameter
I have already set up initial database ID/PW for the report in CMS, but when I run the report from InfoView as I tried to update my parameter, 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.
did you try selecting use same database credentials database option in CMS? If you are still getting the database prompt then it might be because of dynamic parameters in the report. If you have any dynamic parameters in the report it generates LOV in the repository. So try to open the LOV in Business VIew Manager and check the properties of the LOV and go to corresponding data connection for that LOV and in the properties tab select never prompt instead of always prompt by giving database credentials.
regards,
Raghavendra
Similar Messages
-
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 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.7Hi 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 -
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
-
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
Lawrencedid not receive a response to my question
-
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? -
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. -
How to hide Database Logon option when scheduling Crystal Report in BOE?
Hi All,
For security reason, we are try to hide the Database Logon option in Crystal Report Schedule page in InfoView.
There is option in CMC which we can configure the default Database logon option so that users do not have to enter the logon everytime they view or schedule the report. However, we are looking to hide this option completely.
Does anyone know if there is a security setting which can hide the option from specific users?
Thanks,
BobbyHi Bobby,
As Jorge informed that there is no method available within CMC to hide database logon option when scheduling or viewing a Crystal Report in the Info view. This is very much true.
But as you also mentioned that you don't want your users to enter the database logon credentials evertime they view or schedule a crystal report, there is one setting in CMC which we can do to avoid prompt for database logon credentials.
CMC - Home - Go to that specific crystal report - Click Process tab - Click the sub-tab 'Database' and at the bottom of the page there is an option "Use same database logon as when report is run". Check this option after providing the database credentials and click UPDATE.
Now whenever users try to view or schedule this specifc crystal report they won't be prompted for the database logon credentials.
Regards,
Venkat -
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 -
Whenever I run the test report and don;t fill in the USERID parameter before I click SUBMIT, the database logon screen appears prompting me to enter the db info..but when I enter the info and click SUBMIT, the same screen keeps reappearing with the fields cleared out...any ideas why this is happening?
THanks for the replies...however, database startup is not the problem since it works for the forms server. It is only in reports that I have this problem. If I enter the db info in the html form, it works fine. But if I dont, the db logon screen appears prompting me to enter the db info and everytime I enter in the info and click RUN FORM, the same db logon screen keeps coming back...any other ideas?
-
Database logon failed when opening report with parameter values in CrystalReportViewer
Hi,
I designed 2 crystal reports: report A contains parameter fields and report B did not contain any parameter
I can open both reports in development site using CrystalReportViewer control. When I open the reports in testing site,
I can open report B but can't open report A. It display error message "Database logon failed". When I set EnableDatabaseLogonPrompt
to true and try to open the report A again, it shows database connection data which was created on report.
In addition, it is strange that it displays error "Database logon failed" when I click an item in group tree panel of the report B. This indicates that it can load data from database
in testing site but it connect to development database when clicking items in group tree panel
All reports connect to database using Windows Authenication. It use dynamic database connection at runtime
How to ensure the report always connect database using login data dynamically at runtime?
Below is my code about database connection:
string strServerName = null;
string strDatabaseName = null;
ReportDocument rptDoc = new ReportDocument();
rptDoc.Load(strFilePath);
ConnectionInfo connInfo = new ConnectionInfo();
TableLogOnInfo logonInfo;
for (int i = 0; i < rptDoc.Database.Tables.Count; i++)
logonInfo = rptDoc.Database.Tables[i].LogOnInfo;
ReportHelper.GetReportConnection(ref strServerName, ref strDatabaseName, strSystemType);
logonInfo.ConnectionInfo.ServerName = strServerName;
logonInfo.ConnectionInfo.DatabaseName = strDatabaseName;
logonInfo.ConnectionInfo.IntegratedSecurity = true;
rptDoc.Database.Tables[i].ApplyLogOnInfo(logonInfo);
rptDoc.Database.Tables[i].Location = rptDoc.Database.Tables[i].Location.Substring(0, rptDoc.Database.Tables[i].Location.Length - 2);
crvViewer.ReportSource = rptDoc;
crvViewer.DataBind();
Development environment:
- SAP Crystal Reports 2013 Support Pack 1
- Visual Studio Professional 2012
- .NET Framework 3.5
- DDL
CrystalDecisions.Shared (v 13.0.8.1216)
CrystalDecisions.Web (v 13.0.8.1216)
CrystalDecisions.CrystalReports.Engine (v 13.0.8.1216)
Database connection in crystal report:
- Database Type: OLEDB (ADO)
- Provider: SQLOLEDB
- Integrated Security: True
Thanks and Regards,
TonyHi Tonylck
Try to pass login info to crystal report dynamically as follows:
using System;
using System.Windows.Forms;
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
namespace WindowsApplication1
public partial class Form1 : Form
public Form1()
InitializeComponent();
private void button1_Click(object sender, EventArgs e)
ReportDocument cryRpt = new ReportDocument();
TableLogOnInfos crtableLogoninfos = new TableLogOnInfos();
TableLogOnInfo crtableLogoninfo = new TableLogOnInfo();
ConnectionInfo crConnectionInfo = new ConnectionInfo();
Tables CrTables ;
cryRpt.Load("PUT CRYSTAL REPORT PATH HERE\CrystalReport1.rpt");
crConnectionInfo.ServerName = "YOUR SERVER NAME";
crConnectionInfo.DatabaseName = "YOUR DATABASE NAME";
crConnectionInfo.UserID = "YOUR DATABASE USERNAME";
crConnectionInfo.Password = "YOUR DATABASE PASSWORD";
CrTables = cryRpt.Database.Tables ;
foreach (CrystalDecisions.CrystalReports.Engine.Table CrTable in CrTables)
crtableLogoninfo = CrTable.LogOnInfo;
crtableLogoninfo.ConnectionInfo = crConnectionInfo;
CrTable.ApplyLogOnInfo(crtableLogoninfo);
crystalReportViewer1.ReportSource = cryRpt;
crystalReportViewer1.Refresh();
Ref
http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-dynamic-login.htm
Mark as answer if you find it useful
Shridhar J Joshi Thanks a lot -
Certain Users getting double logon screen when accessing the Portal
I have about 15 users out of 2500 that are getting the double logon screen when accessing the Portal. It's very intermittent, one minute it works fine the next minute it doesn't. I've tried almost everything on the client side, opened a case with Microsoft. Still no help.
Does anyone have any ideas on this?The users are getting a login page with 2 login boxes. they can login, but it does not single sign them in.
Yes we are using SPNEGO, and it works for everyone except these users, and it does work sometimes for them
Yes it is possible these users are using NTLM becasue I see some events in the event viewer on the client indicating this
You find an event similar to the following event in the system event log:
Event Type: Warning
Event Source: LSASRV
Event Category: SPNEGO (Negotiator)
Event ID: 40961
Date: 10/27/2004
Time: 1:00:50 PM
User: N/A
Computer: COMPUTER
Description: The Security System could not establish a secured connection with the server ldap/DC01.corp.com/[email protected] No authentication protocol was available.
Edited by: Jeremy Rafuse on Dec 21, 2007 7:26 PM -
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
AnoopHi..
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 -
How to edit "license information for multiple logon" screen
hey gurus
i need to know how to edit or modify the 'license information for multiple logon" screen. this screen usually pops up when a user tries for a multiple logon to sap. We have activated the parameter 'login/disable_multi_gui_login' but we would like to modify the screen in such a way that only one radio button which says 'terminate this logon' should exist. we would prefer to remove the option of 'continue with this option and end any other logon'. Now i searched but i could not find anything to implement this so i am here and i need your advice and suggestions.
thanks in advance.
cheers.
natehey bernhard
many thanks for your reply..i appreciate your help. its just that its not explicitly mentioned we cant modify the screen in the note.
Is there any other note that specifically say so?
thanks for your time buddy.
regards -
Trying to do a password update but it asks me for a four digit pass code. Does anyone know if that would have been a significant date or set of letters or numbers I was prompt for in the past when I first bought my phone? Thanks.
It rather depends on where you are seeing the demand for a passcode. If, as I assumed, you are trying to change the password at http://appleid/apple.com then that will ask for a passcode if 2-step verification has been set up. On the other hand, if, as Csound1 has assumed, you have changed the password on that website and are trying to enter it in your phone (for which you need to sign out completely before you can do this) and are being asked for a passcode that can only be one you set yourself (unless of course the phone is second-hand in which case that would open a whole new can of worms).
Maybe you are looking for
-
so yesterday i dropped my iphone and the home key stopped working. i had to turn the phone completely off to change screens and get back to the home page. today i turned it off to get back to the home screen and now it is frozen on the apple screen.
-
MIRO when price in PO change without cancel MIGO
hi gurus, i have a PO with item like below : Material code : AAAAA Price : 771,832 QTY : 100 PCS Then i do partial MIGO and MIRO with that price divided into : - MIGO & MIRO 1 : 25 pcs --> posting date : 03 June 2011 - MIGO & MIRO 2 : 35 pcs --> post
-
Using unlocked ATT iphone 3GS on Telenor?
I was wondering if anyone has any experience using an unlocked AT&T Iphone in Europe. I have been provided with a Telenor SIM card for an ancient Samsung. I'm hoping to get the 3GS running in europe with minuets and data, has anyone used Telenor befo
-
Jumpstart of Solaris 10 halts when "Discovering additional network..."
Installing Solaris 10 using jumpstart from Solaris 9 server, using JASS 4.2 (Solaris Security Toolkit 4.2.0) However, the install just hangs after the following printout: Discovering additional network configuration... I tried snoop on the install se
-
How to identify what columns are being suppressed
Hi, I have a database that may be masking some columns via a VPD. I'd like to identify the policies and the columns that are masking it. I have checked ALL_POLICIES (and DBA_POLICIES) but (I think) it doesnt show the columns that are being masked. Wh