jspriet
asked on
Different notes.ini / ID files on one machine - how to pick up the correct one with Domino?
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
m_objNotesSession.Initiali ze strPassword
Set m_objNotesDbDirectory = m_objNotesSession.GetDbDir ectory("")
Set m_objNotesDatabase = m_objNotesDbDirectory.Open MailDataba se
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.
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
m_objNotesSession.Initiali
Set m_objNotesDbDirectory = m_objNotesSession.GetDbDir
Set m_objNotesDatabase = m_objNotesDbDirectory.Open
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.
FYI, this beongs as much in the other Lotus Notes topic as in the admin one. You might get some additional exposure there by putting in a low-point question pointing to this question.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Scott, your name sounds familiar. Have we met before?
qwaletee, I'm not sure. Guess that would depend where you work and/or have worked. Peek my profile and see if there are any familiar companies or projects there.
I've alwys been NYC area. I see you've done stuff in VA and CA. Haven't really been to either much. COuld have been Lotusphere, I suppose.
-Dovid
-Dovid
Give it to scarelli.
Make sure there is no INI file in the eecutable or data directories (e,g., not in C:\Program Files\Lotus\Motes and not in C:\Program Files\Lotus\Notes\data). There should also be no INI file in the "current folder" for your executable, unless that folder contains teh INI you wish to use.
Then, make sure there is a single INI in the path.
Also, what version are you using? If you have 6, are you using Roaming Profiles or a multi-user installation?
Best regards,
qwaletee