LotusScript to C API Programming Guide

rtLib Domino Rich Text Management template
Home
Show details for ContentContent
Purchase
Ready-to-use samples
Show details for Online resourcesOnline resources
Forum
Links
Happy readers

Anonymous

login


 

Hosted by Prominic.NET, Inc.
Main topic: Error in trying to copy design elements from one database to another

Error in trying to copy design elements from one database to another (by Mahapatra Sahoo, 10/10/2006 11:17:27 PM)

Hi,

I'm very new to C API programming.

I'm trying to copy design elements from one database to another using C API. The code needs to work both from R5 and R6 Lotus Notes Client.

The code seems to work the first time I copy the design elements. It works the second time as well, where in the target database we first search and remove the existing design elements and then copy the new design elements. But unfortunately if i try to do it a third time in the same notes session it fails for some reason and Notes Crashes.

The user executing the code has Author access to the Source database and Manager access to the target database. The code needs to be executed from the Lotus Notes client.

Sometimes I also get the error message "Remote System is not responding" although I am able to access other databases on the same server. The server is definitely up and running.

The exception code in the nsd file created after the crash shows:

Exception code: c0000005 (ACCESS_VIOLATION)

Please advise

Best Regards,

Smarjit Sahoo