NotesVeiew causing Red Box of Death

This is a wierd one.

I’ve got two versions of the same database, one on an R6 server and the other on R5. I’ve got code that works great on the R6 server, but causes a RBOD on the R5 server.

All I’m doing is doing a NotesView.AllEntries when it dies. The really wierd thing is that if I stop it in debugger just before the AllEntres and click on the view to exand it and look at it’s properties, THAT caused it to crash as well.

Any ideas?

Subject: Re: NotesView causing Red Box of Death

What’s the context where you’re running this code? Where is the NotesView object defined? I seem to recall there was a known problem with NotesView objects declared in the global declarations of a view.

Please do not post about an error message without giving the exact text of the error. RBOD does contain additional information about the error.

Look for an NSD file.

Contact Lotus Support.

Subject: NotesVeiew causing Red Box of Death

Some more info on this:

If I make a new copy of the database on the same server, my code works fine. If I make a replica copy, it does not. We’ve run a fixup, but to no avail.

Sorry about not including the message in the RBOD _ I thought I had. It’s a “null handle” error.

Any ideas?