Solved

Crystal Report 11 Problem

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This video discusses moving either the default database or any database to a new volume.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

757 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

19 Experts available now in Live!

Get 1:1 Help Now