|
-
Dec 23rd, 2003, 09:13 AM
#1
Thread Starter
Lively Member
*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.
-
Dec 23rd, 2003, 11:10 AM
#2
Thread Starter
Lively Member
Resolved! I unloaded Crystal from the .Net environment and re-installed and that fixed the problem.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|