VIM102 : General Failure (OpenInsight 32-bit Specific)
At 28 FEB 2006 06:22:56AM Brian Scarth wrote:
I'm trying to create an email from within OI (7.2.1) using the VIM commands with Lotus Notes.
Executing VIMGetDefaultSessionInfo(path,username) returns a null path but the correct username.
Executing VIMOpenSession(path,username,password,sessionid) with the path and username returned from the above command fails with "VIM102 : General Failure" and no SessionId is returned.
Using Filemon I discovered that it was failing to open file "l_cp1252.cls" which resides in the root of my Notes folder "c:\notes". As an experiment I copied this file into my OI root folder and made more progress in that the password was then validated, but once the password was correct it was back to the "VIM102 : General Failure" message. I also tried passing the path to my Notes folder in the "path" parameter, but always received message "VIM104 : Bad parameter passed"
I have to admit that my knowledge of Notes is extremely limited, but it seems to me that the problem lies with the null path but I do not know what the path should contain or why it is not being returned by VIMGetDefaultSessionInfo.
The installation of Notes appears to be not at fault as from my program via a VB program and "idsMail" I can send an email using Notes, but this is not the route I wish to pursue; I would prefer to use the VIM commands within OI.
Any help anyone can provide would be well received.