Greetings,
Im really new to Lotus Notes, but am picking it up fairly quickly. Basically I’m writing a C# application to synchronize our Notes db with our CRM db, based on some vb scripts already in use. However I’m continually running into roadblocks when debugging, as Lotus brings up a “Lotus Notes Error Notification” end box, telling me data is being sent to help desk, which i am continually cancelling.
This is all well and good, how ever it is not relaying me any information at all, with regards to what caused the error. More annoying is that it not only bring an up the error dialog box when there is an error not even related to Lotus, but it is also cancelling my try {} catch {} block, rending any stack trace information useless.
I am developing this in Visual Studio 2005 Team Suite, and am unable to see any debug information, as this notification makes visual studio hang, until it has been cancelled, also killing the application that i am debugging.
Is there anyway, either as an option, or through the Interop.Domino object that i can disable this error reporting feature, as it is seriously hindering my work efforts.
Thanks,
Justin
Subject: .Net and Interop.Domino objects issues
Ok,
So I have narrowed down the problem a little bit… I have worked out that the Domino Objects DLL file is calling nsd.exe with --dumpandkill paramters… killing my debugging application, therefore any stack trace.
I have set NSDEnabled=0 in notes.ini, however now instead of bring up the Error Notification dialog box, i just get a message box saying that “Notes ended abnormally. You can restart immediatly after clicking ok”. However is still then just kills my application, without running my try {} catch {} blocks…
Does anyone know of any further steps I can take?
Cheers,
Justin
Subject: RE: .Net and Interop.Domino objects issues
You might want to try adding the
APIDeveloper=1
setting to your NOTES.INI file, which will then trigger whatever JIT debugger you have set up (probably Visual Studio). See this thread for a bit more detail:
http://www-10.lotus.com/ldd/nd6forum.nsf/4d21f120f5a2cf4985256a150076d0d5/7c0c0972592789ac85256e310065526c?OpenDocument
Subject: RE: .Net and Interop.Domino objects issues
Hi Ben,
Thanks very much for your response. I have tried adding the APIDeveloper=1, and it does bring up my Visual Studio debugger, but wont give me any debugging information…and this is for a subroutine that does not have anything to do with the Lotus Objects.
Is there any way that i can completly destroy the lotus objects when I am finished with them?
Cheers, and thanks again,
Justin