views:

103

answers:

0

I have a workstation with VS2010, Crystal for VS2010 beta and Crystal Reports XI R2 SP4 installed. I've used that machine to create an asp .net website with two pages each with a CrystalViewer and CrystalReportSource (dragged in from the toolbox) and each pointing to a different network report.

This works when run locally but using the VS publish to file system to push it to a Server2003 machine running IIS6 I receive

    Retrieving the COM class factory for component with CLSID {C0C99FA5-E1D3-494E-BE0C-73C19424F91C} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). 
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: Retrieving the COM class factory for component with CLSID {C0C99FA5-E1D3-494E-BE0C-73C19424F91C} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

Source Error: 


Line 12:     </h2>
Line 13:     <div class="crystalviewer">
Line 14:         <CR:CrystalReportSource ID="ClubReportSource" runat="server"
Line 15:             Report-FileName="\\poserver\CrystalReports\Organisations\Club List.rpt">
Line 16:         </CR:CrystalReportSource>

On my machine {C0C99FA5-E1D3-494E-BE0C-73C19424F91C} in the registry references clientdoc.dll.

I've installed the VS2010 Crystal runtime that SAP provide to no avail) and gone as far as installing full Crystal Reports at the same level as my machine in the server with no joy.

The server now has clientdoc.dll in the same location on my machine but with no entry for {C0C99FA5-E1D3-494E-BE0C-73C19424F91C} in the registry.

If I manually run:

regsvr32 "C:\Program Files\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\clientdoc.dll"

I receive:

--------------------------- RegSvr32 --------------------------- LoadLibrary("C:\Program Files\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win32_x86\clientdoc.dll") failed - Invalid access to memory location.

--------------------------- OK

If I move the dll then I get:

--------------------------- RegSvr32 --------------------------- LoadLibrary("C:\temp\clientdoc.dll") failed - The specified module could not be found.

--------------------------- OK

I've installed vcRedist_x86

My web config is at http://pastebin.com/nysgRzyH

The app is deployed into a virtual directory with it's own app pool and set to .Net 4.0

Many thanks for any pointers!