>>It has dependency on VC++ runtime library msvcr71.dll and msvcp71.dll
>>
>>>Any guesses why I would be getting the following error message?
>>>
>>>Library file z:\applications\programs 9.0\vfpcompression.fll is invalid.
>>>
>>>What's interesting here is that when I use Citrix to connect to the server, I can use that fll without any problems; however, the background task running on that server fails with the message above.
>>>
>>>Thanks
>
>The fll and both of those dlls are all in the same directory (which is the current directory)
Unless z: is a physical drive local to the machine running the scheduled task, try using a UNC instead.
Make sure the account under which the scheduled task runs has sufficient privileges.
I have seen some weird effects with the working directory setting in scheduled tasks. I just found some related info at
http://superuser.com/questions/622507/windows-task-scheduler-wont-run-file-on-non-system-drive .
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up