473,583 Members | 2,875 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5460
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***@discussi ons.microsoft.c omwrote in message
news:93******** *************** ***********@mic rosoft.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.Applicatio n wrdApp;
wrdApp = new Word.Applicatio n();

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***@discussi ons.microsoft.c omwrote in message
news:93******** *************** ***********@mic rosoft.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***@discussi ons.microsoft.c omwrote in message
news:B1******** *************** ***********@mic rosoft.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.Applicatio n wrdApp;
wrdApp = new Word.Applicatio n();

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***@discussi ons.microsoft.c omwrote in message
news:93******* *************** ************@mi crosoft.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
15696
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 WebClient COM component from C++ code it works just fine. However when we try to use that same WebClient in the same machine with following C# code: ...
0
3666
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 master..xp_cmdshell @cmd -- where @cmd is an exe
3
16252
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 Bin folder. After creating the object of Wordperfect.Perfectscript i am opening the wordperfect file and then run the wordperfect macro. In...
1
9439
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 I try to create my SQL connection in the code-behind, I get the following error. I tried to register the DLL using regsvr32 but that errored out...
4
10303
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 for component with CLSID {...GUID...} failed due to the following error: 80040154." I tried to reregister the Redemption DLL but I still get this...
0
1953
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 class factory for component with CLSID {9BA05972-F6A8-11CF-A442-00A0C90A8F39} failed due to the following error:
0
2640
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 declared in such TLB I got the following exception:
11
5374
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 running IIS6. The project works wonderfully until it tries to access a DLL that is essential to the project. At that time I am getting the...
9
46745
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 for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005.
3
2166
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 application in C# and it worked fine, I added the OL reference and created the COM object with the following code:
0
7811
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8159
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8314
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6571
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5366
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3811
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3836
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2317
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1147
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.