>We have one VFP8 application that run on various Citrix Server.
>
>Under two Citrix Server, some users are getting the following error when running a module to generate an EXCL spreadsheet,
>
> 'RUN! Command Failed. Access is denied'
>
>But the same module work one from other Citrix Servers.
>For example from CTX22, CTX23, the run command failed show up
>but does not show up under CTX21
>
>I am not using the RUN command at all in the Module, do not know where it is coming from.
>
>
>I am instantiating EXCEL with Newobject
>
>oExcel1=NEWOBJECT("Excel.Application")
>
>*Then it set a default path based on some setting and assign it as follows:
>
>oExcel1.DefaultFilePath= lcNewDefDir
>
>* Open a workbook with this EXCEL Template
>mXLSFile = "\\lrd1fil2\vfpprod\icu\libs\autogei.xlt"
>oExcel.Workbooks.OPEN(mXLSFile)
>
>
>
>Any Ideas Would be Helpful?
Do the users have an access to the folder which contains that xlt file? Sounds to me, that they don't have access.
If it's not broken, fix it until it is.
My Blog