Solved

Crystal Report 11 Problem

Posted on 2006-07-24
5
4,368 Views
Last Modified: 2008-01-09
This Exception is thrown Randomly.We are using Crystal Report 11 and Asp.Net 1.1.Thanks in Advance for the Help.

2006-07-21 09:21:51,283 [2136] - STACK TRACE :    at System.Runtime.InteropServices.Marshal.StructureToPtr(Object structure, IntPtr ptr, Boolean fDeleteOld)

   at CrystalDecisions.ReportAppServer.DataSetConversion.DataSetConverter.Wrap(DataSet dataset, CrdbAdoPlusDelegate& adoPlusDelegate)

   at CrystalDecisions.CrystalReports.Engine.Table.SetDataSource(Object val)

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.(Object |)

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(Object dataSet)

   at CQDS.LoanApplication.SetSubReportDataSource(Application objCQApp)

Exception: System.NullReferenceException

Message: Object reference not set to an instance of an object.

Source: mscorlib

   at System.Runtime.InteropServices.Marshal.StructureToPtr(Object structure, IntPtr ptr, Boolean fDeleteOld)

   at CrystalDecisions.ReportAppServer.DataSetConversion.DataSetConverter.Wrap(DataSet dataset, CrdbAdoPlusDelegate& adoPlusDelegate)

   at CrystalDecisions.CrystalReports.Engine.Table.SetDataSource(Object val)

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.(Object |)

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(Object dataSet)

   at CQDS.LoanApplication.SetSubReportDataSource(Application objCQApp)

 

2006-07-21 09:21:51,471 [2136] - 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.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)

   at CQDS.LoanApplication.GenerateReport()

Exception: CrystalDecisions.CrystalReports.Engine.LogOnException

Message: Logon failed.

Details: Object reference not set to an instance of an object.

Error in File C:\WINDOWS\TEMP\{CA85AC32-4D4F-4C80-8DA5-141A0414D421}.rpt:

Unable to connect: incorrect log on parameters.

Source: CrystalDecisions.ReportAppServer.DataSetConversion

   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.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)

   at CQDS.LoanApplication.GenerateReport()

 

Nested Exception

 

Exception: System.Runtime.InteropServices.COMException

Message: Logon failed.

Details: Object reference not set to an instance of an object.

Error in File C:\WINDOWS\TEMP\{CA85AC32-4D4F-4C80-8DA5-141A0414D421}.rpt:

Unable to connect: incorrect log on parameters.

   at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)

   at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
2006-07-21 09:21:51,283 [2136] ERROR  STACK TRACE :    at System.Runtime.InteropServices.Marshal.StructureToPtr(Object structure, IntPtr ptr, Boolean fDeleteOld)

   at CrystalDecisions.ReportAppServer.DataSetConversion.DataSetConverter.Wrap(DataSet dataset, CrdbAdoPlusDelegate& adoPlusDelegate)

   at CrystalDecisions.CrystalReports.Engine.Table.SetDataSource(Object val)

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.(Object |)

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(Object dataSet)

   at CQDS.LoanApplication.SetSubReportDataSource(Application objCQApp)

Exception: System.NullReferenceException

Message: Object reference not set to an instance of an object.

Source: mscorlib

   at System.Runtime.InteropServices.Marshal.StructureToPtr(Object structure, IntPtr ptr, Boolean fDeleteOld)

   at CrystalDecisions.ReportAppServer.DataSetConversion.DataSetConverter.Wrap(DataSet dataset, CrdbAdoPlusDelegate& adoPlusDelegate)

   at CrystalDecisions.CrystalReports.Engine.Table.SetDataSource(Object val)

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.(Object |)

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDataSource(Object dataSet)

   at CQDS.LoanApplication.SetSubReportDataSource(Application objCQApp)

 

2006-07-21 09:21:51,471 [2136] ERROR  - 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.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)

   at CQDS.LoanApplication.GenerateReport()

Exception: CrystalDecisions.CrystalReports.Engine.LogOnException

Message: Logon failed.

Details: Object reference not set to an instance of an object.

Error in File C:\WINDOWS\TEMP\{CA85AC32-4D4F-4C80-8DA5-141A0414D421}.rpt:

Unable to connect: incorrect log on parameters.

Source: CrystalDecisions.ReportAppServer.DataSetConversion

   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.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)

   at CQDS.LoanApplication.GenerateReport()

 

Nested Exception

 

Exception: System.Runtime.InteropServices.COMException

Message: Logon failed.

Details: Object reference not set to an instance of an object.

Error in File C:\WINDOWS\TEMP\{CA85AC32-4D4F-4C80-8DA5-141A0414D421}.rpt:

Unable to connect: incorrect log on parameters.

   at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)

   at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
0
Comment
Question by:sukumar_diya
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 16

Accepted Solution

by:
Swapnil Piparia earned 500 total points
ID: 17166795
Hi sukumar_diya,
following article will help you to solve your problem
http://aspalliance.com/532
http://aspalliance.com/490

Regards,
NetSwap
0
 
LVL 7

Author Comment

by:sukumar_diya
ID: 17166829
Thanks Netswap,
I will look into that and let you know whether it works for me or not ...

Suku
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Please explain purpose of GZIP 4 80
How to use NFS (Network File System) in Asp.net mvc 5? 4 71
Why use this lambda? 12 93
What are MicroServices? 4 65
I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question