CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2003
    Location
    Montreal
    Posts
    59

    Lightbulb Login Failed. Weird error with viewing reports

    I am trying to view a report and I get the following:

    Server Error in '/corporate_customer/applications/CISS' Application.
    --------------------------------------------------------------------------------

    Logon failed. Details: ADO Error Code: 0x80040e4d Source: Microsoft OLE DB Provider for SQL Server Description: Login failed for user 'SA'. SQL State: 42000 Native Error: 18456 Error in File UNKNOWN.RPT: Unable to connect: incorrect log on parameters.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Runtime.InteropServices.COMException: Logon failed. Details: ADO Error Code: 0x80040e4d Source: Microsoft OLE DB Provider for SQL Server Description: Login failed for user 'SA'. SQL State: 42000 Native Error: 18456 Error in File UNKNOWN.RPT: Unable to connect: incorrect log on parameters.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:


    [COMException (0x8004100f): Logon failed.
    Details: ADO Error Code: 0x80040e4d
    Source: Microsoft OLE DB Provider for SQL Server
    Description: Login failed for user 'SA'.
    SQL State: 42000
    Native Error: 18456
    Error in File UNKNOWN.RPT:
    Unable to connect: incorrect log on parameters.]
    CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
    CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +72
    CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +218

    [Exception: Load report failed.]
    CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +269
    CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +760
    CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +52
    CISS.CISSViewer.Page_Load(Object sender, EventArgs e) in Q:\entrisk\corporate_customer\applications\CISS\CISSViewer.aspx.vb:82
    System.Web.UI.Control.OnLoad(EventArgs e) +67
    System.Web.UI.Control.LoadRecursive() +35
    System.Web.UI.Page.ProcessRequestMain() +750


    Any feedback would be great.
    Let's share our knowledge.

  2. #2
    Join Date
    Jul 2004
    Location
    Chennai, India
    Posts
    1,064

    Re: Login Failed. Weird error with viewing reports

    Open the report and verify Database; save the report and try again
    Also refer this
    http://support.microsoft.com/default...b;en-us;328306
    Madhivanan

    Failing to plan is Planning to fail

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured