Domino 9 und frühere Versionen > ND6: Entwicklung
DB per Agent auf anderem Server öffnen
TomLudwig:
Hallo,
ich möchte eine DB per Agenten auf einem anderen Server öffnen, die Dokumente in einer Ansicht zählen und die Anzahl der Doks an mich per E-Mail senden.
Wenn ich den Agenten manuell aus dem Desingner herraus starte funktioniert es.
Wenn er periodisch läuft, bekomme ich im Log-File folgende Fehlermeldung:
Fehlermeldung: Cannot open databases on machines other than the server running your program
Was läuft da falsch?
wfh:
Hast Du Dir die Felder im Serverdokument mit den Einstellungen für Trusted Servers und Agents "run on behalf" angeschaut und entsrpechend eingestellt. Da muss man was machen, sonst geht da nichts.
MfG
Wolfgang
m3:
@TomLudwig: Julie wuerde Dich jetzt in der Luft zerreissen ;)
Da findest Du alle notwendigen Infos:
Troubleshooting agents
--- Zitat ---How do I access databases on a server other than the database where my agent is running?
Prior to Notes/Domino 6, reaching remote servers through an agent was supported in the client agents, in locally scheduled agents, and through CORBA-remoted Java backend classes and DIIOP. However, Domino did not have a security protocol to properly authenticate agents running on the server under user rights with the remote server. So even though it was possible to write the code that accessed a remote server with API routines, this could not be done securely, so we didn't allow it in the agents.
In Notes/Domino 6, we have added a new security protocol to make this possible. The server whose data the agent wants to access needs to grant this permission to the server where the agent is running. This level of trust is set up in a new Domino Directory field called Trusted servers.
--- Ende Zitat ---
TomLudwig:
Ok, dann muss ich das Feld Trusted Server setzen...
aber was heißt "run on behalf"
danke schonmal....
m3:
"run on behalf" ... "in Namen von xxxx laufen"
Navigation
[0] Themen-Index
[#] Nächste Seite
Zur normalen Ansicht wechseln