RunOnServer and CreateObject

I have an agent which runs on the local client, and in that agent it runs another agent using the agent.RunOnServer command. In this agent there is a CreateObject statement which launches Visio.

Now the issue is this, when using Notes 6 as the client, which runs the first agent, which runs the next agent on the server which then in turns creates the visio object - this only works once. The next time it stops with a type mismatch error on the domino server. The error is “Cannot create automation object”. I must then restart the server and it will only work once again.

Now, If I do the above in a Notes 5.0.x client, it works everytime without an issue.

My question is, what would be different in regards to agent.RunOnServer between Notes 5.0.x and Notes 6.0 in regards to the CreateObject statement.

Thanks

Subject: RunOnServer and CreateObject

Hi Bryan,I’m unable to reproduce your problem here, running with an all-6.0.1 environment (client and server), under Windows 2000. If you get no useful tips from anyone else in the forum, please report this through support (they have a better chance of reproducing it, and may request a more-complete, [non]working example):

http://www.ibm.com/support/docview.wss?rs=477&uid=sim1f40fdcbfa0b00e0e8525685f006b343a

–John Grosjean

Lotus/IBM