Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Crystal Report Not Working For Console Application

Crystal Report Not Working For Console Application

Scheduled Pinned Locked Moved C#
csharpasp-netsysadminhelpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    idreesbadshah
    wrote on last edited by
    #1

    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

    I L 2 Replies Last reply
    0
    • I idreesbadshah

      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

      I Offline
      I Offline
      Ingo
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • I idreesbadshah

        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

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        ASP.NET runs under a limited user, the console-app might require some additional permissions. I suggest you debug the app, and post the code where it generates the exception here.

        Bastard Programmer from Hell :suss: if you can't read my code, try converting it here[^]

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups