Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Wed, 2 Jul 2008 15:54:14 -0500,    group: microsoft.public.dotnet.framework.interop        back       


Error 80080005 on VISTA using Interop with Outlook   
I have a C# application that sends out email using Microsoft Outlook.

It works fine on Windows XP Pro but it gives me the following exception on 
Windows Vista:

Error in the 
application.System.Runtime.InteropServices.COMException:Retrieving the COM 
class factory for remote component with CLSID 
{0006F03A-0000-0000-C000-000000000046} from machine localhost failed due to 
the following error: 80080005.   at mymethod()

Any help would be greatly appreciated. I am at the end of my rope :)

Rob
date: Wed, 2 Jul 2008 15:54:14 -0500   author:   Rob Hill am

Re: Error 80080005 on VISTA using Interop with Outlook   
I have the program running as Administrator with UAC on and creating the 
Outlook object does not work. If I turn off UAC, then I am able to send 
email via Outlook by creating an object. Does this make sense to anyone?

Thanks,

Rob


"Rob Hill" <robh71@nospam.nospam> wrote in message 
news:%23$7ZKXI3IHA.4448@TK2MSFTNGP05.phx.gbl...
>I have a C# application that sends out email using Microsoft Outlook.
>
> It works fine on Windows XP Pro but it gives me the following exception on 
> Windows Vista:
>
> Error in the 
> application.System.Runtime.InteropServices.COMException:Retrieving the COM 
> class factory for remote component with CLSID 
> {0006F03A-0000-0000-C000-000000000046} from machine localhost failed due 
> to the following error: 80080005.   at mymethod()
>
> Any help would be greatly appreciated. I am at the end of my rope :)
>
> Rob
>
>
date: Wed, 9 Jul 2008 08:54:56 -0500   author:   Rob Hill am

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us