I’ve searched the forum for the issue I’m having and while many postings talk about the ‘generic LSE failure’ error message none seem to fit with the problem I’m having.
I have one user getting the error message “Generic LSE Failure” when opening a form that tries to access the users Windows temp directory.
I went to his machine, turned on LS debugging and the error happens on the line:
tempPath = Environ( “Temp” ) + ""
That line is the first line in the Postopen event of the form so no code is running before it.
I made sure that the Temp directory was defined in his windows Environment Variables (under System - Advanced - Environment Variables) and both TMP and TEMP are defined and both go to the same folder which I confirmed exists on the file system. I also confirmed that his user ID has access to that folder and other applications had many files in that folder.
Since other postings recommended recompiling LS for the db I did that as well, but the user is still getting the error message.
If anyone can offer any assistance it would be greatly appreciated.
Subject: Generic LSE failure at line Environ(“Temp”)
Does the user have access to write to the notes.ini file? I tested the sample code for Environ(“Temp”) from the Lotus Notes Designer help, and the modified date on my notes.ini file changed (even though it didn’t look like any changes were saved). If the notes.ini is stored under Program Files, often times users don’t have the ability to write to that folder.
Subject: RE: Generic LSE failure at line Environ(“Temp”)
I was finally able to re-connect with the user and he is able to edit his notes.ini.
For further testing I added a Print statement then a messagebox as the first statement in the PostOpen even and no matter what code I have at the beginning of the PostOpen the user still receives the same error message so it doesn’t look like it’ srelated to the Environ(“Temp”) piece of code.
Other listings recommended re-compiling LotusScript for the db so I tried that and also edited/saved every piece of LS on the form, but the user still had the same problem.
There are no code libraries in the database so the posting I saw about commenting out any script library editing/saving it then un-commenting it didn’t help in this situation.
I also tried updating the users client from 6.5.3 to 6.5.6.
I’m out of ideas, if anyone has any suggestions I would greately appreciate it.