Skip to Content

Crystal Report asking for logon info

Hello

I have an ASPX webpage hosted in IIS. Upon loading of the page which shows a crystal report that contains subreports, a window is shown asking for the server name, database name, user name, and password. Also the checkbox for "Use Integrated Security" is checked. How do I code my ASPX page to not show this window?

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Mar 02, 2019 at 03:04 AM

    You can use their library to populate parameters server name, database name, username. You can use CrystalDecisions.CrystalReports.Engine for you to begin with.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 04, 2019 at 02:36 PM

    From the Download page:

    https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads

    There is a desktop app that shows how to set the log on in code for the main and subreports.

    Use the same work flow in your WEB app, if you don't set it for the main and subreports it will prompt, CR does not save the Password in the rpt file.

    Must be set in code or it will prompt for it.

    In your case if you are using Integrated Security then set the Server and DB name and it should work without prompting.

    how-to-parameters-in-crystal-reports-for-visual-studio-net

    Don

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.