I just want to let everyone know that the problem I was having was related to calling .SetDataSource with a DataTable rather than a DataSet as the parameter. Doing that works fine in Winforms but not so fine in Asp.Net. Since I only actually instantiate DataTables in my class (rather than the entire DataSet) I had to actually instantiate the parent dataset from the class, remove the child table, and re-add the instantiation of the child table containing data from the Invoice class.
Thanks & Kudos to Frans, Julia, and Phillip for helping me out with URL's and code snippets. Andrew Baudouin Applications Programmer AWC, Incorporated [EMAIL PROTECTED] ----- From: Baudouin, Andrew [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 05, 2004 11:42 AM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Crystal Reports Logon Failed issue I thought that too, except I can view a report with no datasource (just text fields) just fine. Andrew Baudouin Applications Programmer AWC, Incorporated [EMAIL PROTECTED] (225) 752-3939 x228 -----Original Message----- From: Philip Nelson [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 05, 2004 11:13 AM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Crystal Reports Logon Failed issue Could this just be that the report engine doesn't have access to the directory where the report/crystal viewer components/other support files are located? It doesn't seem to be datasource related at all. --- "Baudouin, Andrew" <[EMAIL PROTECTED]> wrote: > Server Error in '/InvForms' Application. > ---------------------------------------------------------------------------- > ---- > > Logon failed. > 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: CrystalDecisions.CrystalReports.Engine.LogOnException: > 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.FormatEngine.GetPage(PageRequestConte > xt reqContext) > > CrystalDecisions.ReportSource.LocalReportSourceBase.GetPage(PageRequestConte > xt pageReqContext) > CrystalDecisions.Web.ReportAgent.u(Boolean N) > CrystalDecisions.Web.CrystalReportViewer.OnPreRender(EventArgs e) > System.Web.UI.Control.PreRenderRecursiveInternal() +62 > System.Web.UI.Control.PreRenderRecursiveInternal() +125 > System.Web.UI.Control.PreRenderRecursiveInternal() +125 > System.Web.UI.Page.ProcessRequestMain() +1489 > > > > > ---------------------------------------------------------------------------- > ---- > Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET > Version:1.1.4322.573 > Request Details > Session Id: sl2maoqv2micul555m12mh31 Request Type: GET > Time of Request: 10/5/2004 10:08:57 AM Status Code: 500 > Request Encoding: Unicode (UTF-8) Response Encoding: Unicode (UTF-8) > Trace Information > Category Message From First(s) From Last(s) > aspx.page Begin Init > aspx.page End Init 0.000071 0.000071 > aspx.page Begin PreRender 0.362430 0.362358 > Unhandled Execution Error > Logon failed. > at . F(String , EngineExceptionErrorID > ) > at . A(Int16 , Int32 ) > at . @(Int16 ) > at > CrystalDecisions.CrystalReports.Engine.FormatEngine.GetPage(PageRequestConte > xt reqContext) > at > CrystalDecisions.ReportSource.LocalReportSourceBase.GetPage(PageRequestConte > xt pageReqContext) > at CrystalDecisions.Web.ReportAgent.u(Boolean N) > at CrystalDecisions.Web.CrystalReportViewer.OnPreRender(EventArgs e) > at System.Web.UI.Control.PreRenderRecursiveInternal() > at System.Web.UI.Control.PreRenderRecursiveInternal() > at System.Web.UI.Control.PreRenderRecursiveInternal() > at System.Web.UI.Page.ProcessRequestMain() > > Andrew Baudouin > Applications Programmer > AWC, Incorporated > [EMAIL PROTECTED] > > > -----Original Message----- > From: Philip Nelson [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 05, 2004 10:02 AM > To: [EMAIL PROTECTED] > Subject: Re: [ADVANCED-DOTNET] Crystal Reports Logon Failed issue > > --- "Baudouin, Andrew" <[EMAIL PROTECTED]> wrote: > > > Thanks for your reply, but I am using an ADO.Net DataTable in my report. > No > > permissions are required anywhere. All of the answers I have found so far > > relating to LogonExceptions are related to datasources which require logon > > information. > > Stack trace? > > ===== > Philip - http://blogs.xcskiwinn.org/panmanphil > "There's a difference between righteous anger and just being crabby" - > Barbara > > =================================== > This list is hosted by DevelopMentor(r) http://www.develop.com > Some .NET courses you may be interested in: > > Essential .NET: building applications and components with CSharp > August 30 - September 3, in Los Angeles > http://www.develop.com/courses/edotnet > > View archives and manage your subscription(s) at http://discuss.develop.com > > =================================== > This list is hosted by DevelopMentor(r) http://www.develop.com > Some .NET courses you may be interested in: > > Essential .NET: building applications and components with CSharp > August 30 - September 3, in Los Angeles > http://www.develop.com/courses/edotnet > > View archives and manage your subscription(s) at http://discuss.develop.com > ===== Philip - http://blogs.xcskiwinn.org/panmanphil "There's a difference between righteous anger and just being crabby" - Barbara =================================== This list is hosted by DevelopMentor(r) http://www.develop.com Some .NET courses you may be interested in: Essential .NET: building applications and components with CSharp August 30 - September 3, in Los Angeles http://www.develop.com/courses/edotnet View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor(r) http://www.develop.com Some .NET courses you may be interested in: Essential .NET: building applications and components with CSharp August 30 - September 3, in Los Angeles http://www.develop.com/courses/edotnet View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentor� http://www.develop.com Some .NET courses you may be interested in: Essential .NET: building applications and components with CSharp August 30 - September 3, in Los Angeles http://www.develop.com/courses/edotnet View archives and manage your subscription(s) at http://discuss.develop.com
