473,322 Members | 1,496 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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

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.

Apr 23 '07 #1
4 5445
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.

"Badis" <Ba***@discussions.microsoft.comwrote in message
news:93**********************************@microsof t.com...
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.

Apr 23 '07 #2
Hi,
are you working in automation of excel,word ?
if so you have to give permission for aspnet user account for those
DCOMs.
refer this follwoing sites
http://j-integra.intrinsyc.com/suppo...oteaccess.html
http://j-integra.intrinsyc.com/suppo...oteaccess.html
Apr 23 '07 #3
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!?

"Aidy" wrote:
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.

"Badis" <Ba***@discussions.microsoft.comwrote in message
news:93**********************************@microsof t.com...
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.


Apr 24 '07 #4
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.

"Badis" <Ba***@discussions.microsoft.comwrote in message
news:B1**********************************@microsof t.com...
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!?

"Aidy" wrote:
>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.

"Badis" <Ba***@discussions.microsoft.comwrote in message
news:93**********************************@microso ft.com...
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.



Apr 24 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Sakke | last post by:
Hello! We have written a GCryptoSvr.dll COM server in C++. Inside that resides WebClient COM component. WebClient CLSID is {8DC27D48-F94C-434B-A509-C3E1A3E75B9E}. When we are using that...
0
by: mihironline | last post by:
We have a scheduled job, which runs at every 5 min. As first step of this job, we are executing a stored proc. Inside stored proc, we have following line of code insert #exeResult EXEC...
3
by: Harish | last post by:
I am buiding an application in ASP.Net 2.0 with C#. After installing corel wordperfect i am adding the reference into the application. Afetr adding reference interop.wordperfect.dll is added to the...
1
by: jimmyfo | last post by:
Hi, I recently wrote an ASP.Net web application in VS2005 and published (using VS2005 Publish feature) it to a relatively clean machine with ASP.Net 2.0 and MDAC 2.8 installed on it. However, when...
4
by: omrivm | last post by:
Hi, I have a problem with Outlook Redemption, every time I'm trying to create a new RDOAddressBook: Redemption.RDOAddressBook AB = new RDOAddressBook(); I get: "Retrieving the COM class factory...
0
by: orieni | last post by:
Hi, I have writen a code to take snapshot of Internet Explorer. The code works fine when run in the debug mode. But once I publish the site I get the following error for: Retrieving the COM...
0
by: Olman Quesada | last post by:
Hi everybody, I'm trying to access a TLB in a VB.Net 2005 project. The TLB file is located under c:\windows\system32 directory. However, when a try to instanciate a variable whose type is...
11
Frinavale
by: Frinavale | last post by:
Hi guys, I've created a VB.Net project and have compiled it, run it, tested it on a machine that has a 32bit processor. I am now trying to move this project onto a 64bit processor server that is...
9
by: =?Utf-8?B?QmFkaXM=?= | last post by:
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...
3
by: Bruno Vignola | last post by:
Good Morning all, I need to interoperate with the Calendar of MS Outlook 2003 (inserting, retrieving, listing events, etc. etc.) from an ASP.NET application; I first developed a simple windows...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.