Retrieving the COM class factory for component with CLSID ....

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
Chances are it is a security issue but you'll have to give us more info on
what you're actually doing as I can't quite work it out from your post.
 
I'm using asp.net on c# with office xp for automation and its running OK in
my machine, but when moving it to another machine (now this machine is like a
server for my application) and the try to access the web page from my machine
or any other machine it's giving me this error when it comes to the second
line of this code:

Word.Application wrdApp;
wrdApp = new Word.Application();

I have changed the configuration on "dcomcnfg" described in this link:
http://blog.crowe.co.nz/archive/2006/03/02/589.aspx
but its not working!?
 
Just do a google search, there are loads of things about this.

Alas there is no real "solution" as what you are doing is not supported by
Microsoft, Office is not designed for automation from asp.net and MS have
made no attempt to ensure it works.
 
Back
Top