Results 1 to 2 of 2

Thread: *Resolved* Error when running ASP.Net app with Crystal Viewer

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2003
    Posts
    90

    *Resolved* Error when running ASP.Net app with Crystal Viewer

    I have an ASP.Net, VB.Net app that has a form with a Crystal Reports Web Viewer on the page. When I do a redirect to this page, I get the following error


    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:


    [NullReferenceException: Object reference not set to an instance of an object.]
    CrystalDecisions.Web..get_7() +189
    CrystalDecisions.Web.CrystalReportViewer.OnInit(EventArgs e) +352
    System.Web.UI.Control.InitRecursive(Control namingContainer) +240
    System.Web.UI.Control.InitRecursive(Control namingContainer) +178
    System.Web.UI.Control.InitRecursive(Control namingContainer) +178
    System.Web.UI.Page.ProcessRequestMain() +174




    This error happens on any page that has a viewer on it. I have checked my references and they seem to be in order. The project will build without any errors. does anyone have any ideas?
    Last edited by jstansell; Dec 23rd, 2003 at 11:10 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width