Re: Retrieving the COM class factory for component with CLSID



I have set the permissions to the server using dcomcnfg as described in those
link but still didn't work!?

http://blog.crowe.co.nz/archive/2006/03/02/589.aspx
http://j-integra.intrinsyc.com/support/com/doc/remoteaccess.html



"Willy Denoyette [MVP]" wrote:

"Badis" <Badis@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:376AD434-AD0B-40E3-A495-F3BBB7FCE939@xxxxxxxxxxxxxxxx
It looks like I'm really a junior beginner when it comes to those issue of
COMs.., because I really don't have a clue what are you talking about.
All what I've done in my application is to include a reference of
"Microsoft
Word 10.0 Object Library" and "Microsoft Office 10.0 Object Library" into
my
bin which include dlls such as Interop.Word.dll which allows me to
instantiate and create word objects, but when I hosted my application in
other machine and try to access it it gave this error when it comes to the
second line of this code:
Word.Application wrdApp;
wrdApp = new Word.Application();



"Nicholas Paldino [.NET/C# MVP]" wrote:

Badis,

How are you getting the type to create the COM object on a remote
machine? Are you calling the static GetTypeFromProgID or
GetTypeFromCLSID
methods on the Type class, passing the machine name as the second
parameter
and then instantiating an instance of that type?


--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx

"Badis" <Badis@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E630C2E0-3237-48FD-9678-40697745CBD3@xxxxxxxxxxxxxxxx
Hi,

I'm using automation and it's working fine when I run it from my local
machine. but if I try to access it from another machine it's giving me
this
Error:

Retrieving the COM class factory for component with CLSID
{000209FF-0000-0000-C000-000000000046} failed due to the following
error:
80070005.


Cheers.






Your problem is security related, the error code : 80070005. means "No
Access". You'll have to make sure the caller has access and launch
permissions to the COM server (winword.exe). You can check and adjust these
using dcomcnfg.msc.

Willy.

.



Relevant Pages

  • Re: write with cURL
    ... execute permissions. ... of potential security risks from other users on the same server. ... I made this suggestion because their web host appears to run Apache ... risk to allow Apache's group write access, since all PHP scripts ran ...
    (alt.php)
  • RE: Windows 2003 Server - Everyone Group
    ... this folder only accessable by the users in the "special" group. ... Configure User and Group Access on an Intranet in Windows Server ... NTFS files system permissions control ... group that you want to set permissions for, click Check Names to verify the ...
    (microsoft.public.win2000.networking)
  • Fail DBD::Mysql 4.003 installation
    ... This test requires a running server and write permissions. ... permissions, then retry. ... Failed 9/9 tests, 0.00% okay ...
    (perl.dbi.users)
  • Re: write with cURL
    ... execute permissions. ... of potential security risks from other users on the same server. ... I made this suggestion because their web host appears to run Apache ... risk to allow Apache's group write access, since all PHP scripts ran ...
    (alt.php)
  • Re: Virtual Directory - Permission Denied with fso CopyFile
    ... TestUser (normal user account with same credentials on all machines). ... I created a share on a remote server. ... reviewing it's sharing permissions and security tab permissions "everyone" ... "directory security" tab on the vdir and selecting, edit, edit and manually ...
    (microsoft.public.inetserver.iis)