Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Crystal Reports General discussion about Crystal Reports. For discussions specific to the book Professional Crystal Reports for VS.NET, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Crystal Reports section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 22nd, 2005, 06:50 AM
Registered User
 
Join Date: Feb 2005
Location: Hyderabad, AP, India.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default logon failed

Hi,
I am getting the error logon failed when I am running a web application with a crystalreport.The error is:

Exception Details: CrystalDecisions.CrystalReports.Engine.LogOnExcept ion: Logon failed.

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:


[LogOnException: Logon failed.]
   .F(String  , EngineExceptionErrorID 
)
   .A(Int16 , Int32 )
   .@(Int16 )
   CrystalDecisions.CrystalReports.Engine.FormatEngin e.GetPage(PageRequestContext reqContext)
   CrystalDecisions.ReportSource.LocalReportSourceBas e.GetPage(PageRequestContext pageReqContext)
   CrystalDecisions.Web.ReportAgent.u(Boolean N)
   CrystalDecisions.Web.CrystalReportViewer.OnPreRend er(EventArgs e)
   System.Web.UI.Control.PreRenderRecursiveInternal()
   System.Web.UI.Control.PreRenderRecursiveInternal()
   System.Web.UI.Control.PreRenderRecursiveInternal()
   System.Web.UI.Page.ProcessRequestMain()

 Can anyone help.
regards,


Rohit
  #2 (permalink)  
Old February 28th, 2005, 06:19 PM
Registered User
 
Join Date: Feb 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

   Dim logOnInfo As New TableLogOnInfo
        logOnInfo = cr.Database.Tables.Item(0).LogOnInfo
        logOnInfo.ReportName = "rptfactsov.rpt"

        ' Establecer los par├ímetros de conexi├│n.

        logOnInfo.ConnectionInfo.ServerName = database
        logOnInfo.ConnectionInfo.Password = password
        logOnInfo.ConnectionInfo.UserID = user
        cr.Database.Tables.Item(0).ApplyLogOnInfo(logOnInf o)



Similar Threads
Thread Thread Starter Forum Replies Last Post
logon failed serdarbyktmz Crystal Reports 0 April 18th, 2007 10:22 AM
LogOnException: Logon failed leoluvis Crystal Reports 0 February 7th, 2006 05:31 AM
Logon Failed! VannAustin BOOK: Professional Crystal Reports for VS.NET 0 March 3rd, 2005 05:13 AM
LOGON FAILED! winnie1778 Crystal Reports 1 January 25th, 2005 04:28 AM
Logon failed. msrnivas .NET Web Services 3 January 24th, 2005 02:56 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.