Urgent please

B

Badis

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.
 
C

Cindy M.

Hi =?Utf-8?B?QmFkaXM=?=,
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.
Impossible to provide any kind of help without more information. You don't
even tell us what application you're automating, which programming environment
you're working in, nor what line of code is causing the error.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 
B

Badis

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!?
 
C

Cindy M.

Hi =?Utf-8?B?QmFkaXM=?=,

Are you familiar with the content of this article?

Considerations for server-side Automation of Office
http://support.microsoft.com/kb/257757/en-us

What you're trying to do isn't really supported...

What are you trying to accomplish with automation through a web page?
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!?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :)
 
S

sajithkahawatta

u must install to that machine to work fine the automation.the server
must have ms office to host the page .i think that is your problem.
 
B

Badis

u must install to that machine to work fine the automation
I think you missed a word after u must install...
and if u mean installing ms office in the server! I do have ms office
installed in the server.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top