Crystal report addon prompt database login screen

I'm trying to run a crystal report using crystal report add-on 1.0 from SAP, however, I always see the screen that prompts for database login when trying to generate the report.

Dear Khuen Phan,
Do you use correct correct connection from Crystal Report design such as OLE DB instead of using ODBC connection?
Cheers,
danny

Similar Messages

  • VS Net 3.5 Crystal Reports Deployment causing database login prompt

    I have deployed a Visual Studio executible module written in VB Net 3.5 SP 1 with Crystal Reports. When the user tries to view a report(s)
    they are prompted to login in to the data base that has been data sourced into the report module. The correct database was verified before the build was made. The developer is able to run the report in a run mode on the local machine where the VB project was created.
    In the properties section in the project the following check boxes pertaining to reports were checked on:
             Crystal Reports Basic for Visual Studio 2008(x86, x64)
             Microsoft Visual Studio 2008 Report Viewer
    Notes: If the executible module is deployed to a machine that has Visual Studio 2008 installed, the Reports run fine without a database login prompt.
             If the executible module is deployed to a machine that does not have Visual Studio 2008 installed, the user is prompted for a login.
             The data base is a SQL server 2008 database.
    I'm being prompted for a server/database login when deploying the application and running it on a machine that does not have Visual Studio 2008 installed on it. One thing I forgot to mention is that the prompt dialog has only the database server name pre-filled but there is
    no database name in the dialog. Both of these fields are grayed out. The Crystal Report was updated to reference the new server and database, and I also verified the database successfully.

    Hello,
    Not sure what DB driver you used to create the reports but if it's the native driver then you need to install the Native client from MS SQL Server 2008 CD/DVD onto the app server also.
    MS SQL 2008 will not use MDAC, which is always installed. It requires the client to be installed.
    There is also an issue when using OLE DB driver and Time(7) field types in MS's driver and Crystal Reports. Cr see's them as string fields, the driver returns the wrong field type to CR. ODBC does work with these field types.
    And is your application running in 32 or 64 bit mode?
    Thank you
    Don

  • Report asks for database login in deployed version using crystal runtime for vs2008

    I am developing an application with VS2008 .Net with an Interface to use external Crystal  reports.
    I created a Report using Crystal Reports 2011 "doku.rpt".
    I am using a CrystalReportViewer "crpv" on a form.
    I am using a ReportDocument object (Variable "ReportDocumentM"), to which I load the file "doku.rpt"  and assign the logon Settings of main and subreports (which are the same for all tables).
    Using crpv.ReportSource = ReportDocumentM I assign the reportDocument to the ReportViewer.
    On my develop System everything works fine, the Report is shown in the Viewer.
    I created a Setup for my application and isnatalled it on another System. I also installed the CrystalRuntime for VS2008.
    When I try to Show the Report, a dailog "Database Login" appears and aks for the Connection.
    where the SERVER, USERID and (sometimes the PWD) Input fields are filled with  the correct values, but always the DATABASE field is empty.
    SERVER and DATABASE fields are READONLY.
    Hours and hours I tried differnt things, I also filled the logon info of the ReportViewer himself, nothing helped.
    The code:

    Sorry, I found the solution in another discussion:
    "Crystal ask for DB Connections on new installation"
    Correct Answer by Marc Trudel  on Jan 9, 2014 6:57 PM ' Solved Reports are all saved with SQLNCLI which is Sql Native client 9 (2005) New computers only have SQLNCLI10 which is Sql Native Client 10 (2008) Customer will either install SQL CLient 10 on all old computer and upgrade the reports or install SQL Client 9 on new computers which will avoid upgrading hundred of reports
    In my case the original Report was created on a System with both SQLNativeClient 9 and SQLNativeClient 10 on it. Because I originally used a SQL2000 database as datasource, the SQLNativeClient9 was used. It wasn't a Problem on the System when I dynamically connected to a SQL2008R" database, probably because the NativeClient9 was still there and could be used. On the other Computer only the NativeClient10 was existing and this caused the Problems.
    But I think that this is a bug in Crystal: I think ist normal, that from time to time there are changes in DataBase Connections and Clients, so the reports should be able to work also with new Clients. At least there  should be a message to inform about the Problem.

  • Installing Crystal Report AddOn for 8.8

    Dear All,
    Please let me know how to install Crystal Report AddOn  for 8.8 B one ? After installing the Addon When I am starting the Add On I am getting as error as External Connection to the database failed. SAP Crystal AddOn may not function properly. Please rerun the account setup with superuser login.
    And when I click on Administration>>Crystal Reports Administration>> Account Setup screen to setup the account,  I am getting error as Item-  Could not commit action because the item is currently in focus [66000-23].
    Regards,
    Noor

    Dear Noor,
    You may check this thread:
    Crystal reports for Business One 8.8
    Thanks,
    Gordon

  • Crystal Report Addon Error

    Hi All,
    I have successfully installed Crystal Report Addon Version 2.0.0.7 on B1 (Patch 0) . I have already installed Dot Net framework 3.5 on my machine and I use to design Crystal Reports in VS.Net 2005 Crystal Reporting tool .
    The proble is that everything works fine but as I click on the button 'preview and print ' it flashes an error "Could not load file or assembly CrystalDecisions.Windows.Reports Version 12.0.2008......"
    Iam not able to understand exactly what is lacking ? Do I require to install Crystal Report 2008 also . I do only have Crystal Report 10 (shipped with VS .NET 2005)
    If yes then please help me how to proceed to crack this problem...
    Thanks in advance.

    Hi Pooja,
    Yes, you need to install  Crystal Reports 2008 Runtime. Alternatively you can install Crystal Reports 2008 or Crystal Reports 2008 for B1.
    Regards,
    Vítor Vieira

  • Crystal report addon : preview error

    Hi All,
    The question has been answered a number of times on SDN but the workaround does not work in my case. please guide.:
    I am working on 2007 B PL 10. I have installed crystal report 2008 for B1 downloaded from SAP portal. I have installed crystal report addon. it gets connected but when I preview the report it gives me the error :
    *Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=12.0.2000.0, Culture=neutral,
    PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.*
    I have .net framework 1.0, 2.0 and 3.0 installed. I have gone through the demo of crytal report installation and publishing and ,have installed in the same order as shown. As instructed there, if I have crystal 2008 installed , I dont need to install the crystal report runtime. but if I dont have it, from where should i download it? is it from the following thread ? :
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=56787567
    Thanks,
    Binita
    Edited by: Binita  Joshi on Jan 28, 2010 7:57 AM

    Thanks Nazar. i downloaded it and on running it gives me the error : this installation package could not be opened. contact the software vendor to verify that this is a valid windows installation package.
    can anybody tell from where you guys get this 'CRRuntime_12_0_mlb.exe'??

  • Crystal Report Addon Error : ActiveX Component Can't Create Object

    Hello Experts,
    We are facing an problem when we start the Crystal Report Addon .The error message getting
    displayed is  "CR_Crypto ActiveX Component Can't Create Object".This issue is happening only on the
    server its working fine on the client. We had even unistalled and re-installed the addon in the server but
    still it throws the error when we start the addon.
    Please help us to resolve this issue
    Thanks,
    Vishwanath

    Dear Friend,
                 I had described the problem to our technical support team, and they replied as follows u2013
    They solved the Script related error by several stages.
    They checked the machine for any mal-ware existence by the tool provided by Microsoft (MS Mal-ware remover).
    Then they tried by installing the following patches from Microsoft u2013
    http://support.microsoft.com/kb/949140
    Windows Script 5.7 for Windows XP
    http://www.microsoft.com/downloads/details.aspx?familyid=887fce82-e3f5-4289-a5e3-6cbb818623aa&displaylang=en
    Windows Script 5.6 for Windows Server 2003
    http://www.microsoft.com/downloads/details.aspx?FamilyId=C717D943-7E4B-4622-86EB-95A22B832CAA&displaylang=en
    Windows Script 5.6 for Windows XP and Windows 2000
    The internal matter to this problem was about the following DLL and its version u2013
    C:\WINDOWS\system32
    vbscript.dll
    5.5.0.8820
    Desired
    5.6.0.8820
    Check, if the information helps you.

  • Crystal report with prompts takes very long time to open in infoview BOXI3.

    Crystal report with prompts takes very long time to open in infoview BOXI3.1?
    Is there any way to increase the performance.

    Ramsudhakar,
    There are several items that could cause these slow down problems. Without knowing more about the way your environment is setup, I could cause more problems, by giving out performance tips. You would need to be more specific in your post.
    What we know. BOXI3.1
    What we don't know.
    O/S
    App. Server
    Hardware Spec's
    ETC.
    I see that this post has been out here for some time. So if this is still a problem for you I'll try and help, if you provide more information.
    Thanks
    Bill

  • BI 4.0 w/ Windows AD SSO, but Crystal Report (mdx) prompt login data

    Hi guru,
    We have been struggling for a while on the sso issue between BI 4.0, AD, BW, and CR.
    Our architecture is not complex:
    1. A BI 4.0 (BOE) on Tomcat (windows)
    2. Backend SAP BW as main data source
    3. AD, SAP Authentication are configured in CMC
    4. User can login to Windows Desktop (login to Win Domain) and then link to BI Launchpad w/o giving password (Windows SSO), it works.
    5. Crystal report can be published via BW to BI/2.0/.... folder on BI
    But one thing still not working:
    Our crystal report (using mdx for data accessing to BW) keep asking database login credential when a BI user login via Windows SSO. We want to get rid of this prompt and want to use a mapped R3 account for db access. each windows AD user has a corresponding mapped r3 account configured in CMC. We have tried, but not working.
    The only way we got to avoid the prompt is to remove bwmdx from Crystal Report SSO Config in CMC and manually change the published CR report to use "original data login" as well as assiging the r3 credential. But we have to do it for each CR report.
    Anyone have done this before ?
    Is it possible to Login via Windows SSO and then view CR report w/o giving pwd ?
    Or we have to do some special setting while making the report ?
    Or users have to login by R3 account to get such SSO ?
    Thanks for any help.

    Thanks for prompt reply, My answer is:
    No, SNC is not enabled.
    Since BO can get data via the following 3 method from BW, so I'm not sure whether SNC is a must (just for CR SSO)
    Universe(UNV) --> BW
    Universe(UNX) --> BW
    OLAP --> BW
    OK, if SNC is a must to link AD SSO to BW SSO, what kind of SNC (client vs server) should I configure ?
    Thanks
    Edited by: Wilson KU on Sep 7, 2011 11:04 AM

  • Crystal Reports and Access database connection error

    I had this in a different forum with no hits, so I am trying this one.
    A person that I work with has multiple reports set up that pulls from an Access database that is password protected. When we moved everything over to a new computer, those reports now say that it cannot access the fields inside the database. It never pops up with a login screen either, like it does on the old computer. I played around with the ODBC, with no luck, couldn't get anything to work. I have also tryed relinking the database, but I keep getting connection problems. We are on a network, so her settings should have all moved with the new computer. Along with the database and the reports being on the server, so they were never moved. I am thinking it has something to do with a system file.
    I also found this document on this site, but cannot find the download it mentions, sounds similar to my problem.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/208b8fe5-681e-2b10-d2bb-b201f266d0ab
    Does anybody know how to fix this without the utility mentioned in the above link, or know where I can get the utility??
    We are using Access 2007 and Crystal Reports 7.  The database is not save as an Access 2007 database, but a regular mdb.
    Please Help!

    Post Author: ejthunder
    CA Forum: Crystal Reports
    Hello Chris,
    Crystal Reports does not store the database password with the RPT file.  This is by design (Crystal is not a database security product).  This is true of all versions of Crystal Reports.
    If your users need to see fresh data when opening the reports then they will have to log in by providing at least the password.
    You can send reports with Saved Data that won't try to hit the database, but the data won't refresh either.  To save data with the report go to the File menu and click next to Save Data with Report.  Refresh the report and then save it.  The report will now have saved data and won't try to hit the database when opened.  If the user hits the refresh button then they will get prompted to log into the database.
    I hope this helps.
    EJ

  • Crystal Report for VS2010 show Login when deployed

    I am having a problem with my Windows Form project in VS2010 regarding
    the SAP Crystal Reports for VS2010.
    When I deploy my project on client's PC it shows a login dialog box.
    The client's PC is in XP.
    I already installed the correct runtime in their PC.
    When the login dialog box appear and the cancel button is clicked,
    the Report shows correctly.
    But our client did not want to always see the login dialog box.
    I already try to fix it like this:
    u2022 Add connection and login info in the codes (CrystalDecisions.Shared.ConnectionInfo)
    u2022 Verify and reconnect the database
    u2022 reinstall the runtime of Crystal Report(CRRuntime_32bit_13_0_1.msi)
    But nothing works.
    I am using an XML schema to display the report, I do not directly connect
    to a database. Like this:
    CrystalReport.SetDataSource(DataSet);
    The framework I use is C#.Net 3.5.
    My project is in Windows Form.
    My Crystal Report for VS2010 version is 13.0.1
    Please help me.
    Thanks in advance.

    Moved to .NET SDK forum.
    Can you clarify? What data source are you using? Direct connection to the DB or Dataset?
    It's prompting because what ever source you are using doesn't have the proper connection method being used or the log on info is incorrect.
    Don

  • Crystal Report Layout asking for Login Info

    I have modified the Delivery Note Crystal Report Layout for Business One by clicking the Edit button on the Report and Layout Manager for Delivery Note (Items).  I then saved my modifications to a file.  Finally, I go into Business One and import the Layout for Delivery Note (Items).  When I preview the Layout it asks me for login information then continues to fail.  How dow I make it so I can print the Delivery without having to constantly log in?

    Hi Jeff,
    I recently had a similar problem on an 8.82 implementation, having contacted and spoken to SAP Support multiple times these suggested fixes worked:
    The request to login to the database when you open or print preview a Crystal
    report is a known issue. To resolve this, I recommend you go through our Root
    Cause Analysis (RCA) guide. Please see attac hed Note 1676353 on where to find
    this. There are four Cases in this guide (which contain a number of Influences)
    - please go through all Cases and Influences.
    We also tried the following:
    STEP 1:
    Influence 2: Case 2 is to clear all the data for login (e.g. sa and
    password - delete them) and then ticked 'Integrated Security#.
    - Influence
    3: #: Check the current datasource is to update connection.
    - Retest opening
    the system reports on a workstation.
    - If they are still reporting an error
    try the next step
    - STEP 2:
    - Change the datasource location of
    the report from OLE DB to SAP Business One type and leave the
    authentication
    information blank. Try running the report in Crystal, and then import to SAP.
    And also opened up the Crystal Report via the Edit button in SAP in Reports and Layouts Manager, we then clicked on the database connection and updated all the tables (even though they were the same) and these got the reports needed working. Speaking to SAP it is a known bug and they are releasing a hotfix to resolve it, but try explaining that to a customer !!!
    Hope these help.
    Regards
    Sean

  • Universe based Crystal report date prompt appears as DateTime

    I have faced this issue in all XI versions and was hoping there is a solution for this in XI 3.1 and/or Crystal 2008.
    There is a date dimension in a universe which is tied to a datetime datatype on the backend SQL server field.  If a Crystal report (XI,2008) uses this date dimension as a prompt, the prompt created in Crystal report is of type Date Time and therefore when the report is ran, the required syntax for this prompt is with timestamp.  There was a fix for a similar issue in XI R2 Fix Pack 3.3 by creating a useDateInsteadOfDateTime registry key and setting its value to the DSN of the ODBC based universe connection.  I could never get that to work by the way.
    Any ideas on how to change the prompt data type to Date without the timestamp in XI 3.1 and Crystal 2008 reports?
    Thanks.

    Hi Farhan Jaffery 
    Have you tried to change the object defination in universe level and crate a prompt and check. 
    Also try to use Add Command to retrive the database field with only date and create a prompt.
    Thanks,
    Sastry

  • Crystal Reports 2008 with Database / Universes (BOE 3.1 SP2) Questions

    Hello
    I have a few questions related to options that i can use when i connect to a database like sql server or oracle and i cannot use these options when i connect the report from a universe.
    1) When building a Crystal report that connects to the database through a universe i cant change the option Optional Prompt from False to True this option is disabled. This does not happen when the report is constructed by connecting directly to the database, this functionality is useful when you have multiple parameters in one report.
    2) For cases of reports with multiple parameters (where you can choose more of a list available), under the scenario of the bd direct connection is possible to configure the Crystal Available Values list shows dimensions that have at least some value in Fact Table, through the choice of parameter settings, where you can indicate where you take the value and description separately.Under the scenario universe connection these options are disabled because they are based on the query of the universe, there is an alternative perhaps from the universe to achieve this behavior in Crystal?
    Thanks

    Moved to Universe Designer Forum

  • Opening multiple reports in Crystal Reports for VS causes database connect limit to be reached.  Seems to be no way to force Crystal Reports to close database connection (other than exiting application)

    I am working on upgrading an application that has been in use for many years.  The application is written in VB6 and I have been tasked with upgrading the current application to Crystal Reports for Visual Studio.  I am using Crystal Reports for VS Version 13.0.12.1494.  The system's database is a Sybase SQL Anywhere 16 database with an ODBC connection using integrated login.  Each of the reports has the database connection set up from within the report.  There is only once database server, so each of the reports are pointing to the same DB.  The database server is currently installed as a "Personal Server" with a limit of 10 connections. 
    I have implemented the CR viewer as part of a COM-callable wrapper that exposes a COM interface for VB6 to interact with.  Inside of my viewer component is a Winform that embeds the Crystal's Report viewer.  The COM interface basically maps the basic Crystal apis to methods that the VB6 can call (i.e., Load Report, Set Field Text, Update SQL Query, etc).  This architecture is working as designed and the reports are displaying correctly and responding correctly to changes in queries, etc.
    The issue is that after I open 9 reports, the tenth one will respond with an error indicating that the database connection limit has been reached.  The database connections used by the reports aren't released until after the application is closed.  The application is designed for a secure environment that prohibits the non-administrative user from accessing the systems desktop, so asking the user tor restart the application after 10 reports isn't a viable option.
    I have checked and database connection pooling is turned off for the SQL Anywhere 16 driver.
    I have been digging on this for a few days and have tried adding code in the FormClosed event to close and dispose of the Report Document as follows:
    ReportDocument reportDoc= (ReportDocument) crystalReportViewer1.ReportSource;
    reportDoc.Close();
    reportDoc.Dispose();
    GC.Collect();       // Force garbage collection on disposed items
    I have also tried the following (as well as maybe 20 or so other permutations) trying to fix the issue with no success.  
    ReportDocument reportDoc= (ReportDocument) crystalReportViewer1.ReportSource;
    foreach (Table table in reportDoc.Database.Tables)
         table.Dispose();
    crystalReportViewer1.ReportSource = null;
    reportDoc.Database.Dispose();
    reportDoc.Close();
    reportDoc.Dispose();
    reportDoc = (ReportDocument)crystalReportViewer1.ReportSource;
    GC.Collect();       // Force garabe collection on disposed items
    Any ideas or suggestions would be greatly appreciated.  I have been pulling my hair out on this one!

    Hi Ludek,
    Thanks so much for the quick reply.  Unfortunately I did not have time to work on the reporting project Friday afternoon, but did a quick test this morning with some interesting results.  I'm hoping if I describe what I'm doing, you can show me the error of my ways.  This is really my first major undertaking with Crystal Reports.
    If I simply load the report, then close and dispose, I don't hit the limit of 10 files.  Note that I do not logon manually in my code as the logon parameters are all defined within the reports themselves.  The logon happens when you actually view the report.  Loading the report doesn't seem to actually log in to the DB.
    What I did was create a very simple form with a single button that creates the WinForm class which contains the Crystal Viewer.  It then loads the report, sets the ReportSource property on the CrystalReportsViewer object contained in the WInForm and shows the report. The report does show correctly, until the 10 reports limit is reached.
    The relevant code is shown below. More than I wanted to post, but i want to be as complete and unambiguous as possible. 
    This code displays the same behavior as my earlier post (after 10 reports we are unable to create another connection to the DB).
    // Initial Form that simply has a button
      public partial class SlectReport : form
            public SelectReport()
                InitializeComponent();
            private void button1_Click(object sender, EventArgs e)
                ReportDocument rd = new ReportDocument();
                ReportForm report = new ReportForm();
                try
                    rd.Load(@"Test.rpt");
                    report.ReportSource = rd;
                    report.Show();
             catch (Exception ex)
                  MessageBox.Show(ex.Message);
    // The WinForm containing the Crystal Reports Viewer
        public partial class ReportForm : Form
            public ReportForm()
                InitializeComponent();
            private void Form1_Load(object sender, EventArgs e)
                this.crystalReportViewer1.RefreshReport();
                this.FormClosed += new FormClosedEventHandler(ReportForm_FormClosed);
            void ReportForm_FormClosed(object sender, FormClosedEventArgs e)
                ReportDocument rd;
                rd = (ReportDocument)crystalReportViewer1.ReportSource;
                rd.Close();
                rd.Dispose();
            public object ReportSource
                set { crystalReportViewer1.ReportSource = value; }
    Again, any guidance would be greatly appreciated. 

Maybe you are looking for

  • Password Security gets lost in portfolio/Low definition printing

    Using Acrobat Pro Extended 9.0.0, I created a portfolio and added two PDF files to it (these files were not themselves password protected). I then used File / Portfolio Properties / Security to apply password security, Encrypt except metadata, open p

  • DVD RW DW-U10A won't read burned Dual Layer DVD

    My friend created a dual layer dvd for me on his PC. I put it in my G5 and after about 15 seconds of the drive trying to read the dist it just gets spit out. It won't mount or anything. Why is this happening? I've never had problems reading discs cre

  • Everytime I update Firmware it errors and I have to restore.

    This is getting so **** frustrating. I love my iPhone but I HATE iTunes so much. I go to upgrade firmware and then it errors, then the phone is stuck in recovery mode. So I have to restore and upgrade then reload ALL of my music, apps, and contacts.

  • 10.6.7 Update Seems to Have Trashed my System

    Not sure, but it seems that ever since I installed the 10.6.7 update, I've had multiple software crashes, and today lost a client file totally. The problems I'm having are: 1) InDesign CS4 crashing when I export to PDF, and at other times when I don'

  • Re: This is so basic I'm embarassed to ask. I don't understand Y0 and dY?

    ( sorry if it's posted twice, it didn't seem to get through the first time) Hi, The problem might be, that the precision of the x-scale is default 1 (e.g. -0.01 gets 0.0). Put it to 2 (e.g. -0.01 stays -0.01). Then it works fine. Regards, Wiebe. > >