[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.interop

COMException error when using .NET Framework 2.0 (x64 version

Neil

10/1/2007 3:05:00 PM

Hi -

My .NET application makes a call to a DCOM server through an interop
assembly generated by VS 2005. The program runs fine under .NET Framework 2.0
(x86 version), but when it runs under .NET Framework 2.0 (x64 version), the
following error occurred:

System.Runtime.InteropServices.COMException : Retrieving the COM class
factory for component with CLSID {CB766127-9273-4A3A-AC63-8303152207ED}
failed due to the following error: 80080005.

Does anybody have an idea on what might be the problem?

Thanks,

Neil

2 Answers

Brian Muth

10/1/2007 5:43:00 PM

0

Is the DCOM object an inproc DLL? If so, did you recompile as x64?

Brian

"Neil" <Neil@discussions.microsoft.com> wrote in message news:7DC2F27C-76DF-4CF0-943D-091C110A3152@microsoft.com...
> Hi -
>
> My .NET application makes a call to a DCOM server through an interop
> assembly generated by VS 2005. The program runs fine under .NET Framework 2.0
> (x86 version), but when it runs under .NET Framework 2.0 (x64 version), the
> following error occurred:
>
> System.Runtime.InteropServices.COMException : Retrieving the COM class
> factory for component with CLSID {CB766127-9273-4A3A-AC63-8303152207ED}
> failed due to the following error: 80080005.
>
> Does anybody have an idea on what might be the problem?
>
> Thanks,
>
> Neil
>

Neil

10/1/2007 6:11:00 PM

0

No. It's an out-of-process COM server running on a remote machine. The .NET
program was compiled to run on 'Any CPU'.

Thanks,
Neil

"Brian Muth" wrote:

> Is the DCOM object an inproc DLL? If so, did you recompile as x64?
>
> Brian
>
> "Neil" <Neil@discussions.microsoft.com> wrote in message news:7DC2F27C-76DF-4CF0-943D-091C110A3152@microsoft.com...
> > Hi -
> >
> > My .NET application makes a call to a DCOM server through an interop
> > assembly generated by VS 2005. The program runs fine under .NET Framework 2.0
> > (x86 version), but when it runs under .NET Framework 2.0 (x64 version), the
> > following error occurred:
> >
> > System.Runtime.InteropServices.COMException : Retrieving the COM class
> > factory for component with CLSID {CB766127-9273-4A3A-AC63-8303152207ED}
> > failed due to the following error: 80080005.
> >
> > Does anybody have an idea on what might be the problem?
> >
> > Thanks,
> >
> > Neil
> >
>