AccessViolationException when reading notes [Was: Re: Notes 8.5 and Outlook 2007]

44 views
Skip to first unread message

Isak Savo

unread,
Mar 3, 2010, 2:13:05 AM3/3/10
to tiecal-d...@googlegroups.com
On Tue, Mar 2, 2010 at 12:50 PM, R <rdavi...@gmail.com> wrote:
>
> Thank you for the new version.  Unfortunately it crashed when trying
> to change the Lotus Notes DB.
> Error Message;
> Unhandled Exception:
> Type: System.AccessViolationException
> Message: Attempt to read or write protected memory. This is often an
> indication that other memory is corrupt.
> ..and then it goes on to list a Stack Trace of many lines.
> Looks like it is failing when trying to CreateNotesSession() in line
> 34.

That's when TieCal is talking to Lotus Notes (using IBM's functions,
so it's outside of TieCal).

You could try shutting down lotus notes completely and then restarting
it (you can use the killnotes.exe program [1] after you have closed
notes to make sure anything that has to do with lotus notes is killed
- but please note that killnotes will completely kill notes, no
warnings, no delay - it will just die - so make sure you close and
save anything in notes first)

Hopefully, this is just a temporary glitch.

> It is possible that TieCal expects files to be in a certain place.  My
> Lotus Notes load has been copied from another
> Thinkpad.  The files are probably not exaclty where they are supposed
> to be.

No TieCal shouldn't care where the files are, as long as Lotus Notes
can find them (TieCal only access notes data by talking through the
lotus notes API and never tries to read these files directly)

-Isak

[1] http://www-10.lotus.com/ldd/sandbox.nsf/0/7b70d2411b8dec9688256acb005c433f

R

unread,
Mar 7, 2010, 5:13:51 AM3/7/10
to TieCal Discussion
>
> Hopefully, this is just a temporary glitch.
>
> -Isak
>

Isak,
I rebooted my laptop and tried to change the Lotus Notes DB and it
crashed the same way again. I used KillNotes and it reports that it
killed 0 processes that loaded nnotes.dll.
I am not sure what to try next.
-R

Isak Savo

unread,
Mar 15, 2010, 3:47:55 AM3/15/10
to tiecal-d...@googlegroups.com

Yeah I'm a bit confused too. It seems TieCal doesn't get permission to
talk to notes. Perhaps if you run TieCal as administrator it works?
You can right click, select "Run as administrator" and see what
happens.

-Isak

Reply all
Reply to author
Forward
0 new messages