Microsoft KB Archive/236553

= MOD2000: Code Librarian Repeats Error Messages After You Click Add New Code or Delete Code Button =

Article ID: 236553

Article Last Modified on 9/3/2002

-

APPLIES TO


 * Microsoft Office 2000 Developer Edition

-



This article was previously published under Q236553



SYMPTOMS
In the Code Librarian, if you click the Add New Code or Delete Code toolbar button and there is no database open, you may receive the following error message:

Code Librarian Assert:

Module:modMain

Sub:AddSubNodes

Err:3709

Error:The application requested an operation on an object with a reference to a closed or invalid Connection object.

When you click OK, you continue to receive the following two errors messages:

Code Librarian Assert:

Module:modMain

Sub:AddSubNodes

Err:3704

Error:The operation requested by the application is not allowed if the object is closed.

-and-

Code Librarian Assert:

Module:modMain

Sub:AddSubNodes

Err:3265

Error:ADO could not find the object in the collection corresponding to the name or ordinal reference requested by the application.



RESOLUTION
To resolve this problem, obtain Microsoft Office 2000 Developer Service Release 1 (SR-1).

To obtain SR-1, click the article number below to view the article in the Microsoft Knowledge Base:

253566 MOD2000: How to Obtain and Install Microsoft Office 2000 Developer Service Release 1 (SR-1)

If you receive the error messages described in the "Symptoms" section, you must force the Code Librarian to quit. To do so, follow these steps:
 * 1) In Windows 95 or Windows 98, press CTRL+ALT+DEL to open the Close Program dialog box.

In Microsoft Windows NT, press CTRL+ALT+DEL, and then click Task Manager.
 * 1) Click Code Librarian, and then click End Task.

NOTE: In Windows NT, you must click the Applications tab to do this.
 * 1) If you have any projects open, save your changes, and close the Visual Basic Editor. Also, quit the application in which you were using the Visual Basic Editor.
 * 2) Reopen your projects and reopen the Code Librarian.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was corrected in Microsoft Office 2000 Developer SR-1.



Steps to Reproduce Behavior

 * 1) Open any Office 2000 program that uses the Visual Basic Editor, and then press ALT+F11.
 * 2) On the Add-ins menu, if you see Code Librarian, skip to step 5.
 * 3) On the Add-ins menu, click Add-in Manager.
 * 4) Click Code Librarian, and then under Load Behavior, click to select the Loaded/Unloaded check box. Click OK.
 * 5) On the Add-ins menu, click Code Librarian.
 * 6) If there are no open code database on the File menu, click Open. Click the Codelib.mdb file, and then click Open.
 * 7) Select any category that has sample code.
 * 8) On the File menu, click Close.
 * 9) Click the Delete Code toolbar button.

Note that you receive the error messages mentioned in the "Symptoms" section.

Additional query words: pra code librarian assert module: modmain sub: addsubnodes err: 3709

Keywords: kbbug kbcodelibrarian kbpending KB236553

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.