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
Related Q&A from Chuck Connell
Is it possible to encrypt a user's name before sending an email? SearchDomino.com expert Chuck Connell weighs in. Continue Reading
Learn how to change authentication timeout interval for Domino Web Access logins. Continue Reading
SearchDomino.com expert Chuck Connell provides a resource for a Lotus Notes administrator who wants to filter out email containing the word "spam," ... Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.