How to get Isolated COM Activation (Registration-Free COM using a .manifest
file) to work on Windows Server 2003, Enterprise x64 Edition?

The Isolated COM examples work on my Windows XP Pro but not on Windows
Server 2003, Enterprise x64 Edition.

On Windows Server 2003, Enterprise x64 Edition I get this error from
applications that use a manifest file to access com objects:
Retrieving the COM class factory for component with CLSID{......} failed
due to the following error 800700c1

On my XP Pro machine i have installed:
ms .net frmwrk 1.1
ms .net frmwrk 1.1 hotfix(kb928366)
ms .net frmwrk 2.0 service pack 1
ms .net frmwrk 3.0 service pack 1
ms .net frmwrk 3.5 framework 3.5 (prereleased version)

on my Windows Server 2003, Enterprise x64 Edition i have installed:
ms .net compact frmwrk 1.0 SP3 Developer
ms .net compact frmwrk 2.0
ms .net framework 2.0 (x64)

here example of Registration-Free COM using a .manifest file that I tested
on both machines:

Isolated COM Activation tutorial:
http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/

Isolated COM Activation sample project:
http://download.microsoft.com/download/2/e/9/2e9bde04-3af1-4814-9f1e-733f732369a3/RegFreeCOM.exe

Re: How to get Isolated COM Activation (Registration-Free COM using a .manifest file) to work on Windows Server 2003, Enterprise x64 Edition? by Cezary

Cezary
Sun Jan 20 16:44:22 CST 2008

The error you get is usually related to a COM activation error when one
tries to activate a 32 bit COM on a 64 bit machine.

From your description it seems it might be the case.Maybe it's worth
verifying what target platform you have in the project settings?

--
Best regards,
Cezary Nolewajka

Consultant | Microsoft Services | Microsoft | Poland

"DR" <softwareengineer98037@yahoo.com> wrote in message
news:uFgft4iWIHA.5984@TK2MSFTNGP06.phx.gbl...
> How to get Isolated COM Activation (Registration-Free COM using a
> .manifest file) to work on Windows Server 2003, Enterprise x64 Edition?
>
> The Isolated COM examples work on my Windows XP Pro but not on Windows
> Server 2003, Enterprise x64 Edition.
>
> On Windows Server 2003, Enterprise x64 Edition I get this error from
> applications that use a manifest file to access com objects:
> Retrieving the COM class factory for component with CLSID{......} failed
> due to the following error 800700c1
>
> On my XP Pro machine i have installed:
> ms .net frmwrk 1.1
> ms .net frmwrk 1.1 hotfix(kb928366)
> ms .net frmwrk 2.0 service pack 1
> ms .net frmwrk 3.0 service pack 1
> ms .net frmwrk 3.5 framework 3.5 (prereleased version)
>
> on my Windows Server 2003, Enterprise x64 Edition i have installed:
> ms .net compact frmwrk 1.0 SP3 Developer
> ms .net compact frmwrk 2.0
> ms .net framework 2.0 (x64)
>
> here example of Registration-Free COM using a .manifest file that I tested
> on both machines:
>
> Isolated COM Activation tutorial:
> http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/
>
> Isolated COM Activation sample project:
> http://download.microsoft.com/download/2/e/9/2e9bde04-3af1-4814-9f1e-733f732369a3/RegFreeCOM.exe
>