Solved

Crystal Report 11 Problem

Posted on 2006-07-24
5
4,292 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

914 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now