Get started Bring yourself up to speed with our introductory content.

Opening a remote database

In our application, we are creating a folder(using C API's folderCreate method ). It works fine when it runs individually for Internet mail account. When configured for Domino server, it throws error showing access not granted. We get the mail database path using DBpath, get an handle & try to create a personal folder inside the database. So, it takes actual DBpath either is server or client's desktop.

Without seeing any of this code, I will make a guess at the problem... When running Notes code of various types (include Lotuscript) an individual user is allowed to execute code that opens a database on another server. But when that same code is run on a scheduled basis from a server, the code may not open a database on another server. The reason for this is security. This rule prevents a user from writing malicious code and then running the bad code with a server's privileges. Without this rule, a user would essentially be able to do anything at all as if he/she were a server, by just putting the code in a scheduled agent.

Dig Deeper on Domino Resources - Part 6

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...