Crystal reports asking for login information at runtime

BH
Hi,
I've installed the Crystal Reports for VS2010 (filename: CRforVS_13_0_9).  I've created a new "Crytal Reports Application" Project and I've added dataset which is connected to Access 2010 database. When I create a new report I use the "Project Data > Ado.Net Datasets > CrystalReportsApplication8 > Ledger" as my connection. I connect the report to the CrystalReportViewer in Form1.
However, when I run the application, I get prompted for a Username and Password. Even though I type in the correct user name and password, it does not let me login and view the report.  I've been struggling for a few days with this.  What am I doing wrong?  I do not want the application to prompt for a username and password, because I've already entered the credentials in the application.  I've searched on the web for a solution, but with no success.  Please help.  I'm using C#.
Thanks
Aron

See if this document will help:
Crystal Reports Guide To ADO.NET
Go to page 6 and follow the instructions there. Also, see KBA 1525432 (search box is ion top right corner)
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
https://twitter.com/SAPCRNetSup

Similar Messages

  • Crystal report prompting for login to Dataset [Problem]

    Hello,
    I'm developing a C# windows application with an Access db
    I'm getting the data from the database and load it to a dataset then pass the dataset to the report
    every thing is working fine on my local machine but..
    When I run it on any other machine it prompts me to enter the login information while there are no login informations to enter because I'm connecting to a data set
    here is my simple code to load the report
    VisitReasibReoirt VisitReasonRPT = new VisitReasibReoirt();
                            VisitReasonRPT.DataSourceConnections[0].IntegratedSecurity = true;
                            VisitReasonRPT.SetDataSource(ds);
                            crystalReportViewer1.ReportSource = VisitReasonRPT;
                            crystalReportViewer1.RefreshReport();
    Also there is an other problem in the design
    I cannot change the language of the datetime fields like what I did with text fields.. How can I solve this ?
    please tell me what to do...this is very important I searched a lot but I found nothing usefull
    Edited by: Mando! on Aug 26, 2010 2:04 AM

    Hello,
    Information needed..
    Version of Crystal Reports?
    Version of Visual Studio?
    Type of data connectivity used? (i.e. OLEDB, ODBC)
    Did you diploy the application? How? (MSM's or MSI's)
    If the new machine is also a developement environment, does the report work from designer?
    Version of windows on prev and new machine?
    Make sure that..
    If the application is deployed, the proper runtimes are installed.
    The database provider is installed.
    The target database is located where it should be.
    The target database is unchanged.
    One question per thread please.
    see [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/Rules%20of%20Engagement].
    Thanks,
    Bhushan.

  • Crystal Reports asking for Dbase username and id

    When I try to select a dBase file as my data source location in Crystal Reports, CR wants a user name and log in id for the dBase file...I do not have a user name or log in id for my dBase file...
    How can I get past this?
    Mitch

    I don't believe this is a DB2 z/OS question, perhaps it would be better to ask in another SDN forum?

  • Crystal Report Viewer requests login information for subreport

    I am using CR 11.5 with MSSQL 2000. I have a report that includes a subreport that pulls information from a different database than the main report. When I run the report through my .net application, it requests a password for the secondary database. If I supply the password, the report will run correctly, however, I cannot give out the password to regular users.
    Is there a way to supply the password for the secondary database within the application?
    Thank you,
    David

    Log on subreport code would be something like this:
    crSubreportDocument = crReportDocument.OpenSubreport("Ron")
    crConnectionInfo = New ConnectionInfo
    With crConnectionInfo
    .ServerName = "Rcon1"
    .DatabaseName = "Northwind"
    .UserID = "van"
    .Password = "van"
    End With
    crDatabase = crSubreportDocument.Database
    crTables = crDatabase.Tables
    For Each crTable In crTables
    crTableLogOnInfo = crTable.LogOnInfo
    crTableLogOnInfo.ConnectionInfo = crConnectionInfo
    crTable.ApplyLogOnInfo(crTableLogOnInfo)
    Next
    For more help, see the samples documented in this wiki:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    Recommend vbnet_win_subreport_logon.zip or csharp_win_subreport_logon.zip.
    Ludek
    Edited by: Ludek Uher on Oct 19, 2009 8:38 AM

  • 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

  • Asking for login details jumping from BW  to SS report at Portal site

    Hi Guys
    Our BW reports are avilable from protal for user's.
    Now the issue we are facing is when we jump from BW report to source system(SRM) report, it is aksing for login details for source system. where as at portal site it should not ask for login deatils. And we are facing this issue only in QA system and not PRD system.
    M not sure where things are going wrong. I have checked SSO. nothing seems to be wrong here also.
    Thanks & Regards,
    Rohini

    Hi Rohini,
    I may not be correct. But does the user id which you are using (both in QA & Prod) have same settings for User-Type (<i>SU01 -> Logon Data -> User Type</i>). ?
    Also u can check the RFC Settings (SM59).
    Hope it would help..
    Regards,
    Vikrant.

  • Portal asking for Login details again while executing the reports

    Hi Team,
    Our Portal is asking for Login details again while executing the reports individually.
    The issue is the if i enter the same PORTAL Login credentials, its showing as Authentication failed.
    PLEASE ADVICE ASAP.
    thanks & regards
    Sneha

    Hi Kiran,
    I have recently taken up this portal.. so not clear on the structure.
    however, I observed there was no user mapping available.. so i added the same with my login credentials..
    stil the issue persists.
    Please advice.
    Sneha

  • An error in Crystal Reports Basic for Visual Studio 2008

    Greetings from Peru,
    We have a problem with one of the Crystal Reports products weu2019d like you to help us with. We work with Crystal Reports Basic for Visual Studio 2008.
    The error weu2019ve detected is in one of our systemu2019s reports; this report shows data inside frames. When the content to show is larger (in height) than the space left in the page, the container object of the report makes a line break keeping the title and the frame empty at the end of that page, but  the information is shown in the next page. What we need is that not empty frame is displayed.
    Weu2019ve tried to solve this problem by adjusting the report in different ways (by programming coding), but unfortunately this problem is related to how much data is displayed, because if this data fit in the space left in the page, the line break would not occurs and the data is shown at the end of the same page.
    We hope you can help us with this issue.  I look forward to your comments.

    All I can think of is trying CR 2008 (v.12.x). You can obtain an eval copy from here:
    http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • 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 Reports, version for Visual Studio 2010 Problem

    Dear all,
    I encounter a problem after installed the crystal report version for Visual Studio 2010. Once I call                              
                           ReportDocument.PrintToPrinter(1,False, 0, 0)
    The error message prompt:
    Report is unavailable(Index was out of range. Must be non-negative and less than the size of the collection. Parameter name:index)
    If I try
                             ReportDocument.PrintToPrinter(1,False, 1, 1)
    It can print the 1st page of the report.
    I also try to create a simple report. It works.
    After installed this version, my reports also encounter the same problem in Visual Studio 2008.
    My report has sub-reports. My PC is Windows XP.
    Anybody has idea on this issue!?

    Now you can set the various printer options using the PrintOutputController. I'm using a UI box to select the printer but your developer should be able to figure this out. If not you can include him in the e-mail, it would be fine to go direct. Of course you will stay in the thread:
         private void btnSetPrinter_Click(object sender, System.EventArgs e)
              System.Drawing.Printing.PrintDocument pDoc = new System.Drawing.Printing.PrintDocument();
                CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions rasPROpts = new CrystalDecisions.ReportAppServer.Controllers.PrintReportOptionsClass();
              // Use the next line if you need to, you'll ahve to test. Depends on how the reports were saved.
                //CrystalDecisions.CrystalReports.Engine.PrintOptions.DissociatePageSizeAndPrinterPaperSize = true;
                //CrystalDecisions.ReportAppServer.ReportDefModel.ISCRPrintOptions.DissociatePageSizeAndPrinterPaperSize = true;
                //pDoc.DefaultPageSettings = pgSettings;
                PrintDialog dlg = new PrintDialog();
                dlg.Document = pDoc;
                if (dlg.ShowDialog() == DialogResult.Cancel)
                    MessageBox.Show("Cancel Button clicked", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    return;
                else
                    CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions MYPRTOpts = new PrintOptionsClass();
                    if (rdoCurrent.Checked)
                        pDoc.PrinterSettings.PrinterName = cboCurrentPrinters.Text;
                   // the next 3 lines may not be necessary.
                        MYPRTOpts.PrinterName = cboCurrentPrinters.Text;
                        MYPRTOpts.PaperSize = (CrPaperSizeEnum)
                            pDoc.PrinterSettings.PaperSizes[cboCurrentPaperSizes.SelectedIndex].Kind;
                        MYPRTOpts.PaperSource = (CrPaperSourceEnum)
                            pDoc.PrinterSettings.PaperSources[cboCurrentPaperTrays.SelectedIndex].Kind;
                        MYPRTOpts.PaperOrientation = CrPaperOrientationEnum.crPaperOrientationLandscape;
                        //MYPRTOpts.PageMargins.Bottom = .1;
                        //MYPRTOpts.PageMargins.Top = .1;
                        //MYPRTOpts.PageMargins.Left = .1;
                        //MYPRTOpts.PageMargins.Right = .1;
                    else
                        pDoc.PrinterSettings.PrinterName = cboDefaultPrinters.Text;
                        MYPRTOpts.PrinterName = cboDefaultPrinters.Text;
                        MYPRTOpts.PaperSize = (CrPaperSizeEnum)
                            pDoc.PrinterSettings.PaperSizes[cboDefaultPaperSizes.SelectedIndex].Kind;
                        MYPRTOpts.PaperSource = (CrPaperSourceEnum)
                            pDoc.PrinterSettings.PaperSources[cboDefaultPaperTrays.SelectedIndex].Kind;
                    rptClientDoc.PrintOutputController.ModifyPrintOptions(MYPRTOpts);
                    //MessageBox.Show("Printer set.", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    rptClientDoc.PrintOutputController.PrintReport(rasPROpts);
                    //MessageBox.Show("Printing report.", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
    Thank you
    Don

  • Deploying Crystal Reports Basic for Visual Studio 2008

    I have Windows Forms project using Crystal Reports Basic for Visual Studio 2008
    I can't find the merge module to include in the setup project like I used to do in Visual Studio .NET 2003
    Everyone seems to say that they don't exist for that version of Crystal Reports
    After searching for a long time I found something about a package located at
    C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\CrystalReports10_5\CRRedist2008_x86.msi
    Tried it and it seems to work.
    Do I have to install this to the client computer ? Is that the only way having a "Crystal Reports Basic Runtime for Visual Studio 2008" in the program list of the client computer ?

    Hi Victor,
    We can download all the runtimes from the following link:
    [https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm]
    Try to search Business Objects Note regarding this from  [here|https://www.sdn.sap.com/irj/sdn/businessobjects-notes]
    More info regarding deployment can be found from DevLibrary:
    [https://boc.sdn.sap.com/node/8546]
    Regards,
    Shweta

  • Deploying crystal reports basic for visual studio 2008 for VB6

    My application has a module in .net and other in vb6.
    I have a problem on deploying crystal reports in client machines, for module in vb6.
    The vb6 application uses crystal viewer control obtained from crystal reports basic for visual studio 2008.
    What type of deployment should I use?
    Currently, I have a setup with prerequisite "crystal reports basic for visual studio 2008".
    But I think it misses the dlls crviewer.dll and craxddrt.dll, so I put them in setup and with the register COM options, and it works, but it's not working very well.
    When I open a form that uses crystal viewer, the setup (I have created) is lunched and says that have to restart machine. Then it opens the report, but the next time I use the application it does the same thing.

    Ok, thank's for the posts, they help so much.
    So I'm going to discard vb6 and move to .NET, but... there is a problem:
    Many reports have parameters that are asked before showing the report.
    The Crystal Viewer that is used in VB6 version isn't the same used in .NET.
    The viewer of VB6 asks the parameters in the way we want, however the .NET crystal viewer ask's the parameters in way that we don't like, because we have to do next -> next -> next...
    The links above show the diferences:
    VB6 ->  http://picasaweb.google.com.br/paulo.gonc/CrystalReports#5249249283702618322
    .NET -> http://picasaweb.google.com.br/paulo.gonc/CrystalReports#5249246459437178242
    There is a way to configure Crystal Viewer, so that parameters asking form will work like the vb6 away?

  • After Installing the OS x Mountain Lion some o the softwares are asking for Java SE 6 Runtime. Can someone please help me find a solution.

    After Installing the OS x Mountain Lion some o the softwares are asking for Java SE 6 Runtime. Can someone please help me find a solution.

    By default, ML no longer comes with the Java runtime preinstalled. I believe the route to enabling Java if you are going to need it is to run the Java Preferences app found in Utilities. It will inform you of Java's absence and offer to install the latest version and activate it. On subsequent runs, the Preferences app will allow you to fine tune how the runtime operates.
    Note that the new default operation is for the applet plugin to be disabled. You need to enable it as needed and it self-deactivates if unused in awhile. Also important to note that Java comes in both 32 and 64 bit versions and you can set the preferred order. Default is 64-bit but I've had issues with some applets failing to run and have had to switch the order.

  • Is crystal reports correct for me / my needs?

    i'm wondering if crystal reports is correct for my needs.  i don't mind investing the time / money to figure this out, but i really can't waste any time so i thought i'd ask the question first
    is crystal reports correct for my needs?
    some detail of my needs:
    1.  the report would be similar to an IKEA catalog: lots of pictures, different layouts (so different reports merged into one). reports need to "look bitchin'". needs to be "printer ready" in regards to size, crop lines, page numbers, etc.  my main concern here is basically "how limiting is crystal reports in data placement on the page"?
    2.  the data would come from a relatively large db (MS SQL, Oracle, mySQL, and maybe others).  size: about 40 million record main table, with supporting tables (i.e., relational). the db is not encrypted and is accessible if you have the main password.
    3.  i would like to send the reports to something like PDF, but also to excel and text file.
    4.  i would like to offer the reports to my clients as part of my own software package, so hopefully this consists of an .exe file only (no updates required, etc).
    i would prefer to talk to a live person about this, or ideally see a quick demo of what is possible with crystal reports.  is this possible?

    Hello,
    Pictures can be a problem, they take up a lot of report space. I assume your pictures are in the database? Large reports get very large quickly with pictures ( ole object ).
    What you could do is download the trial version of CR 2008 and the sample reports:
    Go to this link: http://www.sdn.sap.com/irj/boc and download the trial version of CR XI R2 and use your XI keycode, then apply the patches which you can get to by clicking on the BusinessObjects tab above, then Downloads.
    Direct link to the Trial version: http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx
    I also suggest you call Sales, they can send you links for demo's etc.
    https://smpdl.sap-ag.de/~sapidp/012002523100005852352008E/cr_xi_xtreme_rep_smpl_en.zip
    https://smpdl.sap-ag.de/~sapidp/012002523100006010272008E/feature_smpl.zip
    This may be of help also:
    https://smpdl.sap-ag.de/~sapidp/012002523100006010012008E/demo_smpl.zip
    Thank you
    Don

  • Registration code not sent for Crystal Reports Basic for VS2008

    I need to know how to receive a CR registration code for VS2008.
    In VS2008 when I open a Crystal Report, I'm asked for a registration code.  So I registered at the SAP website for the CR Basic for VS2008 license, but all I received was an email below.  So where is my registration code for this? Where can I get one so I can stop the nag screen.
    Email received below:
    Thank you for registering SAP Crystal Reports, version for Visual Studio .NET 2008.
    As a registered user of SAP Crystal Reports, version for Visual Studio .NET, you'll be the first to receive notifications of product news and updates, beta programs, and special events.
    Make the SAP Crystal solutions support site your primary destination for technical support. Search the knowledge base, read and post to the forums, browse articles, and download service packs.
    Tap into the full power of the SAP Crystal Reports product line. Visit our website, to learn more about optimizing your business, download trial software, and explore upgrade paths that can help you support larger deployments and diverse user needs.
    Thank you for choosing SAP Crystal Reports, version for Visual Studio .NET.
    Sincerely,
    SAP.com Customer Service

    This is not a technical support issue as such. Please call 866-681-3435. They should be able to help you out.
    - Ludek

Maybe you are looking for