Crystal Report Not Working For Console Application
-
Hi, I have developed a console application which Send an email and export a Crystal report in pdf and attach with this email. This code is working fine on development system But on Server it gives following exception.
Quote:
Description: Stopped working Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: orderackreport.exe Problem Signature 02: 1.0.0.0 Problem Signature 03: 505c3a77 Problem Signature 04: CrystalDecisions.CrystalReports.Engine Problem Signature 05: 12.0.2000.0 Problem Signature 06: 489a2f19 Problem Signature 07: 2f7 Problem Signature 08: 43 Problem Signature 09: System.NullReferenceException OS Version: 6.0.6002.2.2.0.272.7 Locale ID: 1041
Before this an Asp.net Application is hosted on same server and it is working fine. ( Also use crystal reports) but console application does not work. Any Idea??? Thanks
-
Hi, I have developed a console application which Send an email and export a Crystal report in pdf and attach with this email. This code is working fine on development system But on Server it gives following exception.
Quote:
Description: Stopped working Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: orderackreport.exe Problem Signature 02: 1.0.0.0 Problem Signature 03: 505c3a77 Problem Signature 04: CrystalDecisions.CrystalReports.Engine Problem Signature 05: 12.0.2000.0 Problem Signature 06: 489a2f19 Problem Signature 07: 2f7 Problem Signature 08: 43 Problem Signature 09: System.NullReferenceException OS Version: 6.0.6002.2.2.0.272.7 Locale ID: 1041
Before this an Asp.net Application is hosted on same server and it is working fine. ( Also use crystal reports) but console application does not work. Any Idea??? Thanks
At first this should be asked on ASP board
idreesbadshah wrote:
but console application does not work.
Any Idea???Well there is a System.NullReferenceException. One Object used seems not to be initialized correctly. Without seeing the code it's hard to say why.
------------------------------ Author of Primary ROleplaying SysTem How do I take my coffee? Black as midnight on a moonless night. War doesn't determine who's right. War determines who's left.
-
Hi, I have developed a console application which Send an email and export a Crystal report in pdf and attach with this email. This code is working fine on development system But on Server it gives following exception.
Quote:
Description: Stopped working Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: orderackreport.exe Problem Signature 02: 1.0.0.0 Problem Signature 03: 505c3a77 Problem Signature 04: CrystalDecisions.CrystalReports.Engine Problem Signature 05: 12.0.2000.0 Problem Signature 06: 489a2f19 Problem Signature 07: 2f7 Problem Signature 08: 43 Problem Signature 09: System.NullReferenceException OS Version: 6.0.6002.2.2.0.272.7 Locale ID: 1041
Before this an Asp.net Application is hosted on same server and it is working fine. ( Also use crystal reports) but console application does not work. Any Idea??? Thanks