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 3 14509
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**@discussio ns.microsoft.co mwrote in message
news:35******** *************** ***********@mic rosoft.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
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**@discussio ns.microsoft.co mwrote in message
news:35******** *************** ***********@mic rosoft.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
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**@discussio ns.microsoft.co mwrote in message
news:35******** *************** ***********@mic rosoft.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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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:
using GCRYPTOSVRLib;
WEBClient WC = new WEBClient();
|
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
|
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 development
version the application is running without any error. If i publish the
website on local...
|
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 saying,
"dllregisterserver entry point was not found". Any ideas?
Retrieving the COM class factory...
|
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
exception...
My OS is win server 2003 sp1 it may be the problem?
| |
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:
|
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) website was working fine with COM components. But when I
updated COM and referanced it again, I got error on website.
|
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 security.
At one of the test computers I get the error : "Retrieving the COM class
factory for component with CLSID...failed due to the following error".
Do I have to configre somthing else? What can be the problem?
Thanks
|
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:
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |