Solved

Crystal Report 11 Problem

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

828 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