Microsoft KB Archive/302401

= XGEN: How to Extend the Schema Manually for Calendar Connector Installation =

Article ID: 302401

Article Last Modified on 2/27/2007

-

APPLIES TO


 * Microsoft Exchange 2000 Server Standard Edition

-



This article was previously published under Q302401



SYMPTOMS
If you attempt to run the initial Exchange 2000 Service Pack 1 (SP1) Calendar Connector (Calcon.exe) Setup and you are not a member of the Schema Admins group, you receive the following error message:

Installation Warning:

Setup failed to update the Directory schema with error code 8.

Please ensure that you are a member of the &quot;Schema Admins&quot; group, and the server acting as your domain schema master is available before running Setup.



WORKAROUND
If an Exchange administrator cannot obtain Schema Admin rights, a Schema administrator can either run Calendar Connector Setup, or can extend the schema before the initial installation of Calendar Connector by using the following steps. If the schema has already been extended with Calendar Connector attributes, Calendar Connector Setup will proceed without difficulties.

The Ldifde.exe utility is included in Windows 2000 Server, but not in Windows 2000 Professional. However, you can copy the Ldifde.exe program to a computer that is running Windows 2000 Professional and then you can run the program remotely against the Windows 2000 Server Active Directory.

To extend the schema before the initial installation of Calendar Connector:  Copy the text of the Calcon.ldf file that is located in the &quot;More Information&quot; section in this article into Notepad.exe. In the ADSI Edit MMC snap-in, connect to the Schema Naming Context, expand the Schema container, right-click the Schema object, and then click Properties. In the Select a Property to View drop-down box, click distinguishedName. Copy the value to the clipboard. It should look something like the following:

CN=Schema,CN=Configuration,DC=domainname,DC=microsoft,DC=com

 In Notepad, on the Edit menu, click Replace. In the Find What box, type:

 In the Replace with box, paste the contents of the clipboard, and then click Replace all.</li> Click Cancel after all the replacements have been made, and save the file to the same folder that contains the Ldifde.exe program.</li> From a command prompt, run the following command:

ldifde -i -f calcon.ldf -s

</li></ol>

If you run this command successfully, the output should look similar to the following text: <pre class="fixed_text">  Connecting to <SchemaMaster>.domain.microsoft.com&quot; Logging in as current user using SSPI Importing directory from file &quot;CalCon.ldf&quot; Loading entries..................  17 entries modified successfully.

The command has completed successfully

<div class="moreinformation_section">

MORE INFORMATION
The installation of Exchange 2000 Service Pack 1 (SP1) does not extend the Active Directory schema. However, the first installation in the forest of the Calendar Connector (for Novell GroupWise and Lotus Notes), which is included with SP1, does extend the schema. If the Exchange administrator that is running Calendar Connector Setup is not a member of the Schema Admins group, Calcon Setup will fail. The Calendar Connector setup program is not automatically run when installing Exchange 2000 SP1. The Calendar Connector has its own setup program which is located in the Calcon\I386 folder in the SP1 folder structure.

Calcon.ldf
<pre class="fixed_text">dn: CN=ms-Exch-CalCon-Client-Wait,<SchemaContainerDN> changetype: add adminDescription: ms-Exch-CalCon-Client-Wait adminDisplayName: ms-Exch-CalCon-Client-Wait attributeID: 1.2.840.113556.1.4.7000.102.1043 attributeSyntax: 2.5.5.9 isMemberOfPartialAttributeSet: FALSE isSingleValued: TRUE lDAPDisplayName: msExchCalConClientWait name: ms-Exch-CalCon-Client-Wait oMSyntax: 2 objectCategory: CN=Attribute-Schema,<SchemaContainerDN> objectClass: attributeSchema schemaIdGuid:: eHlEdVI3VkKon7Tf666aMg== searchFlags: 0

dn: CN=ms-Exch-CalCon-Providers,<SchemaContainerDN> changetype: add adminDescription: ms-Exch-CalCon-Providers adminDisplayName: ms-Exch-CalCon-Providers attributeID: 1.2.840.113556.1.4.7000.102.1042 attributeSyntax: 2.5.5.12 isMemberOfPartialAttributeSet: FALSE isSingleValued: FALSE lDAPDisplayName: msExchCalConProviders name: ms-Exch-CalCon-Providers oMSyntax: 64 objectCategory: CN=Attribute-Schema,<SchemaContainerDN> objectClass: attributeSchema schemaIdGuid:: Phq0c7BooUWeMGl7bRmu5g== searchFlags: 0

dn: CN=ms-Exch-CalCon-Query-Window,<SchemaContainerDN> changetype: add adminDescription: ms-Exch-CalCon-Query-Window adminDisplayName: ms-Exch-CalCon-Query-Window attributeID: 1.2.840.113556.1.4.7000.102.1040 attributeSyntax: 2.5.5.9 isMemberOfPartialAttributeSet: FALSE isSingleValued: TRUE lDAPDisplayName: msExchCalConQueryWindow name: ms-Exch-CalCon-Query-Window oMSyntax: 2 objectCategory: CN=Attribute-Schema,<SchemaContainerDN> objectClass: attributeSchema schemaIdGuid:: Goi7XtQZJkW298xG2aoYaQ== searchFlags: 0

dn: CN=ms-Exch-CalCon-Refresh-Interval,<SchemaContainerDN> changetype: add adminDescription: ms-Exch-CalCon-Refresh-Interval adminDisplayName: ms-Exch-CalCon-Refresh-Interval attributeID: 1.2.840.113556.1.4.7000.102.1041 attributeSyntax: 2.5.5.9 isMemberOfPartialAttributeSet: FALSE isSingleValued: TRUE lDAPDisplayName: msExchCalConRefreshInterval name: ms-Exch-CalCon-Refresh-Interval oMSyntax: 2 objectCategory: CN=Attribute-Schema,<SchemaContainerDN> objectClass: attributeSchema schemaIdGuid:: tjm/Iih1LEGyd6omjbQ5YA== searchFlags: 0

dn: CN=ms-Exch-CalCon-Target-SiteDN,<SchemaContainerDN> changetype: add adminDescription: ms-Exch-CalCon-Target-SiteDN adminDisplayName: ms-Exch-CalCon-Target-SiteDN attributeID: 1.2.840.113556.1.4.7000.102.1044 attributeSyntax: 2.5.5.12 isMemberOfPartialAttributeSet: FALSE isSingleValued: TRUE lDAPDisplayName: msExchCalConTargetSiteDN name: ms-Exch-CalCon-Target-SiteDN oMSyntax: 64 objectCategory: CN=Attribute-Schema,<SchemaContainerDN> objectClass: attributeSchema schemaIdGuid:: JlW0M4uOeUaXw07v85x/vQ== searchFlags: 0

dn: CN=ms-Exch-GWise-API-Gateway,<SchemaContainerDN> changetype: add adminDescription: ms-Exch-GWise-API-Gateway adminDisplayName: ms-Exch-GWise-API-Gateway attributeID: 1.2.840.113556.1.4.7000.102.1045 attributeSyntax: 2.5.5.12 isMemberOfPartialAttributeSet: FALSE isSingleValued: TRUE lDAPDisplayName: msExchGWiseAPIGateway name: ms-Exch-GWise-API-Gateway oMSyntax: 64 objectCategory: CN=Attribute-Schema,<SchemaContainerDN> objectClass: attributeSchema schemaIdGuid:: M2npx4C9okSlNex0TqX1Tw== searchFlags: 0

dn: changetype: modify replace: schemaUpdateNow schemaUpdateNow: 1 -

dn: CN=ms-Exch-Calendar-Connector,<SchemaContainerDN> changetype: modify add: mayContain mayContain: msExchCalConClientWait -

dn: CN=ms-Exch-Calendar-Connector,<SchemaContainerDN> changetype: modify add: mayContain mayContain: msExchCalConProviders -

dn: CN=ms-Exch-Calendar-Connector,<SchemaContainerDN> changetype: modify add: mayContain mayContain: msExchCalConQueryWindow -

dn: CN=ms-Exch-Calendar-Connector,<SchemaContainerDN> changetype: modify add: mayContain mayContain: msExchCalConRefreshInterval -

dn: CN=ms-Exch-Calendar-Connector,<SchemaContainerDN> changetype: modify add: mayContain mayContain: msExchCalConTargetSiteDN -

dn: CN=ms-Exch-Calendar-Connector,<SchemaContainerDN> changetype: modify add: mayContain mayContain: msExchGWiseAPIGateway -

dn: CN=ms-Exch-Calendar-Connector,<SchemaContainerDN> changetype: modify add: mayContain mayContain: msExchEncryptedPassword -

dn: CN=ms-Exch-Calendar-Connector,<SchemaContainerDN> changetype: modify add: mayContain mayContain: msExchNotesNotesServer -

dn: CN=ms-Exch-Calendar-Connector,<SchemaContainerDN> changetype: modify add: mayContain mayContain: msExchNotesNotesINI -

dn: changetype: modify replace: schemaUpdateNow schemaUpdateNow: 1 -

For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:

237677 Using LDIFDE to Import/Export Directory Objects to the AD

261231 XADM: Unable to Update the Schema on the Schema Owner

Additional query words: calcon exe exch2kp2w

Keywords: kberrmsg kbprb KB302401

-

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

© Microsoft Corporation. All rights reserved.