Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access Denied Automating Word from DCOM Object
Message
De
18/07/2005 17:06:37
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Access Denied Automating Word from DCOM Object
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01033653
Message ID:
01033653
Vues:
126
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
Fil
Voir

Click here to load this message in the networking platform