Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strange problem with agent

Status
Not open for further replies.

prasadd74

Programmer
Jan 22, 2001
1
US
Hi All,

I had an agent ( scheduled more than once a day, runs on all documents in database).

I want to make sure it runs on server only, becuase it uses a CreateObject statement and the related dlls for the statement will be available on server only.

so, everytime i create a document( in databaseA) i want this agent to run on server( which is on databaseA) and it returns some data by updating a document in another database( say databaeB) from where i will be reading the data.

To make sure the agent runs on server only i am using RunOnserver method and whenever i want to create a document first i will activate this agent to run on the server and i will read the document it updated from databaeB.


This works fine on my development box no matter howmany time i create the document.

But, when it comes to production server the first time agent runs fine, but not afterwards..........
To make it run, i need to resign on to notes client and it runs fine for the first time only.........


I checked all the security issues... still no luck

when i am comparing ini files on both dev. and prod. servers, i realised we are using two parameters related to agent manager in prod. server,
AMgr_DocUpdateAgentMinInterval = 5,AMgr_DocUpdateEventDelay = 2... As far as my idea goes they shouldn't do any harm...


Strange..huh..

Any suggestions, most welcome..

Thanks,
-Durga Prasad
 
I suppose you are certain that the signature of the agent has authority to run restricted and unrestricted agents on the prod server ?
Its curious, but it sounds like you are not using a correct signature ID. Try getting the admin to sign the agent with the server ID.

Just my two cents.

PM
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top