Logon Failed Error Thrown by Simple Web Report

<p>I am getting the logon failed error when I try to access the web service hosting my report. The report displays information from a typed dataset that loads the XML from the local directory. The report runs fine from a windows console application where I must instantiate a dataset, read the XML, and bind to the report. The typed dataset is in the web service project and the XML file is in the base virtual directory and bin directories.</p><p>To create the web service, I followed an example from a .NET Programming book, but it did not include all of the steps above. Where do I tell the web service to instantiate the dataset and load the data?</p><p>Thanks. Greg <br /></p>

Are you publishing a Crystal Report as a Web Service, i.e., a Web Service view of a Crystal Report, or creating a Web Service that exports a Crystal Report, i.e., export a RPT or PDF of a Crystal Report?
I'm inferring that you have a ADO.NET class that consumes XML, then Crystal reports off that ADO.NET.
I'm also assuming you're not using BusinessObjects Enterprise Web Services.
I'd like to get further info as to where things are breaking down.
Sincerely,
Ted Ueda

Similar Messages

  • Logon failed error when launching Web Intelligence from InfoView

    After changing the Web Intelligence preferences in BusinessObjects Enterprise XI 3.0 Java InfoView to launch the desktop or rich client option, I get a "logon failed" error message. However, when I launch Web Intelligence Rich Client from 'Start > Programs >...' directly, the same logon information is successful. The logon is set to use Enterprise authentication which is the same logon information used to launch InfoView and Web Intelligence.
    Why does the logon fail when I launch Web Intelligence from InfoView?
    Edited by: Ana on Mar 31, 2009 3:43 PM

    I deleted the report completely and rebuilt it from scratch, and also added names for the data table and data set generated within the project and finally, success!
    Jason, thanks so much for your help which got me moving on this again.

  • Crystal report logon Failed Error

    Dear All
    We have installed BOBJ Edge 3.1 Server at Windows Server.
    We insalled Crystal Report 2008 at one of our Laptop.  (Client).
    When we tried to create a sample report,
    we selected a existing universe from the BOBJ Server.  When we selected it ask me for the server connection details. It connected and showed me the existing unverses.
    I selected say eFashion - and picked some fields and Click OK.
    Then it givs logon failed error.
    Can some one explian me where i am missing
    REgards,
    Venkat

    Hi Venkat,
    If the Universe is based off an ODBC connection, then the same ODBC connection (with the same name) needs to be present on the client machine too.
    So, like Don suggested, the client machine would need the same DB client too.
    Open the Universe in the Universe Designer. Go to File > Parameters > Edit. This is where you see all the connection information of the Universe.
    -Abhilash

  • Logon Failed Error in Crystal Reports

    Hiii Experts, 
                    We are facing one error while working on crystal reports 2008 and SAP Version 8.8-PL18 and SAP 8.81-PL 9
    "Logon Failed"  Error comes  even when we add all connection details correctly in connection details window, sometimes it comes some time not.
              We face this error when,
    1) When verifying the database in Crystal reports.
    2)When we are saving any particular report in sap B1.
    3)It comes when we try to set the database Location in Crystal Reports.
    4)Also,when we are trying to view preview of report.
                    This problem is too much time consuming and irregular. We are not able to find exact cause. Please, help  us.
    Edited by: suhas.patil on Jan 24, 2012 3:54 PM

    Hi Suhas,
    when making a test, its always a good practice to test in the same PL, or in a Higher PL.
    anyways, you need to update your Datasource, from your CR IDE goto Database -->> Set Datasource Location. then use either of the 2
    1. OLE DB (ADO) - Driver (SQL Server Native Client 10.0)
    2. SAP Business One
    and update your datasource accordingly.
    rergards,
    Fidel

  • CRVS2010 Beta 2 - "Database Logon failed" Error, after Upgrade

    Hi,
    Generally: we are using the Crystal Reports in combination with a DataSet, that is filled during runtime and pushed to the report, using "SetDataSource". The Project is an ASP .NET 3.5 Project, published on our server.
    I upgraded my development-machine to CRVS2010 (installed both packages - the CRVS for VS 2010 and the runtime) last week and changed some fields in the Report. The DataSet was left unchanged. Everything is working well on my development-machine, but when I publish the Project to our server, I get an "Databse Logon failed" Error, when I want to create my Report. The CRVS2010 Beta 2 redist Runtime is installed on our server. Here is the code, we use:
    // create new Report
    var report = new Reports.repMyReport();
    // DataSource ds was filled correctly (we checked with export to XML
    report.SetDataSource(ds);
    // Set several Parameters to Report
    report.SetParameterValue("test", "test");
    // Export Report to PDF-Format and open in Browser
    report.ExportToHttpResponse(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, Response, false, "reportName.pdf");
    Response.End();
    The error I get is:
    Database logon failed.
    [COMException (0x8004100f): Database logon failed.]
       CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext) +0
       CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) +260
    [LogOnException: Database logon failed.]
       CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e) +325
       CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) +315
       CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext) +650
       CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToStream(ExportOptions options) +98
       CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportOptions options, HttpResponse response, Boolean asAttachment, String attachmentName) +98
       CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToHttpResponse(ExportFormatType formatType, HttpResponse response, Boolean asAttachment, String attachmentName) +124
       SprintBoxWeb.BuchungDruck.Page_Load(Object sender, EventArgs e) in D:\Projects\sprnt_erp\SprintBoxWeb\BuchungDruck.aspx.cs:32
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       System.Web.UI.Control.LoadRecursive() +50
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
    I already tried everything, found googling the web and/or searching this forum:
    e.g.: perform "verify Database" on all Reports and map the DataSet.xsd again to the Report
    Is that a known issue on the Beta and we should wait for the RC, or does anyone have an idea how to fix that one?
    This error is really annoying!
    Many thanks for your help.
    kind regards
    Reinhard

    Dear Ludek,
    Many thanks for your quick reply. Currently, I have to finish some other things. I will try your ideas next week and give you some feedback then, to keep you informed.
    best regards,
    Reinhard

  • Getting the MDX query select error when running a webi report on BI query

    Getting the following error when running a webi report on BI query :
    A database error occured. The database error text is: The MDX query SELECT  { [Measures].[D8JBFK099LLUVNLO7JY49FJKU] }  ON COLUMNS , NON EMPTY [ZCOMPCODE].[LEVEL01].MEMBERS ON ROWS FROM [ZTEST_CUB/REP_20100723200521]  failed to execute with the error Unknown error. (WIS 10901).
    I have gone through many threads related to this error. But not able find the steps to follow for resoultion.
    Please help in this regard.
    Thanks,
    Jeethender

    The Fix Pack is also for Client Tools--it is a separate download.  Please see the text below for ADAPT01255422
    ADAPT01255422
    Description:
    Web Intelligence generates an incorrect MDX statement when a characteristic and a prompt are used.
    The following database error happens: "The MDX query ... failed to execute with the error
    Unknown error (WIS 10901)."
    New Behavior:
    This problem is resolved.
    This information is also available in the Fixed Issues document for any Fix Pack greater than 2.2.

  • Database logon failed error on IIS7

    I am getting a Database logon failed error on a report that is being called in ASP.NET form on IIS7. This error does not happen in my development environment but only on the webserver in IIS7. I can open the report and run it in Crystal Reports designer without any problem. Any help on this will be appreciated. The error message I get is below.
    Report File: LossRunByPolicyNoDates.rpt Report Path: C:\inetpub\wwwroot\adhoc_reports\LossRunByPolicyNoDates.rpt Export Path: C:\inetpub\wwwroot\adhoc_inbox\khogan\RSF500217-09.pdf CrystalDecisions.CrystalReports.Engine.LogOnException: Database logon failed. ---> System.Runtime.InteropServices.COMException (0x8004100F): Database logon failed. at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext) at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) --- End of inner exception stack trace --- at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e) at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext) at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext) at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext) at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export() at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export() at adhoc.WebForm1.btnRun_Click(Object sender, EventArgs e) in C:\inetpub\wwwroot\adhoc\WebForm1.aspx.vb:line 443

    In addition to the information that Bhushan requested;
    What database?
    How are you connecting to it (ODBC, OLE DB, etc.)?
    I'd also highly recommend having a read of the following:
    What do I need to do to get the fastest issue resolution?
    With he info you provided, you are asking us to guess, which typically proves to be a very inefficient way of troubleshooting any issue...
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Logon fail error

    I created a Windows appliction using CR 2008 basic (VS2008). It connects to an SQL server 2008 computer using SQL server authentication. The application works fine in Vista and Windows Server 2008; it connects to the SQL server, generates the report and shows it fine. All this without asking me about username and password to logon to the database (as i provide the username and password in the code). However, when i use the application in Windows Server 2003 or Win XP, it gives a logon failed error and shows a prompt for entering username and passord to logon to the database. Even when i enter the correct password, it keeps giving logon error. I'd appreciate any help. Thanks.

    More than likely, this is a database client issue - either not installed, not installed correctly, or incorrect version. E.g.; it is not a code issue. Couple of ways of troubleshooting this:
    1) Download the Modules utility and compare the dlls loading on a working and non working machines. Modules is [here|https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip]
    2) Download an eval of CR 2008, install it on one of the non working computers and try to run the report fromthe designer. Eval of CR 2008 can be downloaded from [here|http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx]
    Ludek

  • DAO Logon failed error

    In one of our clientu2019s machine they are getting a logon failed error u201CCannot open a database created with a previous version of your application.u201D Our report is connecting to multiple tables created in Access 97 password protected database using DAO native connection. In one of the reports that uses single table if I will create a recordset and pass it as the datasource it works fine. I cannot apply this to the other reports since it is using several tables and subreports with a link to the main table. I added a code to test the connectivity on each table after I set the location and password and it fails. Can you please help me figure out why the report cannot connect to each table and what causing this logon failed error?

    Ok so to clarify how was that report originally created, off the tables or off the dataset?
    Because using one or the other requires code to update the report itself if changing. Setting the report to a dataset doesn't require logon info. And at the same time setting a report based on a DS to a DB does require logging on.
    Next, can anyone, even the DBA who has full access, run that report? CR fully supports DB security, so if the user does not have access to the tables in the report then you will get an error.
    Don

  • Crystal Reports when connecting to SAP ERP gives Logon Failed error

    Hello Friends,
    We are trying to implement the SAP Best Practices Crystal Reports and Xcleisus Dashboards for ERP. We are using BI 4.0 SP2, Crystal Reports 2011 SP2 and SAP ECC 6.0 FP 5.
    We have done all configurations at the SAP end and successfully adpated a couple of Crystal Reports and they work fine.
    My client machine crashed and I had to reinstall my Windows and all Client Tools. After the installation, when I tried to adapt a few more reports, I face the below problem:
    After opeing the Crystal Report, when trying to Set the DataSource location, I select Create New Connection and select SAP Infosets. The SAP logon popup comes and I select the ECC system and enter the logon credentials for SAP ECC, I get an error message saying
    Logon Failed.
    Details: some square boxes.
    The error doesnt really make any sense. Unfortunately, I am not able to test this scenario in any other machine as I am the only developer here. I am almost sure this is because of some configuration set up in my client machine,
    Can some please help?
    Thanks in advance!

    Hello,
    I recommend looking at a couple of things:
    1) Do you have the latest Crystal transports installed with ECC?  SP 2 has new transports.  Check this subdirectory
    Crystal Reports 2011\DATA_UNITS\CrystalReports\Collaterals\Add-Ons\SAP\Transports\unicode_compatible\cofiles
    Use STMS to see if transports are installed
    2) Are you using 3.1 ?  Do you have the Integration Kit installed on ECC and client side?
    Tammy

  • Logon failed error when pushing data from dataset

    Hi,
    I am trying to embed a Crystal report in an ASP.NET 2005 web page, but every time I run the page I get the following error:
    Logon failed. Details: crdb_adoplus : Object reference not set to an instance of an object. Error in File C:\DOCUME1\PB_IT_AN\ASPNET\LOCALS1\Temp\DIPSummary {DC347D6B-44F8-441F-8940-4A16ACB54E76}.rpt: Unable to connect: incorrect log on parameters.
    I have set up the report using a simple xsd schema in my project which corresponds to the data being extracted from the database (SQL Server 2000) elsewhere within the project.  This is being populated into a datatable (dtPCDipSummary) which is then put in a dataset and used as the data source for the report.  My code is as follows:
                    DSDipSummary.Tables.Add(dtPCDipSummary);
                    oRpt.Load(Server.MapPath("DIPSummary.rpt"));
                    oRpt.SetDataSource(DSDipSummary);
                    crvDIPSummary.ReportSource = oRpt;
                    crvDIPSummary.DataBind();
    I don't understand what the report is trying to log on to, as the only thing it points to is the schema definition within the project - no reference to an external database.
    I have scanned through numerous references to the same error on the internet and tried everything I thought might help but without success.
    Please can someone point me in the right direction to get a solution to this?

    I deleted the report completely and rebuilt it from scratch, and also added names for the data table and data set generated within the project and finally, success!
    Jason, thanks so much for your help which got me moving on this again.

  • Live Office: Database logon failed error

    Please help...Live Office problem...
    Am working in Xcelsius 2008.
    Here's what I'm trying to do:
    1. I set up a Crystal Report using a Stored Procedure as the data provider.
    2. The Stored Procedure has a parameter built into it.
    3. When the report is refreshed within Crystal, the prompt dialog box is displayed; I fill in the desired value, and run. Everything comes back fine.
    4. Crystal Report is exported to the repository.
    5. In Excel, I inserted the Crystal Report using Live Office. It shows up as a Live Office object just fine.
    6. I bound an Excel cell to the prompt; when you change the value in the bound cell, the Live Office object refreshes and displays the correct results.
    7. In Xcelsius, I imported the Excel spreadsheet.
    8. I set up a Text component that is bound to the cell containing the parameter value. Also set up a Grid to display the results, and a Connection Refresh button to call the refresh. Added a Live Office Data Connection pointing to the Web Service URL for the report. 
    Note: When in Designer mode, if the value of the bound cell is changed, the results in the grid change accordingly.
    9.  When in Preview mode (or generated swf), if the Refresh button is pressed, a "User Identification" dialog box appears asking me to log on. The values it asks for are: System, User Name, Password, and Authentication.  I enter the same credentials as are within the Live Office settings in Excel, (which are working correctly), but receive an error "soapenv:Server.generalException: Database logon failed.".
    Note - all the id's are synced up - Business Objects, Database, etc.
    I've tried all kinds of combinations, but nothing gets me past this error. If I use any other server than the system one, the error message is "soapenv:Server.generalException: Server XXXXX not found or server may be down".
    I've noticed that in Excel directly, when I open the spreadsheet and refresh the Live Office object, I am prompted to log on to the database where the stored procedure is being executed. This dialog box does not appear once the Excel sheet has been imported into Xcelsius. One of the combinations I tried in the "User Identification" dialog box was the name of the database server, that didn't work either.
    I also tried creating the Live Office object directly within the Excel spreadsheet in Xcelsius, but then I was unable to bind the prompt value. Could never get the Live Office/Properties menu to appear.
    Ideas? Thoughts?
    Thanks in advance!
    Stephanie

    Got it!
    Here's what I had to do...
    In the CMC, under Object/Process/Database for the Crystal Report -
    which says...
    "Set the default information for logging onto the data source(s) automatically whenever the report is run."
    The Database Connection option had to be set to "Use custom database logon information specified here" and
    the When Viewing Report option set to "Use same database logon as when report is run".
    Then everything works fine - prompts appear, and Xcelsius passes the log on information to the database correctly. Stored procedure executes and returns the correct results.
    Thanks to everyone for their help!
    Stephanie

  • "logon failed" error when connecting to XML data source

    I have an HTTP source that generates XML. I have a schema that describes this XML. If I save the XML to a local file it works fine as a data source with the schema. However, when I try to access the same data via HTTP, I get the following error:
    Logon failed.
    Details: Cannot open file
    Server returned HTTP response code: 401 for URL: http://localhost:8004/report.xqy?Validate%20XML=0&Use%20WS-Security%20Config%20File=&WS-Security%20File%20Location
    However, if I enter that URL in a browser it works fine. And even if I disable security on the HTTP source, it produces the same error.
    I have tried a local HTTP source as well as the same source running on Amazon EC2.
    Any ideas?

    Thanks for the help.
    I am new to crystal reports, so I do not understand your suggestion. Both of those points look like they are related to Adobe Flash.
    I am trying to create a report using the standard report creation wizard:
    1) new, standard report
    2) create  new connection
    3) xml and web services
    4) xml data source
    When using the sample from the SAP site, it works fine:
    http://resources.businessobjects.com/support/downloads/samples/cr/customer_db/customer.xml
    When connecting to my source from a browser, it works fine. When using my source as a local document instead of over http it works fine. It is only when connecting to my source over http that I get the failed logon error.
    Kelly

  • "Database logon failed" error received after upgrading from CR XI to CR 200

    We have a bunch of reports that use ttx files and datasets.  The code to support this was written and compiled originally using .NET 2.0 and CR XI.  After recompiling using .NET 3.5 and CR 2008 (not the version that came with VS2008), when I run the reports, I now receive an error "Database logon failed".  after clicking throught he error, I am prompted to enter a username and password.  Just for the heck of it, I entered my database userame and password with no luck.  I cancelled out of the login dialog and the frae of the report appeared but no report.  No code was changed.  How do I fix this?
    I know that I should convert the reprots to use xml schema files but I have over 300 reports and this will take time.  I need to get this fixed ASAP.  After I get this running, I can then [leisurely] fix the reports and use xsd files.

    Since the reports were create off of ttx files, they would be expecting a recordset at that time. How are you passing the data to the reports with CR 2008 and VS 2008?
    Also, see the following:
    [1468232  - How to use reports based on multiple TTX files in Visual Studio .NET|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433363338333233333332%7D.do]
    [1468232  - How to use reports based on multiple TTX files in Visual Studio .NET|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333433363338333233333332%7D.do]
    And don't forget to search these forums - a fair amount of info in this topic here. The search box in the top right corner of this web page will also give you a number of blogs, KBases, wikis articles and more. E.g.; the search term "ttx net crystal", brought up the above two KBases (along with a number of other content).
    Oh. If this is critical, remember you always have the option of creating a phone case;
    http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100?resid=S6I@hgoHAkEAAGsiyVkAAAAR&rests=1282226845369
    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]
    Edited by: Ludek Uher on Oct 7, 2011 7:04 AM

  • Getting Logon Failed error connecting to SAP R/3 with Crystal

    I have Crystal Reports 2008 and also the SAP Integration Kit installed on my desktop.  I've imported the transports into my DEV and QAS systems and am trying to connect directly to R/3 from Crystal using the SAP Table, Cluster or Function choice.
    I receive the error:
    Logon failed.  Details: You do not have the necessary rights to design reports against the SAP system.  Please check with your system administrator. 
    I'm using a logon that has full rights within SAP.  It recognizes my password because when I try a password that I know is wrong I get a different error message: Logon failed. Detail: Name or password is incorrect.  I receive the same error in PRD even though I have not imported the transports into that client.
    I have Crystal Server but am not trying to use that at the moment.  Just Crystal Reports as a standalone product.  If I've left something out please let me know.
    Thank you,
    Kevin Scheeler

    Hi Kevin,
    take a look at the Installation Guide for the SAP Integration Kit which includes a detailed list of authorizations per use case in the appendix
    the documentation is available on help.sap.com
    Ingo Hilgefort

Maybe you are looking for

  • Cannot Add new fields to standard QM datasource

    Hi I got this erro when I try to add new fields from LBWE. Field ZZRFKIMG cannot be selected because of unit field VRKME -> see long text Message no. MCEX032 Diagnosis Field ZZRFKIMG cannot be transferred, since its unit field VRKME is either not in

  • Recovering image metadata on deleted images

    I deleted images on the hard drive by mistake, does that delete the catalogue data as well? I'm not sure if it does because when reimporting those same images from a backup the image names are changed to xxx.DNG-2 and not xxx.DNG as they were origina

  • Need to know the Business Package for CRM4.0 Sales in EP6.0

    Hi experts,   We are trying to implement the CRM4.0 Sales business package in our EP6.0 environment( Our Backend R/3 is in 4.6B) . We would like to install complete package for the Sales module (The main (Top level) menus in the portal look like the

  • Urgent help in searching XML docs

    Hi All, I have started using JDOM and created a XML document after reading the contents from a text file. Now i need to implement a search facility on this XML document. The structure of my XML document is given bellow <Company ID="C1">   <Name>aa</N

  • Tux 8.0 No BBL available on site

    when I try to start Tux, these are the errors: Booting all admin and server processes in /opt/impact/sys/demo/cfg/tuxconfig INFO: BEA Tuxedo, Version 8.0, 32-bit, Patch Level 254 INFO: Serial #: 650522264137-888722211569, Expiration NONE, Maxusers 5