HighTechTalks DotNet Forums  

COMException error when using 64bit .NET Framework 2.0 & 3.5

Dotnet Framework (Interop) microsoft.public.dotnet.framework.interop


Discuss COMException error when using 64bit .NET Framework 2.0 & 3.5 in the Dotnet Framework (Interop) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Neil
 
Posts: n/a

Default COMException error when using 64bit .NET Framework 2.0 & 3.5 - 12-18-2007 , 11:23 AM






Hi -
I posted this several weeks ago and haven't received any 'real' response
from the group. Here we go again :

=================================================
My .NET application makes a call to a DCOM server through an interop
assembly generated by VS 2005/2008. The program runs fine under .NET
Framework 2.0/3.5 (x86 version), but when it runs under .NET Framework
2.0/3.5 (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.

Could this be a bug with x64 version of .NET Framework 2.0/3.5?

Thanks,

Neil



Reply With Quote
  #2  
Old   
Willy Denoyette [MVP]
 
Posts: n/a

Default Re: COMException error when using 64bit .NET Framework 2.0 & 3.5 - 12-18-2007 , 04:30 PM






"Neil" <Neil (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi -
I posted this several weeks ago and haven't received any 'real' response
from the group. Here we go again :

=================================================
My .NET application makes a call to a DCOM server through an interop
assembly generated by VS 2005/2008. The program runs fine under .NET
Framework 2.0/3.5 (x86 version), but when it runs under .NET Framework
2.0/3.5 (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.

Could this be a bug with x64 version of .NET Framework 2.0/3.5?

Thanks,

Neil



No bug, looks like a security issue, what OS are you running this on?

Willy.



Reply With Quote
  #3  
Old   
Neil
 
Posts: n/a

Default Re: COMException error when using 64bit .NET Framework 2.0 & 3.5 - 12-18-2007 , 11:01 PM



The OS is Windows XP Professional x64bit Edition (SP2). I also tried it on
Windows 2003 Server Enterprise x64bit Edition and got the same exception.

Thanks,

Neil


"Willy Denoyette [MVP]" wrote:

Quote:
"Neil" <Neil (AT) discussions (DOT) microsoft.com> wrote in message
news:38225696-5CDF-4CAF-A28C-7D42396B9FC9 (AT) microsoft (DOT) com...
Hi -
I posted this several weeks ago and haven't received any 'real' response
from the group. Here we go again :

=================================================
My .NET application makes a call to a DCOM server through an interop
assembly generated by VS 2005/2008. The program runs fine under .NET
Framework 2.0/3.5 (x86 version), but when it runs under .NET Framework
2.0/3.5 (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.

Could this be a bug with x64 version of .NET Framework 2.0/3.5?

Thanks,

Neil




No bug, looks like a security issue, what OS are you running this on?

Willy.



Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.