Microsoft KB Archive/228468

= Err Msg: Variable Is Undefined (0x1F4, Source = 'Microsoft VBScript Runtime Error') =

Article ID: 228468

Article Last Modified on 6/11/2002

-

APPLIES TO


 * Microsoft Site Server 3.0 Standard Edition

-



This article was previously published under Q228468



SYMPTOMS
When a Site Server Web is mapped to a Membership server, adding a new content type through the HTML Administrator results in the following error message:

Variable is undefined (0x1F4, Source = 'Microsoft VBScript runtime error')



CAUSE
When a Site Server Web is mapped to a Membership Server, the HTML Administrator pages run in the context of the proxy account for the Membership instance. Normally, this account will be MemProxyUserX (where X is a number). The user logged on to the Administrator pages at this point is likely to be the Site Server Administrator. In this case, the Administrator's privileges are dynamically added to the MemProxyUserX account. Unfortunately, the Site Server Administrator does not have the necessary privileges to call BeginTransaction method of the "SiteServer.ContentIndex.1" object.

The following code in \Microsoft Site Server\SiteServer\Admin\knowledge\dsmgr\cmsave.asp fails in the AddContentTypeToApp function:

oCI.BeginTransaction If Err.Number <> 0 Then DisplayError "Failed to BeginTransaction on Content Index cache object" Exit Function End If



RESOLUTION
To avoid this error, add the Site Server Administrator to the Windows NT Server Administrator group and verify that Anonymous and Automatic Cookie Authentication are not enabled on the SiteServer\Admin virtual Directory. To do this, perform the following steps:
 * 1) Open the properties for the Site Server Administrator (in the members container) in the MMC. Be sure to log on to the MMC with the Administrator account.
 * 2) Click the Groups tab, and then click Add.
 * 3) In the Show names from drop-down list, select ou=NTGroups.
 * 4) On the Available item tab, you will find the Administrator group (not Site Server Administrator).
 * 5) Add the Site Server Administrator to the Windows NT Administrator group.
 * 6) Expand the virtual directories for the Web Site where the Web Based Administration is being performed.
 * 7) Expand the Site Server virtual directory.
 * 8) Open the properties for the Admin directory.
 * 9) On the Membership Authentication tab, make sure that the Anonymous Authentication check box is clear, and that you do not use Automatic Cookie Authentication.



STATUS
Microsoft has confirmed that this is a problem in Site Server version 3.0.



MORE INFORMATION
Though the content type can be added properly despite this error, other problems may result. For instance, if custom attributes have been added to the content type, these attributes will not be added to the rule file generated by the HTML Administrator.

Keywords: kbbug kbpending KB228468

-

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

© Microsoft Corporation. All rights reserved.