Link to home
Start Free TrialLog in
Avatar of o0JoeCool0o1
o0JoeCool0o1

asked on

Class not registered - SDAVUtil

When trying to export a crystal report to pdf in ASP.NET 2005 I recieve an error on the production server, the reports work on the development machine but for some reason crash on the server with error

Class not registered - SDAVUtil
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 - SDAVUtil

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:


[COMException (0x80040154): Class not registered - SDAVUtil]
   CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +87
   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +279

[Exception: Load report failed.]
   CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +341
   CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +964
   CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +73
   CRStatement.build(String reportType) +734
   CRStatement..ctor(Int32 cid, String type, DateTime& printDate) +33
   print_report.showReport() +257
   print_report.print_Click(Object sender, EventArgs e) +7
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102

 
I have reset IIS reinstalled the runtime server XII Release 2 as well as tried isntalling the runtime server XII Release 2 2005 version. The server is windows 2003 server. googling this error returns No results on google or EE so Im not sure what the heck is going on.
ASKER CERTIFIED SOLUTION
Avatar of frodoman
frodoman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of o0JoeCool0o1
o0JoeCool0o1

ASKER

Ive published the site then copied the files over... I have installed 2 different versions fothe cr xii release 2 files on the server and I get the same  error i ahve nto tried rebooting the server and dont really want to as its a production server but that may be our last resort
I tried deleting the entire directory and starting over instead of replacing the folders that existed and it started working...
Hi,

I have received the same error (Class not registered - SDAVUtil).  This is occurring on a production web server.  The environment is CR Basic 2008 and VS 2008.

Please help,

Thanks.