473,382 Members | 1,362 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,382 software developers and data experts.

Retrieving the COM class factory for component with CLSID failed

Hi all,

i have a web application and one of the function is to generate a word
document by button click.
it works fine in debug mode when i run this web application.

But after i deploy to my local IIS server, it always show this error when i
click the button which trying to generate a word document.

Error msg:
Retrieving the COM class factory for component with CLSID
{000209FF-0000-0000-C000-000000000046} failed due to the following error:
80070005.
It seems not enough access rights to the resource i think?

please help me out, thanks.

Cheers

Nick
Feb 28 '07 #1
3 14478
I would think that the ASPNet user account doesn't have permissions to make
use of the COM object and/or objects it depends upon. In debug mode, I
believe, it will run under your account privaleges instead of the
traditional account.
--

Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Nick" <Ni**@discussions.microsoft.comwrote in message
news:35**********************************@microsof t.com...
Hi all,

i have a web application and one of the function is to generate a word
document by button click.
it works fine in debug mode when i run this web application.

But after i deploy to my local IIS server, it always show this error when
i
click the button which trying to generate a word document.

Error msg:
Retrieving the COM class factory for component with CLSID
{000209FF-0000-0000-C000-000000000046} failed due to the following error:
80070005.
It seems not enough access rights to the resource i think?

please help me out, thanks.

Cheers

Nick

Feb 28 '07 #2
Do you have any ideas that could solve this issue?

How to i make the aspnet user account have access right to COM object.
Thanks

"Mark Fitzpatrick" wrote:
I would think that the ASPNet user account doesn't have permissions to make
use of the COM object and/or objects it depends upon. In debug mode, I
believe, it will run under your account privaleges instead of the
traditional account.
--

Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Nick" <Ni**@discussions.microsoft.comwrote in message
news:35**********************************@microsof t.com...
Hi all,

i have a web application and one of the function is to generate a word
document by button click.
it works fine in debug mode when i run this web application.

But after i deploy to my local IIS server, it always show this error when
i
click the button which trying to generate a word document.

Error msg:
Retrieving the COM class factory for component with CLSID
{000209FF-0000-0000-C000-000000000046} failed due to the following error:
80070005.
It seems not enough access rights to the resource i think?

please help me out, thanks.

Cheers

Nick


Feb 28 '07 #3
Hi Nick,

I have had many issues with doing this, but having said that, after hours
and hours of tinkering and googling, I came accross this article (by
micorosft) which tells you how to do it.

http://support.microsoft.com/kb/257757/EN-US/

If you scroll down toward the end of this article, MS give you three ways to
run Office automatically on a server. Give them a read and decide for
yourself which ones suits you best. My preferred option (the one that worked
for me) was to run it as a different user.

Good luck.

Justin

"Nick" wrote:
Do you have any ideas that could solve this issue?

How to i make the aspnet user account have access right to COM object.
Thanks

"Mark Fitzpatrick" wrote:
I would think that the ASPNet user account doesn't have permissions to make
use of the COM object and/or objects it depends upon. In debug mode, I
believe, it will run under your account privaleges instead of the
traditional account.
--

Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Nick" <Ni**@discussions.microsoft.comwrote in message
news:35**********************************@microsof t.com...
Hi all,
>
i have a web application and one of the function is to generate a word
document by button click.
it works fine in debug mode when i run this web application.
>
But after i deploy to my local IIS server, it always show this error when
i
click the button which trying to generate a word document.
>
Error msg:
Retrieving the COM class factory for component with CLSID
{000209FF-0000-0000-C000-000000000046} failed due to the following error:
80070005.
>
>
It seems not enough access rights to the resource i think?
>
please help me out, thanks.
>
Cheers
>
Nick
Mar 2 '07 #4

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: 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...
0
by: Shailesh Patel | last post by:
Hi, I get the following error. Retrieving the COM class factory for component with CLSID {F84433FF-2369-4427-B6FB-3CBA67EDA7EB} failed due to the following error: 80040154 ASP.NET(VB.NET)...
0
by: zion | last post by:
Hello all, In my Asp.net application I use Dcom object to retrieve some data. To configure it I checked : "Enable COM Internet Services on this computer and" and add the user ASP.NET to COM...
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...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.