Class Not Registered | Crystal Report v10 | ASP.Net 1.1

I have a development server running Windows Server 2003.  That displays an error; Class not registered when attempting to view a crystal report v10 within an ASP.Net application.  There are no errors prior to the application build.  I have tried removing all references, and reinserting the component.  I know that the website works, because it is currently running in production on a Windows Server 2000 with no problems.

Any ideas would be great appreciated!

Software installed:
Windows Server 2003
Visual Studio .Net 2003
Crystal Report Developer v10 (with .Net wrapper installed)

 

Error as displayed in page: 
------------------------------------------------------------------------------------------

Server Error in '/FMWeb' Application.

Class not registered

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.Runtime.InteropServices.COMException: Class not registered

Source Error:

Line 49:   Public Function LoadCrystalViewer()
Line 50:     lblMessage.Text = String.Empty
Line 51:     Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument
Line 52:     Try
Line 53:       If _link <> "" Then

Source File: D:\Inetpub\wwwroot\FMWeb\Pages\Reporting\Viewer.aspx.vb    Line: 51

Stack Trace:

[COMException (0x80040154): Class not registered]
  CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.CreateRptDoc()
  CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper..ctor()
  CrystalDecisions.CrystalReports.Engine.ReportDocument.y()
  CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
  FMWeb.Viewer1.LoadCrystalViewer() in D:\Inetpub\wwwroot\FMWeb\Pages\Reporting\Viewer.aspx.vb:51
  FMWeb.Viewer1.Page_Load(Object sender, EventArgs e) in D:\Inetpub\wwwroot\FMWeb\Pages\Reporting\Viewer.aspx.vb:44
  System.Web.UI.Control.OnLoad(EventArgs e)
  System.Web.UI.Control.LoadRecursive()
  System.Web.UI.Page.ProcessRequestMain()


Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300



Answer this question

Class Not Registered | Crystal Report v10 | ASP.Net 1.1

  • -JW

    Do you think I need to create a Setup Package The web server that I'm having the problem with is the new development server. So all work that is done on this server, is through the developer software.
  • swalker

    If you are creating your own deploy package from the merge modules, I advise doing a web setup project, i would do just a setup package. This is because the web setup project usually does an install "just for me", which in Crystal's case can cause all sorts of permissions issues. If you create your own package make sure when installing to choose the install for everyone option.

    Your other option is to use the server install available from http://support.businessobjects.com/communityCS/FilesAndUpdates/cr10_net_server_install.zip.asp

    Crystal advises against installing the full product on your web server.


  • CKa

    I am having the same problem in deploying my c#.net app using crystal reports. I believe this has to do with registering crystal product. Have you had any luck getting your app to deploy correctly


  • Class Not Registered | Crystal Report v10 | ASP.Net 1.1