Click here to Skip to main content
15,889,664 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
My application developed in C#.net, which reads content of word file.using Interop.word 12.0 assembly library.

now when i login with Administrator account on XP it works fine but if i login with limited access user account it throws following exeption

"Creating an instance of com component with CLSID [XXX.XX.XX.XX] from the IClassFactory failed with error 80010001"

It is clear that this is access permission issue.

now what minimum access permission/rights should i give to user account in XP to run my office application
Posted
Updated 7-Sep-11 1:26am
v2

I've had problem resembling yours. What I had to do:

  1. Open registry (running regedit.exe from "Run" command prompt) and search for CLSID value in error
  2. When CLSID found, determine component name
  3. Open Component Services (Control Panel -> Administrative Tools -> Component services, or running dcomcnfg.exe from "Run" command prompt)
  4. Find component by its name
  5. View component permissions and update them if required


Note: depending on your OS, you may initially be unable to edit permissions on component. To unlock this feature you need to change ownership on component, as described here[^]

Hope this helps
 
Share this answer
 
use the following link
NTFS permissions for word[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900