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. Web Development
  3. ASP.NET
  4. Report Viewer Error, Plz help

Report Viewer Error, Plz help

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netsysadminquestion
2 Posts 2 Posters 1 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
    imshally81
    wrote on last edited by
    #1

    Hi All, I am using reportviewer control to show some data on an asp.net page. It is working fine in the Development Machine, but when I move the code over to our Production server I get a runtime error, the runtime error shows up on the webpage and simply says: An error has occurred during report processing. Exception has been thrown by the target of an invocation. Object reference not set to an instance of an object. That didn't help at all. Any ideas? Thanks a lot you guys have been very helpful. Sajjad

    S 1 Reply Last reply
    0
    • I imshally81

      Hi All, I am using reportviewer control to show some data on an asp.net page. It is working fine in the Development Machine, but when I move the code over to our Production server I get a runtime error, the runtime error shows up on the webpage and simply says: An error has occurred during report processing. Exception has been thrown by the target of an invocation. Object reference not set to an instance of an object. That didn't help at all. Any ideas? Thanks a lot you guys have been very helpful. Sajjad

      S Offline
      S Offline
      Sathesh Sakthivel
      wrote on last edited by
      #2

      To catch the exception, enclose the line within a try/catch block and get the InnerException: Try with this code and catch the exception try { MyForm.Invoke(MyForm.MyDelegate, new Object[] { someParameter }); } catch (Exception ex) { MessageBox.Show(ex.InnerException.Message); }

      Regards, Satips.

      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