Skip to Content
0
Former Member
Jan 11, 2018 at 11:55 AM

Can you help with VS 2015 Server 2016 issue?

247 Views

We have many Crystal Reports which have been running happily for years, developed in VS 2010 and running on Windows 2008 Server R2.

We now want to move to Windows Server 2016 and find that the Crystal Runtime we have on the old server is no longer available or compatible. It seems that we need to use Runtime Engine 13.0.21, which we downloaded and installed. I did the same on my local machine, opened the project in VS 2015 and changed the Crystal Report references to version 13. However, now when I try to run the application we get a message:

"Retrieving the COM class factory for component with CLSID {4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B} failed due to the following error: 80"Retrieving the COM class factory for component with CLSID {4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))."040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))."

This happens at line: ReportDocument reportDoc = new ReportDocument();

Clearly something needs to be registered, but what? Shouldn't that occur automaticallt when we run the downlaoded install package?