Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
Access Denied OLE Error - Starting Excel on Citrix Metaframe
For years, I have been writing programs that start Excel for OLE automation tasks with: oSprdsheet=CREATEOBJECT("Excel.Application")
Last week, this quit working on a remote Citrix Metaframe server that now gives the error message: "OLE error code 0x80070005: Access is denied"
I am running the same .exe file as the one that worked early last week. This same .exe file also still starts Excel fine on all the standalone PCs.
There is no foxuser.dbf and my config.fpw has not changed.
I also have VFP6 installed on the Citrix server, and just typing oSprdsheet=CREATEOBJECT("Excel.Application") at a command prompt also generates the "Access denied" error.
I have checked ? SET("OLEOBJECTS") and it is ON.
I have also tried oWord = GETOBJECT("","Word.Basic") and oSprdsheet = GETOBJECT("","Excel.Application") and get the same errors.
The IT folks claim that nothing has changed with the server, accounts, rights, etc.
Does anyone have any idea why this no longer works.
Thanks
Jeff
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