[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Crystal Report 11 Problem

Posted on 2006-07-24
5
Medium Priority
?
4,454 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
2 Comments
 
LVL 16

Accepted Solution

by:
Swapnil Piparia earned 2000 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
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…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month19 days, left to enroll

834 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