Missing DataBase Login information for deployed VS2008 w/Crystal Report

I'm creating a Windows Form application using VS2008 Pro and the basic Crystal Reports (included).</br></br>
I've successfully added a crystalreportviewer control and a crystal report (.rpt) to my form. I've written the following code in the code behind to programmatically load/bind the report to the viewer. Everything works fine on my development machine (or any machine that has Visual Studio installed). Where I'm encountering problems is when I deploy the application to a machine that does not have VS installed (I have downloaded and installed the "Crystal Reports Basic for Visual Studio 2008 Redistributable Package" for the appropriate processor type on this non development machine) that I'm getting an error . It prompts for "DataBase Login". The ServerName, LoginID and Password are all there, but the "DataBase" field is empty and disable for user input.</br></br>
Why is the DataBase information missing? How can I solve this problem?</br></br>
(On a side note, I vaguely remember a property for enabling/disabling the prompting of the database login. I can't remember where this was again to double check if that is the culprit. But I'm pretty sure that I did mark it as to not prompt, since it's supplied in the code behind. Plus it doesn't prompt on the development machines. Only on the non-development machines).</br></br>
Any help is greatly appreciated! Thanks.</br></br>
The code executed in the PageLoad event of the form.</br></br>
this.crystalReportViewer1.RefreshReport();</br>
            ReportDocument reportDocument = new ReportDocument();</br></br>
            #region Load Parameters</br></br>
            ParameterFields paramFields = new ParameterFields();</br></br>
            for (int i = 0; i < _parameterName.Length; i++)</br>
            {</br>
                ParameterField paramField = new ParameterField();</br>
                paramField.ParameterFieldName = _parameterName<i>;</br>
                ParameterDiscreteValue discreteVal = new ParameterDiscreteValue();</br>
                discreteVal.Value = _parameterValues<i>;</br>
                paramField.CurrentValues.Add(discreteVal);</br>
                paramFields.Add(paramField);</br>
            }</br></br>
            crystalReportViewer1.ParameterFieldInfo = paramFields;</br></br>
            #endregion</br></br>
            #region Load Report</br></br>
            string reportUrl = "";</br></br>
            string exePath = Application.ExecutablePath.ToString();</br>
            exePath = exePath.Remove(exePath.Length - 18, 18);</br>
            exePath += _reportName + ".rpt";</br>
            reportUrl = exePath;</br>
            reportDocument.Load(reportUrl);</br>
           #endregion</br></br>
           reportDocument.SetDatabaseLogon("myUserName", "myPassword", "myServer", "myDataBase");</br></br>
            crystalReportViewer1.ReportSource = reportDocument;
</br></br>
Edited by: mtech8 on Jan 9, 2010 3:03 PM. Corrected formatting issues to make post readable.

HI. Ludek,
Thanks for the tips. I tried both, but the problem presists.
On a side note, I did get my hands on yet another "non-development machine". This one ran with Window's Vista appeared to work (even with my original code).
The "non-development machines" that I've tested on are Windows 7 and Window XP machines. On these machines, when I commented out the reportDocument.SetDatabaseLogon line, when I try to load the report, it still prompts for the Database Logon information, however, it also has the "Database name" empty and disabled.
Since it worked on a non-development machine with Win Vista. I don't think there is a problem with references or the Crystal runtime packages.
As far as permission for the report to contact the database, I'm guessing there isn't a problem there either because the application does successfully connect to the database.
I'm connecting to a SQL2005 database and using the SQL Native connection.
On a side note: as for the enabling prompting, I just remembered that it was an option available when using Crystal Reports with a web project. Thus I couldn't find it here with a Window's Form project.

Similar Messages

  • The database logon information for this report is either incomplete or inco

    getting below error while opening a report from infoview
    The database logon information for this report is either incomplete or incorrect.
    Unable to retrieve Object.
    The database logon information for this report is either incomplete or incorrect.
    They can open the same report from crystal designer.We have checked the database and it is pointing to correct one in process->database of CMC.
    They have created the report with windows NT credentials.
    Can any one help in this regard.
    Thanks,
    Gokul.

    How did you set up NT auth on the report? With CR Designer I'd assume you are using a trusted connection? Which option did you choose in the CMC for DB credentials? Prompt, same login, or SSO (I don't have the CMC screen in front of me right now so I'm abbreviating the options)?
    Regards,
    Tim

  • The database logon information for this report is either incomplete

    Hello All
    I have installed a full licensed version of crystal reports server 2008 onto a windows server 2003 virtual server.
    I am getting the following error message when trying to run some reports when i am logged in as the adminstrator
    'The database logon information for this report is either incomplete or incorrect.'
    Some reports work and some dont, I use the same login information for all reports, same username and same password, same machine datasource and all the reports  run fine in crystal designer 2008
    The only difference i can see is that the error mainly occurs with reports that use stored procedures, the ones that dont work fine.
    I not sure how to resolve this problem as i have tested the login and the datasoure and it works fine, just not through crystal reports server

    Further to this i've realized that this only happens with reports which have been updated to use a stored procedure from a query file. And the reports dont use any repository objects

  • The database logon information for this report is either incomplete or incorrect

    Post Author: mchishty
    CA Forum: Authentication
    We have published a crystal report (XI) to InfoView (XI R2 SP2) and we are getting the following error for the database login.
    "The database logon information for this report is either incomplete or incorrect."
    The report is working fine in Crystal Reports XI.
    The report is using the OLE DB connection to ORACLE.
    The same server is running WebI reports against the same ORACLE DB. Thanks

    Hi,
    We configure DSN with windows authentication and report in CMC has the configuration information like this
    Server Name: Populated
    Database: populated
    User: Empty
    Password: Empty
    For the report to run, do we have 6400 to 6490 ports open?
    we have port 1433 open between database and CR server but not the 6400 - 6490 ports open?
    Thanks in advance

  • Database Login information is not incorrect

    Post Author: Plist
    CA Forum: Authentication
    I am trying to access a report with CR Server XI, one which works fine in crystal reports. Yet whenever I try to access it I get the following error:
    The database logon information for this report is either incomplete or incorrect.Unable to retrieve Object.The database logon information for this report is either incomplete or incorrect. I know for a fact the information is correct, and what really gets me is other reports using the same database(different tables) still work. Yet I'm pretty sure I have checked all securites and everything is the same. I have seen other people with similar problems but can't seem to find a response anywhere. So can anyone help me? Thanks in advance. 

    Post Author: Plist
    CA Forum: Authentication
    Thanks for the info but thats not the problem, I am using a SQL database not a microsoft access database.

  • Cannot verify database login information

    We are installing BO BI platform 4.0 SP2 in AIX 6.1
    we are using Database Oracle 11.2.0.2
    Oracle SID : JBD
    During the installation- Configure CMS repository Database - Oracle step,
    We have input the correct DB TNSNAMES, user and password
    we have error:
    "You cannot proceed because the following has failed validation:
    Cannot verify database login information. [INS00104]"
    We have read Notes 1638205 but it seems not much helps.
    we can connect to database using specified user and password.
    Any idea?
    Thanks,
    DJ

    Hi,
    can you please answer the following Questions:
    1. Which Oracle Middleware is installed?
    2. Is the Oracle Middleware installed with the same user you want to install BI4?
    3. Can you tnsping the Oracle DB from the BI4 Host?
    4. Can you connect via sql plus to the Oracle DB from your BI4 Host?
    5. Can you ping the Oracle DB Host from your BI4 Host?
    Regards
    -Seb.

  • I have lost my login information for cellular data account. How do I retrieve it?

    I have lost my login information for cellular data account. How do I retrieve it?

    I called AT&T at 1-800-331-0500 and asked for IPad support. They are going to send me a new SIM card. This will solve the problem. Thanks for  your help.

  • I've stored login information for many sites but on some sites I've to login manually. What to do?

    I'd stored login information for Facebook. Earlier firefox used to fill in the login information but now it doesn't . What to do?

    You could try going into settings, Safari, auto fill then turn on names and passwords.

  • "Cannot verify database login information. [INS00104]"

    Hello,
    I installing BObj 4. In step (Configure CMS Repository Database - Oracle)  error occurred - "Cannot verify database login information. [INS00104]".
    OS:  Red Hat Enterprise Linux Server release 5.7 (Tikanga)
    DB: Oracle 10.2.0.2
    Distr: SBOP BI PLATFORM 4.0 SP02 SERVER LINUX (64B) Number 51041018
    log setupengine.log:
    11:24:45.556 [run_external_executable] cmdLine: cd "/opt/distr/BI/51041018/DATA_UNITS/BusinessObjectsServer_linux/dunit/platform.services.cms.cpp.dbcheck-4.0-core-64//"; /opt/distr/BI/51041018/DATA_UNITS/BusinessObjectsServer_linux/dunit/platform.services.cms.cpp.dbcheck-4.0-core-64//dbcheck  -DBDriver [UsingCMSDBType]databasesubsystem -ConnectionString "DSN=[ExistingCMSDBServer];UID=[ExistingCMSDBUser];PWD=[ExistingCMSDBPassword]" -ClusterKey ******** -DBCheckLogFile "[$logs.folder]dbcheck_log.txt" -loggingPath "[$logs.folder]" -ResetDB [ExistingCMSDBReset] -PrintErrors -defaultlocale [setup.core.prime-4.0-core$setupuilanguage]
    11:24:45.557 [run_external_executable] Exit code: 35584
    11:24:45.557 [run_external_executable] Produced output:
    11:24:45.557 Error: Redirected from stderr
    11:24:45.557 Error: sh: line 1:  8874 Segmentation fault      /opt/distr/BI/51041018/DATA_UNITS/BusinessObjectsServer_linux/dunit/platform.services.cms.cpp.dbcheck-4.0-core-64//dbcheck -DBDriver oracledatabasesubsystem -ConnectionString "DSN=ESBODEV;UID=ESBOBJDEV;PWD=ESBOBJDEV" -ClusterKey "bobj123" -DBCheckLogFile "/tmp/2012.01.12.11.22.11/dbcheck_log.txt" -loggingPath "/tmp/2012.01.12.11.22.11/" -ResetDB 1 -PrintErrors -defaultlocale en
    11:24:45.557 Error:
    11:24:45.557 Restored original environment to : BO_TRACE_LOGDIR=
    Please, help me.
    Best regards,
    Sergey.

    Hi Sergey,
    It seems to be a known issue when special characters are used in the password of your user in Oracle.
    https://service.sap.com/sap/support/notes/1638205
    Try changing the password so it does not contain any special characters.
    Regards,
    Julian

  • The migrated Crystal Report throws "The database logon information for this report is either incomplete or incorrect" error

    [ENVIRONMENT]
    Product version - BI4.1 SP03
    OS - Windows 2008 R2
    CMS Database - Oracle 11g
    Java Application Server - Tomcat7
    [ISSUE]
    Using the Upgrade Management Tool to completely migrate a BOXI3.1 SP3+FP3.6 to BI4.1 SP03.  The reporting database from both BOXI3.1 and BI4.1 are the same and so is the database logon credential.
    When viewing and refresh a migrated Crystal Report, it throws "The viewer could not process an event. The database logon information for this report is either incomplete or incorrect. [] ---- Error code:0 [CRWEB00000119]" error in both BI Launchpad and "The database logon information for this report is either incomplete or incorrect" in scheduled job.
    [STEPS TAKEN]
    - Update the Database Configuration with the SAME Oracle database password in CMC and "The database logon information for this report is either incomplete or incorrect" issue goes away.
    I search the SAP SMP and SCN forum and found no reference on this UMT and Crystal Report database logon problem.  Hope any of you have seen this problem and share if there is an ADAPT for it.
    Thank you in advance,
    Jin-Chong

    Hi,
    The BI4.1 SP03 server and client and Crystal Report 2013 SP03 developer and Crystal Report for Enterprise 4.1 SP03 are all installed onto this Windows 2008 R2 server.
    I am able to open the migrated report from CMS repository in Crystal Report 2013 SP03 developer and am able to refresh it with database logon password provided.  After save it back to the Enterprise, the database logon password field for this report in CMC becomes empty so that I have to enter the database password and choose "Use same database logon as when report is run" when viewing and scheduling report.
    What is interesting to me is that the UMT seems to migrate the report along the database logon password because I can see the encrypted password in the report database logon property in CMC.  The workaround is to reenter the database logon password in the report database logon property in CMC.
    With this said, there are hundreds of the Crystal reports and the workaround would consume lots of manual work by update each report's database logon password in CMC.
    For other customers who have more crystal reports, I wonder if there is an automated way to update the crystal report's database logon password on BI4.1 or if this is an isolated incident on my new BI4.1 SP03 environment.
    I run UMT in command line to perform livetolive migration, and my steps are listed below
    cd "E:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\apps\upgradeManagementTool\jars\"
    "E:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win64_x64\sapjvm\bin\javaw.exe" -Xmx56g -Djava.library.path="..\..\..\..\win64_x64" -jar upgrademanagementtool.jar -internal_use_only_noversioncheck -responsefile LIVETOLIVEResponseFile.txt
    LIVETOLIVEResponseFile.txt:
    mode=livetolive
    source=edhc01nwapp65:6400
    sourceusername=Administrator
    sourcepassword=xxxxxxxxxx
    destination=WAPP246N:6400
    destinationusername=Administrator
    destinationpassword=xxxxxxxxxx
    logfile=E:\temp\livetolive.csv
    configparam:base_url=https://boprod.bsc.bscal.com/dswsbobje
    locale=en_US
    Regards,
    Jin-Chong

  • Version 4.0.1 won't remember login information for my financial websites?

    Each new day I have to reenter my login information for my financial websites, e.g. Chase, Citibank, etc. After I power down and turn the computer back on the information is lost. Does not happen with non-financial websites. I think, somehow, the cookies are being erased after powering down.

    What was the exact wording of the error message?  If it said network timeout, try disabling the antivirus and firewall on the computer during the download and update.  Kaspersky is especially bad.

  • WEB Server And Database Space requirements for deploying Web Application

       Hi,
         We are in requirement of WEB Server  And Database Space requirements for deploying  our Web Application in cloud server. We want to know technical requirements and feasibilities laid by Microsoft team for deploying web
    application.......
    Regards,
    Sreenivasa M S

    Hi,
    Please refer this link and check if it helps:
    http://blogs.technet.com/b/cbernier/archive/2013/09/24/deploy-your-web-application-to-windows-azure-from-with-visual-studio.aspx
    Regards,
    Azam Khan

  • Crystal Reports for Eclipse vs. Crystal Reports Developer

    We are developing a Java web application for internal use.  Since we have some people at the company who are familiar with Crystal Reports, we'd like to have them write reports that we can display through our application.  Crystal Reports Server seems like overkill for this project, but the <a href="http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/devsuite.htm#en/JRC_SDK/">JRC</a> sounded like a good fit.
    I have been evaluating <a href="http://www.businessobjects.com/products/reporting/crystalreports/developer/default.asp">Crystal Reports Developer</a> and trying out the <a href="http://support.businessobjects.com/communityCS/FilesAndUpdates/crxi_r2_jrc_web_samples.zip.asp">JRC samples</a>.  The samples don't use the tag library.  Instead, they show how to set session variables and redirect to a viewer JSP which contains a bunch of Java code to use the CrystalReportViewer.
    The samples are so much more complex than the code created by Crystal Reports for Eclipse, which simply uses the tag library:
    <%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer" %>
    <crviewer:viewer reportSourceType="reportingComponent" viewerName="myreport-viewer" reportSourceVar="myreport" isOwnPage="true">
    <crviewer:report reportName="myreport.rpt" />
    </crviewer:viewer>
    I assume that I should be able to use the same tag library approach without using Crystal Reports for Eclipse, but I haven't seen any tutorials on it.  I'm trying to understand whether I should purchase Crystal Reports for Eclipse instead of Crystal Reports Developer.
    This is the difference, as I understand it:
    Crystal Reports Developer gives you the stand-alone Crystal Reports Designer and the right to run the JRC on an internal server.  It costs <a href="http://store.businessobjects.com/store/bobjects/DisplayProductDetailsPage/productID.40434600">$595</a>.
    Crystal Reports for Eclipse Standard provides a free report designer built into Eclipse.  It also includes the JRC for use on an internal server.
    Crystal Reports for Eclipse Professional provides "a more powerful runtime engine" with the right to run it on one internal server.  It costs <a href="http://store.businessobjects.com/store/bobjects/DisplayProductDetailsPage/productID.52068100">$495</a>.  Is this the same JRC provided with Crystal Reports Developer?
    If the "powerful" JRC is the same as Crystal Reports Developer's JRC, could I install Crystal Reports for Eclipse Standard to take advantage of the Eclipse integration and the built-in designer, but use the more powerful JRC from Crystal Reports Developer, which would also give me the stand-alone designer?

    <p>Hi there,</p><p>     If you are planning on deploying a JRC application then you should definitely be using Crystal Reports for Eclipse for your runtime engine. It is the latest version of the JRC and includes many updates not available in Crystal Reports Developer.</p><p>As for "power" the JRC included in CR Developer is on par with the JRC available in the Basic edition of Crystal Reports for Eclipse. The Professional edition of Crystal Reports for Eclipse provides the most powerful version of the JRC available.</p><p>With the release of Crystal Reports for Eclipse, Business Objects is setting the groundwork for separating Developer needs from the Report Author needs.</p><p>A professional report author will require a professional report design tool. For these users we are recommending that they purchase Crystal Reports Professional.</p><p>The developer, on the other hand, generally needs the SDKs and a toolkit to assist with building applications. We believe that these should be available at no cost to the developer, only charging when the application is deployed (in this case a CR4E Pro license). This is different from the current model with Crystal Reports Developer where we have combined a professional report designer plus the required runtime.</p><p>So, to summarize, definitely use Crystal Reports for Eclipse for your application runtime and have your report authors puchase Crystal Reports Professional. If you need a more powerful engine, access to technical support or plan to deploy on multiple servers then I would recommend purchasing the Crystal Reports for Eclipse Professional license for your development purposes.</p><p>As for some tutorials on creating viewer pages, the integration in Eclipse provides a very simple way of accomplishing this. I would suggest reading the section titled "<strong>Creating a New Viewer Page</strong>" in our Getting Started Guide found at the following URL:</p><p><a href="/node/320"><strong> http://diamond.businessobjects.com/node/320</strong></a></p><p>Let me know if you have some follow-up questions. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) <br /><strong><br /><a href="http://www.eclipseplugincentral.com/Web_Links-index-req-ratelink-lid-639.html">Rate this plugin @ Eclipse Plugin Central</a></strong>           </p>

  • How to set a new value for formula field in crystal reports xi?

    <p>How to set a new value for formula field in crystal reports xi?</p><p>//formula</p><p>{@description}</p><p> </p><p>exemplo in VB6</p><p>crxSubreport.FormulaFields.Item(1).Text =  "&#39;Subreport Formula&#39;"  or</p><p>crxSubreport.FormulaFields.Item("description").Text =  "&#39;Subreport Formula&#39;"</p><p>How to in JRC?</p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p>

    Hi,
    This functionality is known to be very important and is a key part of the next major release of the JRC planned for the first half of 2008.
    Regards,
    <p>Blair Wheadon</p>
    <p>Product Manager, Crystal Reports</p>

  • Reporting tools for the Business user - Crystal reports or BEx tools ?

    Hi,
    We have recently implemented BI/BO infrastructure. Scope of the inital implementation was an executive dashboard based off COPA data. We have used Xelcisus for dashboard and BEx tools for query design etc.
    We would like to set up some of our key business users (analysts in respective functions) to be able to write their own queries off this COPA cube. The discussion point is whether to roll out Crystal reports for business users or have them trained on BEx tools i.e BEx query designer/analyzer.
    Any inputs to my question "Crystal Reports or BEx tools for the Business users - pros and cons", is appreciated.
    Thanks,
    Girish

    Our user currently do not have anything.  It's fresh implementation. We would like to get the business users involved. The question is - what's the best start for a business user - Crystal Reports or Bex ?

Maybe you are looking for

  • Having the same web part twice on a page - how to distinguish parameters

    Hello, I've made a web that takes a set of custom properties . If I put the web part twice  on the same pages, all the web parts are using the same custom parameters.  I understand that the culprit is in line: public static string strList, but I wond

  • I cannot use the top level of tabs on my yahoo mail with a Flash Player add on

    yahoo mail has updated their home page. The top line of tabs: contacts etc does not work. The curser does not change to a hand. The email inbox seems to work OK. If I uninstall a Flash Player add- on, the yahoo mail works normally. This Flash Player

  • Error in Fiscal Year Change

    Hi, i am trying to change the Fiscal year of Fixed Assets in AJRW. however some of the assets are showing error as below. Asset 442525-000 in Co code ABC : Error in Fiscal Year Change. Message No. AA707 Diagnosis The fiscal year change in asset has p

  • Keynote Bug: Object colors changing when opened on different machines

    I'm collaborating on a series of presentations with two other people all using Keynote 3.0.1 and we have discovered that the colors of imported graphics are changing (slightly) when we send files to each other. The same files remain normal on the mac

  • Role Expert Role Approval Error

    Hi , When i am trying to change role and click on approval tab in Role Expert....I am getting the following error. Unknown error occured while performing operation (Service call exception; nested exception is: com.sap.exception.io.SAPIOException: <Lo