Solved

getting error Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x

Posted on 2014-10-15
6
1,217 Views
Last Modified: 2014-10-19
getting error after deploying the application.local working fine

Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).

Please suggest solution for this
0
Comment
Question by:mannevenu26
  • 3
  • 2
6 Comments
 
LVL 33

Expert Comment

by:ste5an
ID: 40382119
Well, seems like the permissions are not set correctly. Maybe the program was installed as a different user and not as administrator.
0
 
LVL 22

Accepted Solution

by:
Snarf0001 earned 500 total points
ID: 40382219
Pretty sure that clsid is for word interop, is that what you're doing?
If you got that code, sounds like you do have word installed on the server, so most likely you'll have to configure to allow IUser access to it.

But beyond all of that, and most important, you've got this listed in asp.net topic.  Word and office interops are HORRIBLE to use on a server.  Least of your problems will be extremely bloated resource consumption, worst can be deadlocking, and crashing the entire server.
0
 

Author Comment

by:mannevenu26
ID: 40383904
can u plz explain what and all required ?
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 33

Expert Comment

by:ste5an
ID: 40384015
He wants to know, what exactly you are trying to do. And what environment you're using.
0
 

Author Comment

by:mannevenu26
ID: 40384027
I am using window 7 OS and Msoffice 2010 installed in my machine and VS 2012 and sql server 2012 installed in my machine.I am trying to deploy application in iis server. i have given all permisions to ms word.

can u plz explain any other things required?
0
 
LVL 33

Expert Comment

by:ste5an
ID: 40384059
i have given all permisions to ms word

This is not possible. You can only assign permissions to users, accounts, roles or groups. But not to a program.

What have you done exactly?
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now