Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 8 Forum

Notes/Domino 8 Forum

Previous Next
Subject: error message "Error - script is busy"
Feedback Type: Problem
Product Area: Notes 8 Client
Technical Area: Crash
Platform: Windows XP client
Release: 8.0.2
Reproducible: Always

I have some code in the database Postopen event which verifies the user's ability to use the database. If the user is not allowed to use this particular replica, the code closes the current database and opens a replica on a different server. The code works fine under 6.5.6, but causes the Notes 8.0.2 client to crash. The error given prior to the crash is Error - script is busy.

This is the part of the code.

---------------------
' Need to close current database before opening new database.
Call CurDb.Close

' Verify new database is available
NewDbOpened = NewDb.OpenByReplicaID (SelectedServer, ReplicaID)

' If available, then open
If NewDbOpened Then
Call ws.OpenDatabase (NewDb.Server, NewDb.FilePath)
End If

-------------

In following the code using the LotusScript debugger, the error is being caused by the Call ws.OpenDatabase command.

Interestingly, commenting out the Call CurDb.Close command prevents the error and client from crashing, but I'm left with both replicas open, which is not what I would like.

Any suggestions?

Thanks,
Scott.


Feedback number WEBB82TKXA created by ~Frank Cisfoothergon on 02/19/2010


error message "Error - script is bu... (~Frank Cisfooth... 19.Feb.10)
. . Place an "Exit Sub" after the call ... (~Rex Breluettu 19.Mar.10)
. . Use END statement (~Zach Prelusoni... 7.Jun.18)
. . . . Sorry, I meant Exit Sub instead of ... (~Zach Prelusoni... 7.Jun.18)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS