You are not authorized to use the server

I have an agent that gives me the following error:

The following error occurred: Error 4005: Notes error: You are not authorized to use the server (server/blah!!archive\1_2006.nsf)

The agent creates a db on the current server and then tries to create a replica on another server.

Set replica = ArchiveDb.CreateReplica( “server/blah”, path )

Print "Created replica on server/blah for " + path

I checked the server doc and the localdomainadmins group was in the section to create new dbs/replicas. I added the id explicitly for good measure.

Anything I’m missing? I have the same kind of agent running in other instances but on other servers in different domains.

Subject: You are not authorized to use the server

If you added the ID by name (vs group), please try restarting the server. Are you running this agent as a server-side agent or using the Notes client? If the agent runs on a server, the documentation indicates that the server parameter must either be blank or the name of the server hosting the agent, but not another server.

Stephen

Subject: RE: You are not authorized to use the server

It’s a scheduled agent that runs on a specific server and the db resides on that server.

It just creates a replica on a different server (in the same domain).

I do this within other domains already.