Hi all,
I wrote a program years ago that retrieves a list of items within a Notes view and displays a subset of that content within my application. I’m in the process of migrating the application from Windows 2003 (x86) Server to Windows 2012 R2 (x64). The application is still running without an issue on the 2003 server. When I took that same application and run it on the 2012 server I keep getting Notes error: Could not open the ID file when I attempt to initialize my NotesSession object. Here is the code snippet:
Try
Dim nSession As NotesSession
nSession = New NotesSession
'Initializes connection using current Notes ID to authenticate
nSession.Initialize()
Catch ex As Exception
'Writes message to event log on error
eventLogger(True, “Notes Session initialization failed.” & newLine &
"Source: " & ex.Source & newLine &
"Description: " & ex.Message, EventLogEntryType.Error)
Return (False)
Finally
I know there isn’t an issue with my code since the application runs perfectly fine on the old server. I’m using the same Notes.ini file (only updating the folder paths), and the same User ID file. I attempted to also run this application on a Windows 7 x64 system with Notes 9 installed and got the same reults. I suspect it has something to do with the the Notes installation not registering the DLL. My application references Interop.Domino.dll. Trying to manually register using the 32 and 64 bit version of regsvr32.exe dll didn’t help either. I get the error message below regardless of the exe I use.
The module “C:\Program Files
﴾x86﴿\IBM\Notes\Interop.Domino.dll” failed to load.
Make sure the binary is stored at the specified path or
debug it to check for problems with the binary or
dependent .DLL files.
The specified module could not be found.
At this point I’m at a loss as to what else I can try. Hopefully someone else has run into this issue and has a suggestion.
Thanks in advance for any assistance.