Is it possible to access a shared network drive from a background server agent?

Hi

I’ve got a LotusScript agent that runs at night on a server which needs to access a share on another machine – it’s got to output a file to that drive.

if I run the agent manually from the server (using the workstation software on the server) it works fine, but when it runs as a background agent on the server I get errors trying to access the share.

Even a simple Dir statment generates the error:

05/26/2004 11:59:44 PM AMgr: Agent (‘Overnight test’ in ‘Agent test.NSF’) printing: ERROR #: 75 – Line #: 36 – Path/file access error

Or trying to copy a file to the directory gives the error:

05/26/2004 11:47:46 PM AMgr: Agent (‘Overnight test’ in ‘Agent test.NSF’) printing: ERROR #: 53 – Line #: 345 – File not found

If I try to map the drive to a drive letter, same thing still happens.

Any suggestions or is accessing a shared drive not possible from an background server agent?

The agent starts up and runs but produces the above errors.

My server configuration is set to allow me and my agent to run unrestricted in the

“Run unrestricted methods and operations”

field of the security tab section.

TIA

Mohib

Subject: Is it possible to access a shared network drive from a background server agent?

Did you validate the agent with a local copy of the file (copied on a directory local to the Domino server machine). Worth a try…

Subject: RE: Is it possible to access a shared network drive from a background server agent?

Thanks for the response.

Yes I tried, that it works fine when I test against a local directory. Even if I use a share on the local machine it’s ok.

Only problem I’m having is against the shared directory elsewhere.

Subject: Is it possible to access a shared network drive from a background server agent?

Is Domino running as a service? This means it is running as the local system account which probably does not have read access to the network share. Is Domino running as a different user? Same problem. Try changing the share permissions to be “everyone read/write” and try the agent again. This will help determine if the user account under which Domino is running is the problem.

Subject: RE: Is it possible to access a shared network drive from a background server agent?

I know I’m a little late but for someone researching this down the road…

We have/Had the same problem. Our workaround, we had the agent generate the file and drop it on the C:\ drive of our Domino Server. We then ran a batch file via windows scheduler to copy the file out to another Windows server.

HTH someone…

Subject: RE: Is it possible to access a shared network drive from a background server agent?

Hi

Thanks for the tip.

I couldn’t figure out how Domino was starting before. It was not a service. I ran the nservice application and it registered as a service. I set it to log on with the admin account and rebooted NT so everything starts up fresh.

It booted, started, logged on with Admin account (or so the NT services window says).

I also set myself as a “Full access admininistrator” , set myself as able to “Run unrestricted methods and operations”, and set the agent itself to “Allow restricted operations with full administration rights”.

Still no luck. Same problem.

The strange thing is that if I point to a directory on the server itself via a share rather than the disk drive letter, that works.

Any other suggestions??

Subject: RE: Is it possible to access a shared network drive from a background server agent?

This link should help, I did it and works great for me.

http://www-10.lotus.com/ldd/46dom.nsf/55c38d716d632d9b8525689b005ba1c0/02bc602a65a7a73185256a66000cb848?OpenDocument&Highlight=0,REG_MULTI_SZ