Different notes.ini / ID files on one machine - how to pick up the correct one with Domino?
Posted on 2004-11-10
The problem is the following:
An application is installed on a Citrix server and uses the domino objects to send emails.
Different Notes profiles are installed on the Citrix box and when different NT users log in and open Notes, it picks up the correct ID file (ie if japanese users: the japanese ID file, if european users: the european id file). All the id files are installed on different paths (ie Notes\Japan\, Notes\Europe\).
When trying to send email via the application (using domino objects), the id file picked up is the default one and not the one allocated to the user.
The code used is the following, it cannot be changed and we know it is working at another client with similar installation:
Set m_objNotesSession = New NotesSession
Set m_objNotesDbDirectory = m_objNotesSession.GetDbDirectory("")
Set m_objNotesDatabase = m_objNotesDbDirectory.OpenMailDatabase
What could be changed to the set up so that the domino objects pick up the correct file according to the NT user who logs in (as Notes does correctly). We tried changing the PATH environment variable to force it to use another file but the application/Domino object still accesses the default one.