Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access Denied OLE Error - Starting Excel on Citrix Metaf
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00671672
Message ID:
00672285
Vues:
37
It sounds like a rights issue. Try to run code from Is Word/Excel installed Message #566432. Maybe it'll provide some additional info.
? CheckServer("Word.Application")
>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
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform