Notes error: Access to Data denied. WTF?

Hi.I’ve done some searching in the forum on the “Notes error: Access to data denied” when trying to write a file to disk. In my version, the agent did work once upon a time.

In this format:

Call o.ExtractFile ( "c:\datafolder\Attachments" & sourceName )

it ran ok. In this format:

Call o.ExtractFile ("\gfdtop\apps\excel\accounts\accounts payable\cost load\raw data only" & sourceName)

It returns the error:

Notes error: Access to data denied. (\gfdtop\apps\excel\accounts\accounts payable\cost load\raw data only\8636_554845.txt)

The error occurs IF THE SERVER IS ALLOWED TO RUN THE AGENT as scheduled. When I access the server (remotely), load the Notes client and run the agent manually (right click on agent and RUN) - it works just fine.

I’m a little confused. The other posts on the subject mention the lack of a file name. But my error message displays a file name. And it works from the Agent view, but not when unattended.

I’d be grateful if anyone has any ideas on what is causing this problem.

Cheers.

Bel

Subject: Notes error: Access to Data denied. WTF?

Is mapping a drive an option?