Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
Access Denied Automating Word from DCOM Object
Versions des environnements
Network:
Windows 2003 Server
We have a VFP COM Server (single use EXE) being used in conjunction with Web Connection. On one specific application page, this component needs to automate Microsoft Word to parse some inbound information.
The DCOM identity setting is "this user" with a specific user and password set. We want to switch this setting from UserA (in admin group) to UserB (not in admin group). When we make the switch, the entire app works correctly except the page where Word is automated. The line:
loApp = CREATEOBJECT('Word.Application')
raises the COM error, "OLE error code 0x80070005: Access is denied"
I'm trying to figure out what resource Word is trying to access that this user doesn't have permissions for. Oddly, I tried physically logging into the server as this user, and could both start Word and open Word.Application from the VFP command window without any problem. Note that the error occurs before even trying to open any DOC file.
Any ideas welcome! TIA,
-- Randy
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement