Microsoft Content Management Server 2002 Service Pack 1 Documentation

This document contains installation instructions and other information about the Microsoft® Content Management Server (MCMS) 2002 Service Pack 1 (SP1), a maintenance release for MCMS 2002.

Important  It is recommended that you print and read this entire document before you install SP1 because it contains information required for the successful installation of SP1.

SP1 contains hotfixes made to the MCMS 2002 product since its release, and it provides updates to the Site Manager and Site Stager applications. For a list of the hotfixes in this Service Pack and their related Knowledge Base articles, see Microsoft Knowledge Base article number 824493 at http://go.microsoft.com/fwlink/?LinkId=18357.

Installing SP1 enables you to run MCMS 2002 on the Microsoft Windows Server™ 2003 operating system, and to use Microsoft .NET Framework 1.1 and Microsoft Visual Studio® .NET 2003.

This document provides information about the following:

Installation Instructions

This section contains instructions for installing and uninstalling SP1 and the Authoring Connector for SP1, and it includes information about known issues with Windows Server 2003.

This section contains:

Before You Install SP1

Before you install SP1, note the following requirements:

Note  You may be prompted to restart your computer after installing SP1.

Platform Requirements

This section lists new software now supported by MCMS 2002, prerequisites for Site Manager and Site Stager, and what versions of Internet Explorer are required by specific MCMS components.

This section contains:

Newly Supported Software

With the release of SP1, MCMS 2002 now supports the following software:

The supported software listed above is not required, but if you plan to use the new software, it is recommended that you install it before you install SP1.

Updated Site Manager and Site Stager Prerequisites

SP1 also includes an upgrade of the MCMS Site Manager and Site Stager. The prerequisite for these components is the Microsoft Visual J#™ .NET Redistributable Package. You must have the Visual J# .NET Redistributable Package installed before installing Site Manager or Site Stager from SP1.

Note  If you have .NET Framework Version 1.1 installed, before you can install the SP1 Site Manager or Site Stager, you must install the Visual J# .NET Redistributable Package 1.1 from http://go.microsoft.com/fwlink/?LinkId=16283.

If you have .NET Framework Version 1.0 installed, before you can install the SP1 Site Manager or Site Stager, you must install the J# .NET Redistributable Package 1.0 from http://go.microsoft.com/fwlink/?LinkId=14506.

Supported Versions of Internet Explorer

Different components of MCMS require different versions of Internet Explorer. Check that these components meet the minimum requirements.

MCMS component Required Internet Explorer version
MCMS Site Manager Internet Explorer 5.0 or later
MCMS Content Server Internet Explorer 6.0 or later
MCMS Authoring Connector Internet Explorer 5.5 or later
MCMS Web Author Internet Explorer 5.0 or later

Installing SP1 on Windows Server 2000 or Windows XP

These instructions explain how to install SP1 if you are running Windows 2000 or Windows XP.

Important  If you have MCMS 2002 installed in a production environment you must install SP1 on all production computers, and on every computer that hosts Site Manager or Site Stager.

Important  If your operating system does not include Microsoft Virtual Machine (VM), you must do a workaround to install Site Manager or Site Stager. For more information about Microsoft VM and the workaround, see the section Installing Site Manager or Site Stager Without Microsoft VM.

To download and install SP1

  1. Go to http://go.microsoft.com/fwlink/?LinkId=18358 to download SP1.
  2. Click the setup.exe link.
  3. Follow the installation steps in the following table:
    Window Title Action
    Welcome Click Next.
    License Agreement If you accept the terms of the license agreement, click I accept the terms in the license agreement, and then click Next.
    SP1 Installation This window lists the MCMS 2002 components that will be upgraded. Click Next.
    SP1 Installation Select the optional components that you want to install. For example, if you installed Visual Studio .NET 2003, select Developer Tools for Visual Studio .NET 2003, and then click Next.

    Accept the default location where the components will be installed, or select Change to change this location.

    Ready to Install SP1 Click Install.

    Note   Installation takes a few minutes.

    Installation of MCMS 2002 SP1 Complete Click Exit, or if you want to configure the database, click Launch DCA.

Installing SP1 on Windows Server 2003

SP1 enables you to install MCMS on a Windows Server 2003 platform. SP1 also supports Windows Server 2003 domains. This section contains procedures for installing MCMS for the first time on a computer running Windows Server 2003, and for upgrading your operating system to Windows Server 2003 if MCMS is already installed. It also contains known issues with Windows Server 2003.

Important  If your operating system does not include Microsoft Virtual Machine (VM), you must do a workaround to install Site Manager or Site Stager. For more information about Microsoft VM and the workaround, see the section Installing Site Manager or Site Stager Without Microsoft VM.

Important  By default, IIS 6.0 may not be installed when you install Windows Server 2003. You must ensure the components IIS 6.0, ASP.NET, ASP, and server side includes, which are included with Windows Server 2003, are installed before you install MCMS 2002 or SP1.

This section contains:

Installing MCMS for the First Time on Windows Server 2003

You can install MCMS and SP1 on a computer that has Windows Server 2003 installed, but you must perform the following steps in the order listed.

  1. Install MCMS according to the installation instructions located at: http://go.microsoft.com/fwlink/?LinkId=9918, but note the following important exception:

    Important  After you install MCMS components, do not select the option Launch Database Configuration Application to run the Database Configuration Application (DCA). After you install SP1, you will configure the database using the DCA.

  2. Install SP1 following the procedures in Installing SP1 on Windows 2000 or Windows XP found in this document
  3. On the last window of the SP1 installation, select Launch DCA to configure the MCMS database.

Upgrading Your Operating System to Windows Server 2003

It is recommended that you uninstall MCMS 2002 before upgrading your operating system to Windows Server 2003. After you install Windows Server 2003, you can reinstall MCMS 2002. However, if you decide to upgrade to Windows Server 2003 without uninstalling MCMS, you will encounter the following issues:

Restarting the WWW Publishing Service

After you upgrade your computer to Windows Server 2003, the World Wide Web (WWW) publishing service may become disabled. This prevents the Site Manager and the Server Configuration Application (SCA) from operating. You must restart this service to use these components.

To restart the WWW Publishing Service

  1. Click Start, click Control Panel, click Administrative Tools, and then click Services.
  2. Right-click World Wide Web Publishing Service, and then click Properties.
  3. On the General tab, in Startup type, select Automatic from the drop-down list, and then click OK.
  4. On the Services window, look in the Status column beside World Wide Web Publishing Service. If it is blank, right-click World Wide Web Publishing Service, and then click Start.

Reinstalling Server Side Includes

After you upgrade to Windows Server 2003, the SP1 installation cannot detect if server side includes are properly installed. To ensure that they are installed correctly, you must uninstall and reinstall them.

To uninstall and reinstall server side includes

  1. Click Start, click Control Panel, and then click Add or Remove Programs.
  2. Click Add/Remove Windows Components, select Application Server, and then click Details.
  3. In the Application Server dialog box, select Internet Information Services, and then click Details.
  4. In the Internet Information Services dialog box, select World Wide Web Service, and then click Details.
  5. In the World Wide Web Service dialog box, deselect Server Side Includes then click OK. Click OK on each open dialog box.
  6. In the Windows Components Wizard dialog box, click Next, and then click Finish. The server side includes files are now uninstalled.
  7. Repeat steps 1 through 4.
  8. When you get to step 5, select the Server Side Includes box, click OK, and then proceed to step 6.

Setting the Maximum Size for Uploaded Resources

In Windows Server 2003, the maximum amount of data for resource uploading is now configurable within IIS, but the default limit is too low for MCMS resources. The following procedure sets the limit to approximately 50 megabytes (MB) for MCMS resources.

Note  You must follow this procedure for every Web site that is configured as an MCMS Web entry point.

To increase the allowed resource size

  1. Click Start, click Control Panel, click Administrative Tools, and then click Computer Management.
  2. Under the Services and Applications node, select Internet Information Services Manager.
  3. Right-click Internet Information Services Manager, select All Tasks, then click Restart IIS.
  4. In the Stop/Start/Restart dialog box, select Stop Internet Services on <computer name>, and then click OK.
  5. Right-click Start, and then click Explore. Browse to %Windir%\system32\inetsrv\.
  6. Right-click metabase.xml, and then click Edit.
  7. You must locate the IIS InstanceID for the MCMS Web site. You do this by searching for the ServerBindings and the SecureBindings strings. See the following table for information on how to locate the InstanceID based on how the ServerBindings or SecureBindings string is formatted.
    Format Location of the IIS InstanceID
    ServerBindings=

    "IP:Port:HostHeader"

    and

    SecureBindings=

    "IP:Port:HostHeader"

    In the metabase.xml file, search for the ServerBindings or SecureBindings strings. If the string appears as ServerBindings=IP:Port:HostHeader or SecureBindings=IP:Port:HostHeader, and the IP:Port:HostHeader matches the Web site IP, the port, and HostHeader that is entered in the SCA, then the IIS InstanceID for the Web site is in the location property of the <IIsWebServer ...> tag, which is in the form /LM/W3SVC/xxx. For example:
    <IIsWebServer   Location ="/LM/W3SVC/1256"
       DefaultDoc="Default.htm,Default.asp,
       iisstart.asp,Default.aspx"
       ServerBindings=":80:"
       ServerComment="Default Web Site"
        >
    </IIsWebServer>

    In this example, the IIS InstanceID is 1256.

    Note  If the IP Address in IIS and the SCA is All Unassigned then the IP field is blank.

    Name=ServerBindings and/or Name=SecureBindings
    
    
    In the metabase.xml file, search for the ServerBinding or SecureBinding strings. If the strings appear as Name=ServerBindings or Name=SecureBindings, then they are located in a <Custom> tag. Also in this custom tag is a value property in the form of Value=IP:Port:HostHeader. If the IP:Port:HostHeader matches the Web site IP, the port, and HostHeader that is entered in the SCA, then the IIS InstanceID for the Web site is in the location property of the <IIsWebServer ...> tag, which is in the form /LM/W3SVC/xxx. For example:
    <IIsWebServer   Location ="/LM/W3SVC/1987"
       AppPoolId="DefaultAppPool"
       DefaultDoc="Default.htm,Default.asp,
       iisstart.asp,Default.aspx"
       ServerComment="Default Web Site"        
        >
        <Custom
       Name="SecureBindings"
       ID="2021"
       Value=":443:"
        />
        <Custom
       Name="ServerBindings"
       ID="1023"
       Value=":80:"
        />
    </IIsWebServer>

    In this example, the IIS InstanceID is 1987

    Note  If the IP Address in IIS and the SCA is All Unassigned then the IP field is blank.

  8. Add the following entries between the existing XML tags: <MBProperty> … </MBProperty>, change the AspMaxRequestEntityAllowed value to the maximum amount of data you want to upload, and then change the IIS InstanceID in the Location property and the AppRoot property to match the IIS InstanceID located in the <IISWebServer> tag.
    <IIsWebDirectory   Location ="/LM/W3SVC/<InstanceID>/ROOT/NR/System/ResUpload"
    AppFriendlyName="ResUpload"
    AppIsolated="2"
    AppRoot="/LM/W3SVC/<InstanceId>/Root/NR/System/ResUpload"
    AspMaxRequestEntityAllowed="51200000"
      >
    </IIsWebDirectory>
  9. Save the metabase.xml file.
  10. Click Start, click Control Panel, click Administrative Tools, and then click Computer Management.
  11. Under the Server Applications and Services node, expand Internet Information Services.
  12. Select the Computer icon, click the Action button, and then select Restart IIS.
  13. In the Stop/Start/Restart dialog box, select Restart Internet Services on <computer name>, and then click OK.

Setting the Maximum Size for Site Deployment

In Windows Server 2003, the maximum amount of data for resource uploading is now configurable within IIS, but the default limit is too low for MCMS site deployment. The following procedure sets the limit to approximately 4 gigabyte (GB) for site deployment.

Note  You must follow this procedure for every Web site that is configured as a MCMS Web entry point.

To increase the size of the SDO files

  1. Click Start, click Control Panel, click Administrative Tools, and click Computer Management.
  2. Under the Server Applications and Services node, expand Internet Information Services.
  3. Select the Computer icon, click the Action button, and then select Restart IIS.
  4. In the Stop/Start/Restart dialog box, select Stop Internet Services on <computer name>, and then click OK.
  5. Right-click Start, and then click Explore. Browse to %Windir%\system32\inetsrv\
  6. Right-click the file metabase.xml and click Edit.
  7. You must locate the IIS InstanceID for the MCMS Web site. You do this by searching for the ServerBindings and the SecureBindings strings. See the following table for information on how to locate the InstanceID based on how the ServerBindings or SecureBindings string is formatted.
    Format Location of the IIS InstanceID
    ServerBindings=

    "IP:Port:HostHeader"

    and

    SecureBindings=

    "IP:Port:HostHeader"

    In the metabase.xml file, search for the ServerBindings or SecureBindings strings. If the string appears as ServerBindings=IP:Port:HostHeader or SecureBindings=IP:Port:HostHeader, and the IP:Port:HostHeader matches the Web site IP, the port, and HostHeader that is entered in the SCA, then the IIS InstanceID for the Web site is in the location property of the <IIsWebServer ...> tag, which is in the form /LM/W3SVC/xxx. For example:
    <IIsWebServer   Location ="/LM/W3SVC/1256"
       DefaultDoc="Default.htm,Default.asp,
       iisstart.asp,Default.aspx"
       ServerBindings=":80:"
       ServerComment="Default Web Site"
        >
    </IIsWebServer>

    In this example, the IIS InstanceID is 1256.

    Note  If the IP Address in IIS and the SCA is All Unassigned then the IP field is blank.

    Name=ServerBindings and/or Name=SecureBindings
    
    
    In the metabase.xml file search for the ServerBinding or SecureBinding strings. If the strings appear as Name=ServerBindings or Name=SecureBindings, then they are located in a <Custom> tag. Also in this custom tag is a value property in the form of Value=IP:Port:HostHeader. If the IP:Port:HostHeader matches the Web site IP, the port, and HostHeader that is entered in the SCA, then the IIS InstanceID for the Web site is in the location property of the <IIsWebServer ...> tag, which is in the form /LM/W3SVC/xxx. For example (see the bolded items below):
    <IIsWebServer   Location ="/LM/W3SVC/1987"
       AppPoolId="DefaultAppPool"
       DefaultDoc="Default.htm,Default.asp,
       iisstart.asp,Default.aspx"
       ServerComment="Default Web Site"        
        >
        <Custom
       Name="SecureBindings"
       ID="2021"
       Value=":443:"
        />
        <Custom
       Name="ServerBindings"
       ID="1023"
       Value=":80:"
        />
    </IIsWebServer>

    In this example, the IIS InstanceID is 1987

    Note  If the IP Address in IIS and the SCA is All Unassigned then the IP field is blank.

  8. Add the following entries between the existing XML tags: <MBProperty> … </MBProperty>, change the AspMaxRequestEntityAllowed value to the maximum amount of data you want to upload, and then change the IIS InstanceID in the Location property and the AppRoot property to match the IIS InstanceID located in the <IISWebServer> tag.
    <IIsWebDirectory   Location ="/LM/W3SVC/<InstanceID>/ROOT/NR/System/SDUpload"
    AppFriendlyName="ResUpload"
    AppIsolated="2"
    AppRoot="/LM/W3SVC/<InstanceId>/Root/NR/System/SDUpload"
    AspMaxRequestEntityAllowed="51200000"
      >
    </IIsWebDirectory>
  9. Save the metabase.xml file.
  10. Click Start, click Control Panel, click Administrative Tools, and then click Computer Management.
  11. Under the Server Applications and Services node, expand Internet Information Services.
  12. Select the Computer icon, click the Action button, and then select Restart IIS.
  13. In the Stop/Start/Restart dialog box, select Restart Internet Services on <computer name>, and then click OK.

Reconfiguring MCMS 2002 for Windows Server 2003

When you installed MCMS 2002, it was originally configured to run under Windows Server® 2000 and Internet Information Services (IIS) 5.0. After you upgrade to IIS 6.0 you must reinitialize MCMS to run under Windows Server 2003 and IIS 6.0.

To reinitialize MCMS

  1. Modify the <install directory>:\inetpub\wwwroot folder permission to allow the ASPNET (aspnet_wp) user to have read and execute permissions. See the section Error Occurs When Deploying a Site in Windows Server 2003 for more information.
  2. Modify MCMS and your Web applications so that they work with the version of ASP.NET provided by the .NET Framework 1.1. See the section Using MCMS 2002 SP1 with .NET Framework 1.1 for more information.

Known Issues That Occur When You Install SP1 with Windows Server 2003

This section contains information about known issues with Windows Server 2003.

This section contains:

Error Occurs When Installing Visual Studio .NET 2002 on Windows Server 2003

When you try to install the developer tools in Visual Studio .NET 2002 on Windows Server 2003 you may receive the following error message: "Unable to pre-create directory for profile files." For more information about this error message, including a workaround, see the Knowledge Base article 320930 at http://go.microsoft.com/fwlink/?LinkID=18359.

MCMS Default Console May Not Work with High Security Level Setting

In Windows Server 2003, the Internet Explorer Internet zone has a high security level setting. The default console in MCMS may not work because this setting prevents the JavaScript file that supports the Switch To Edit Site link from being downloaded.

You must add the MCMS Web site to the Trusted Sites in Windows Server 2003.

To add the MCMS Web site to Trusted Sites

  1. Navigate to the site that you want to add.
  2. On the File menu, click Add this site to, and then click Trusted Sites Zone.
  3. In the Trusted sites dialog box, click Add to move the site to the list, and then click Close.
  4. Refresh the page to view the site from its new zone.
  5. Check the Status bar of the browser to confirm that the site is in the Trusted sites zone.

AESecurityService in Windows Server 2003 May Not Automatically Restart

If you manually stop the AESecurityService in Windows Server 2003 and attempt to access your MCMS Web site, the AESecurityService may not automatically restart and your MCMS Web site will not be available. AESecurityService must be manually restarted.

To manually restart the AESecurityService

  1. Click Start, click Control Panel, click Administrative Tools, and then click Services.
  2. Right-click AESecurityService and then click Start.

Cannot Create a Web Application in Visual Studio .NET 2002

You may be unable to create a Web application in Visual Studio .NET 2002 if you are using Windows Server 2003. Visual Studio .NET creates .tmp files, but Internet Information Services (IIS) 6.0 in Windows Server 2003 is not configured for this file type. This is a known issue with Visual Studio .NET 2002 and Windows Server 2003. For more information about this, including a workaround, see Knowledge Base article 327283 at http://go.microsoft.com/fwlink/?LinkId=18383.

Error Occurs When Deploying a Site in Windows Server 2003

When deploying a site in Windows Server 2003 you may get the following error message: "The remote server returned an error: (404) Not Found." This happens because the ASPNET user does not have permission to access the site deployment directory on Windows Server 2003.

To grant the ASPNET user access to the site deployment directory

  1. Right click Start, click Explore, and then browse to <installation directory>\inetpub\.
  2. Right-click the wwwroot folder and click Properties.
  3. In the wwwroot Properties dialog box, click the Security tab, and then click Add.
  4. In the Select Users or Groups dialog box, click Locations, select the local computer, and then click OK.
  5. In the text box, type aspnet, and then click Check Names. This changes the text to <computername>\ASPNET.
  6. Click OK.
  7. In the Permissions for ASP.NET Machine Account box make sure that the ASPNET account has the following permissions:
  8. Click OK.

Error Occurs During Site Deployment Import on Windows Server 2003

You may receive the following error when trying to import in Windows Server 2003: "An underlying connection was closed. An unexpected error occurred." This can occur when you are importing a large amount of data because IIS will timeout. You can modify this in IIS.

To increase the timeout connection in IIS

  1. Click Start, click Control Panel, click Administrative Tools, and then click Internet Information Services Manager.
  2. Expand Web Sites, right-click Default Web Site (or the site where your MCMS Web application is installed), and then click Properties.
  3. Select the Web Site tab.
  4. In the Connections section, in the Connection timeout field, increase the seconds to a value large enough to allow for the length of the import.
  5. Click OK.

Installing SP1 with Content Integration Pack 2.0

You must install Microsoft Content Integration Pack 2.0 before installing SP1. If you installed Content Integration Pack 2.0 after installing SP1, you must reinstall SP1.

Important  Content Integration Pack 2.0 has customized Web Author files. Save these files before installing SP1. Restore these files only after installing SP1.

Note  SP1 does not enable Content Integration Pack 2.0 to work with Windows Server 2003.

Installing Site Manager or Site Stager Without Microsoft VM

The Site Manager and Site Stager applications that shipped with MCMS 2002 required Microsoft Virtual Machine (VM), which was part of the operating system. Microsoft VM is not part of Windows Server 2003, or some versions of Windows Server 2000 and Windows XP.

The following procedures describe how to install Site Manager or Site Stager on a computer without Microsoft VM.

Note  Ensure you have the prerequisites for Site Manager or Site Stager. For more information about the prerequisites, see the section Updated Site Manager and Site Stager Prerequisites.

To install only Site Manager on computers without Microsoft VM

  1. Insert the Microsoft Content Management Server 2002 CD in your CD-ROM drive.
  2. Click Start, and then click Run.
  3. In the Run dialog box, type cmd and then click OK.
  4. At the command prompt, type <CD-ROM drive>:, and then press Enter.
  5. Type CD \MCMS, and then press Enter.
  6. Type the following command:
    msiexec /i "Microsoft Content Management Server.msi" PASS_SITEMGR_PREREQUISITE="Yes"
  7. Press Enter to start the installation process.
  8. Install Site Manager using the MCMS installation process. (It will not check for Microsoft VM.)
  9. Install SP1 following the instructions in the section Installing SP1 on Windows Server 2000 or Windows XP, or Installing SP1 on Windows Server 2003.

To install only Site Stager without Microsoft VM

  1. Insert the Microsoft Content Management Server 2002 CD in your CD-ROM drive.
  2. Click Start, and then click Run.
  3. In the Run dialog box, type cmd, and then click OK.
  4. At the command prompt, type <CD-ROM drive>:, and then press Enter.
  5. Type CD \MCMS, and then press Enter.
  6. Type the following command:
    msiexec /i "Microsoft Content Management Server.msi" PASS_SITESTAGER_PREREQUISITE="Yes"
  7. Press Enter to start the installation process.
  8. Install Site Stager using the MCMS installation process. (It will not check for Microsoft VM.)
  9. Install SP1 following the instructions in the section Installing SP1 on Windows Server 2000 or Windows XP, or Installing SP1 on Windows Server 2003.

Installing MCMS Components After Installing SP1

After you have installed SP1, you can use the Add/Remove Programs feature in the control panel to install additional MCMS components.

To install additional MCMS components after SP1 is installed

  1. Click Start, click Control Panel, click Add/Remove Programs, and then select Change or Remove Programs.
  2. Select Microsoft Content Management Server, and then click Change. The MCMS 2002 installer begins.

Installing Authoring Connector SP1

You must install Authoring Connector SP1 on all computers that have Authoring Connector installed.

To download and install Authoring Connector SP1

  1. Download the Authoring Connector SP1 from http://go.microsoft.com/fwlink/?LinkId=18358.
  2. .Click the setup.exe link. The installer begins.

Installing Authoring Connector Language Pack for SP1

The MCMS 2002 Authoring Connector Language Pack for SP1 contains the client and server files that provide local versions of MCMS 2002 Authoring Connector for Word 2002. The languages provided are Simplified Chinese, Traditional Chinese, Dutch, English, French, German, Italian, Japanese, Korean, Portuguese (Brazil), Spanish, and Swedish.

This language pack should be installed on all client computers that require these languages after you install Authoring Connector SP1. The language pack must also be installed on all servers that these client computers connect to.

To download and install Authoring Connector Language Pack for SP1

  1. Download the Authoring Connector Language Pack for SP1 from http://go.microsoft.com/fwlink/?LinkId=18358.
  2. Click the setup.exe link. The installer begins.

Uninstalling SP1 and Uninstall Known Issues

Before uninstalling SP1, it is recommended you back-up the following:

As with any update of your system, this step is a recommended operations procedure. Also, review the section Uninstall Known Issues before uninstalling SP1.

Note  If you uninstall SP1, then you must manually re-add the hotfixes that you manually applied before or after SP1 installation.

Note  If you have Content Integration Pack 2.0 installed and you uninstall SP1, you must reinstall Content Integration Pack.

Use the Add/Remove Programs option in the Control Panel to uninstall SP1.

Note  SP1 will take a few minutes to uninstall.

This section contains:

Uninstall Known Issues

Uninstall Known Issues

This section contains the known issues when uninstalling SP1.

This section contains:

Error Occurs When Uninstalling SP1 Components on Windows Server 2003

If you have Visual Studio .NET running when you attempt to uninstall SP1, you may receive the following error message: "Package Microsoft Content Management Server has failed to load properly."

To fix this, you must reinstall MCMS 2002 SP1, shut down Visual Studio .NET, and then uninstall SP1.

Files That Have Been Migrated From MCMS 2001 to MCMS 2002 Must Be Updated After Uninstalling SP1

The process of migrating from MCMS 2001 to MCMS 2002 creates templates and resources on the file system in the directories listed below.

Important  If you migrated from MCMS 2001 to MCMS 2002 you must backup the files listed below before you uninstall SP1, and then restore them when you are finished uninstalling SP1.

Once you replace these files, you must also restore the Access Control Lists (ACL) for each object because only administrators will have read and write access to these directories. You must grant read/write access to those users who need to access these files. (For example, template designers need access to these files.)

Cached Data Remains on Client Browsers

When your MCMS site is accessed, resources are downloaded and internally cached by Internet Explorer. When you uninstall SP1 the resources on the server revert back to the previous version, but Internet Explorer may still contain SP1 resources. Therefore, when the site is accessed again, Internet Explorer may run a combination of SP1 and MCMS 2002 script files, and a scripting error can occur as a result.

To workaround this issue, wait for Internet Explorer to empty its cache, or manually empty the client cache in the temporary Internet folder.

To empty the temporary Internet folder

  1. In Internet Explorer, on the Tools menu, select Internet Options.
  2. On the General tab in the Temporary Internet Files section, click Delete Files.
  3. In the Delete Files dialog box, click OK.

Using Visual Studio .NET

Visual Studio .NET 2002 is used to build Web applications based on .NET Framework 1.0. When these applications are deployed, the target machines must have .NET Framework 1.0 (or .NET Framework 1.1) installed in order for these applications to run. Note that you can only run .NET Framework 1.0 applications on Windows Server 2003 using .NET Framework 1.1 because .NET Framework 1.0 is not supported on Windows Server 2003.

Visual Studio .NET 2003 is used to build Web applications based on .NET Framework 1.1. When these applications are deployed, the target machines must have .NET Framework 1.1 installed in order for these applications to run. See the section Using MCMS 2002 SP1 with .NET Framework 1.1 for more information.

Using MCMS 2002 SP1 with .NET Framework 1.1

.NET Framework 1.1 has a new attribute (validateRequest) that is not compatible with .NET Framework 1.0. See the Knowledge Base article 821343 at http://go.microsoft.com/fwlink/?LinkId=18386 for more information.

If you target your MCMS Web application and MCMS 2002 to use .NET Framework 1.1, then the validateRequest attribute must be added (and set to false) in one of the following:

To set request validation to false for all applications on your computer

  1. Right-click Start, click Explore, and browse to %Windir%\Microsoft.NET\Framework\v.1.1.xxxx\CONFIG\.
  2. In a text editor (for example NotePad), open the machine.config file.
  3. Set the validateRequest attribute to false as shown in the following:
    <configuration>
    <system.web>
    <pages validateRequest="false" />
    </system.web>
    </configuration>

To set request validation to false for your MCMS Web application and all MCMS internal applications

  1. Click Start, click Control Panel, click Administrative Tools, and then click Internet Information Services Manager.
  2. Expand Web Sites, expand Default Web Site (or the site where your MCMS Web application is installed) and select your MCMS Web site.
  3. In a text editor (for example NotePad), open your Web.config file, and then set the validateRequest attribute to false as shown in the following:
    <configuration>
    <system.web>
    <pages validateRequest="false" />
    </system.web>
    </configuration>

To disable request validation for all MCMS internal applications

  1. Right-click Start, click Explore, and browse to <installation directory>\Program Files\Microsoft Content Management Server\Server\IIS_CMS\OfficeWizard.
  2. In a text editor, open the Web.config file.
  3. Set the validateRequest attribute to false as shown in the following:
    <configuration>
    <system.web>
    <pages validateRequest="false" />
    </system.web>
    </configuration>
  4. Repeat these steps for the following:

Adding Impersonate Privileges to ASPNET Users

In Windows Server 2003 (and Windows Server 2000 SP4), the account which the ASP.NET process runs under must have impersonation privileges. By default, this account is the local ASPNET user. If this account does not have impersonation privileges then you must manually assign impersonation privileges to the appropriate account.

To assign impersonate privileges

  1. Click Start, click Control Panel, click Administrative Tools, and then click Local Security Policies.
  2. In the Local Security Settings window, expand Local Policies, click User Rights Assignment.
  3. In the User Rights Assignment folder, right-click Impersonate a client after authentication, and then click Properties.
  4. In the Properties dialog box, click Add User or Group.
  5. In the Select Users, Computers, or Groups dialog box, add the appropriate user or group, and then click OK.
  6. In the Properties dialog box, click OK.

Increasing the Maximum Size for Uploaded Resources

In Windows Server 2003, the maximum amount of data for resource uploading is now configurable within IIS. MCMS sets a limit of approximately 50 megabytes (MB) for MCMS resources. You can change this using the following procedure.

To change the allowed resource size

  1. Click Start, click Control Panel, click Administrative Tools, and then click Computer Management.
  2. Under the Services and Applications node, select Internet Information Services Manager.
  3. Right-click Internet Information Services Manager, select All Tasks, then click Restart IIS.
  4. In the Stop/Start/Restart dialog box, select Stop Internet Services on <computer name>, and then click OK.
  5. Right-click Start, and then click Explore. Browse to %Windir%\system32\inetsrv\.
  6. Right-click metabase.xml, and then click Edit.
  7. You must locate the IIS InstanceID for the MCMS Web site. You do this by searching for the ServerBindings and the SecureBindings strings. See the following table for information on how to locate the InstanceID based on how the ServerBindings or SecureBindings string is formatted.
    Format Location of the IIS InstanceID
    ServerBindings=

    "IP:Port:HostHeader"

    and

    SecureBindings=

    "IP:Port:HostHeader"

    In the metabase.xml file, search for the ServerBindings or SecureBindings strings. If the string appears as ServerBindings=IP:Port:HostHeader or SecureBindings=IP:Port:HostHeader, and the IP:Port:HostHeader matches the Web site IP, the port, and HostHeader that is entered in the SCA, then the IIS InstanceID for the Web site is in the location property of the <IIsWebServer ...> tag, which is in the form /LM/W3SVC/xxx. For example:
    <IIsWebServer   Location ="/LM/W3SVC/1256"
       DefaultDoc="Default.htm,Default.asp,
       iisstart.asp,Default.aspx"
       ServerBindings=":80:"
       ServerComment="Default Web Site"
        >
    </IIsWebServer>

    In this example, the IIS InstanceID is 1256.

    Note  If the IP Address in IIS and the SCA is All Unassigned then the IP field is blank.

    Name=ServerBindings and/or Name=SecureBindings
    
    
    In the metabase.xml file, search for the ServerBinding or SecureBinding strings. If the strings appear as Name=ServerBindings or Name=SecureBindings, then they are located in a <Custom> tag. Also in this custom tag is a value property in the form of Value=IP:Port:HostHeader. If the IP:Port:HostHeader matches the Web site IP, the port, and HostHeader that is entered in the SCA, then the IIS InstanceID for the Web site is in the location property of the <IIsWebServer ...> tag, which is in the form /LM/W3SVC/xxx. For example:
    <IIsWebServer   Location ="/LM/W3SVC/1987"
       AppPoolId="DefaultAppPool"
       DefaultDoc="Default.htm,Default.asp,
       iisstart.asp,Default.aspx"
       ServerComment="Default Web Site"        
        >
        <Custom
       Name="SecureBindings"
       ID="2021"
       Value=":443:"
        />
        <Custom
       Name="ServerBindings"
       ID="1023"
       Value=":80:"
        />
    </IIsWebServer>

    In this example, the IIS InstanceID is 1987

    Note  If the IP Address in IIS and the SCA is All Unassigned then the IP field is blank.

  8. Add the following entries between the existing XML tags: <MBProperty> … </MBProperty>, change the AspMaxRequestEntityAllowed value to the maximum amount of data you want to upload, and then change the IIS InstanceID in the Location property and the AppRoot property to match the IIS InstanceID located in the <IISWebServer> tag.
    <IIsWebDirectory   Location ="/LM/W3SVC/<InstanceID>/ROOT/NR/System/ResUpload"
    AppFriendlyName="ResUpload"
    AppIsolated="2"
    AppRoot="/LM/W3SVC/<InstanceId>/Root/NR/System/ResUpload"
    AspMaxRequestEntityAllowed="51200000"
      >
    </IIsWebDirectory>
  9. Save the metabase.xml file.
  10. Click Start, click Control Panel, click Administrative Tools, and then click Computer Management.
  11. Under the Server Applications and Services node, expand Internet Information Services.
  12. Select the Computer icon, click the Action button, and then select Restart IIS.
  13. In the Stop/Start/Restart dialog box, select Restart Internet Services on <computer name>, and then click OK.

Increasing the Maximum Size for Site Deployment

In Windows Server 2003, the maximum amount of data for resource uploading is now configurable within IIS. MCMS sets a limit of approximately 4 gigabyte (GB) for site deployment. You can change this using the following procedure.

To change the size of the SDO files

  1. Click Start, click Control Panel, click Administrative Tools, and click Computer Management.
  2. Under the Server Applications and Services node, expand Internet Information Services.
  3. Select the Computer icon, click the Action button, and then select Restart IIS.
  4. In the Stop/Start/Restart dialog box, select Stop Internet Services on <computer name>, and then click OK.
  5. Right-click Start, and then click Explore. Browse to %Windir%\system32\inetsrv\
  6. Right-click the file metabase.xml and click Edit.
  7. You must locate the IIS InstanceID for the MCMS Web site. You do this by searching for the ServerBindings and the SecureBindings strings. See the following table for information on how to locate the InstanceID based on how the ServerBindings or SecureBindings string is formatted.
    Format Location of the IIS InstanceID
    ServerBindings=

    "IP:Port:HostHeader"

    and

    SecureBindings=

    "IP:Port:HostHeader"

    In the metabase.xml file, search for the ServerBindings or SecureBindings strings. If the string appears as ServerBindings=IP:Port:HostHeader or SecureBindings=IP:Port:HostHeader, and the IP:Port:HostHeader matches the Web site IP, the port, and HostHeader that is entered in the SCA, then the IIS InstanceID for the Web site is in the location property of the <IIsWebServer ...> tag, which is in the form /LM/W3SVC/xxx. For example:
    <IIsWebServer   Location ="/LM/W3SVC/1256"
       DefaultDoc="Default.htm,Default.asp,
       iisstart.asp,Default.aspx"
       ServerBindings=":80:"
       ServerComment="Default Web Site"
        >
    </IIsWebServer>

    In this example, the IIS InstanceID is 1256.

    Note  If the IP Address in IIS and the SCA is All Unassigned then the IP field is blank.

    Name=ServerBindings and/or Name=SecureBindings
    
    
    In the metabase.xml file search for the ServerBinding or SecureBinding strings. If the strings appear as Name=ServerBindings or Name=SecureBindings, then they are located in a <Custom> tag. Also in this custom tag is a value property in the form of Value=IP:Port:HostHeader. If the IP:Port:HostHeader matches the Web site IP, the port, and HostHeader that is entered in the SCA, then the IIS InstanceID for the Web site is in the location property of the <IIsWebServer ...> tag, which is in the form /LM/W3SVC/xxx. For example (see the bolded items below):
    <IIsWebServer   Location ="/LM/W3SVC/1987"
       AppPoolId="DefaultAppPool"
       DefaultDoc="Default.htm,Default.asp,
       iisstart.asp,Default.aspx"
       ServerComment="Default Web Site"        
        >
        <Custom
       Name="SecureBindings"
       ID="2021"
       Value=":443:"
        />
        <Custom
       Name="ServerBindings"
       ID="1023"
       Value=":80:"
        />
    </IIsWebServer>

    In this example, the IIS InstanceID is 1987

    Note  If the IP Address in IIS and the SCA is All Unassigned then the IP field is blank.

  8. Add the following entries between the existing XML tags: <MBProperty> … </MBProperty>, change the AspMaxRequestEntityAllowed value to the maximum amount of data you want to upload, and then change the IIS InstanceID in the Location property and the AppRoot property to match the IIS InstanceID located in the <IISWebServer> tag.
    <IIsWebDirectory   Location ="/LM/W3SVC/<InstanceID>/ROOT/NR/System/SDUpload"
    AppFriendlyName="ResUpload"
    AppIsolated="2"
    AppRoot="/LM/W3SVC/<InstanceId>/Root/NR/System/SDUpload"
    AspMaxRequestEntityAllowed="51200000"
      >
    </IIsWebDirectory>
  9. Save the metabase.xml file.
  10. Click Start, click Control Panel, click Administrative Tools, and then click Computer Management.
  11. Under the Server Applications and Services node, expand Internet Information Services.
  12. Select the Computer icon, click the Action button, and then select Restart IIS.
  13. In the Stop/Start/Restart dialog box, select Restart Internet Services on <computer name>, and then click OK.

Known Issues in SP1

The following are known issues in this SP1 release:

Background Processing Starting Step is Reset

DCA and SCA May Not Recognize a Database User

Unexpected Event Log Messages Occur

Background Processing Starting Step is Reset

Background processing is implemented as a SQL Server Agent Job. You may have modified the starting step in the background processing job (for instance, to enable deletion of expired postings). SP1 resets the background processing starting step, so if you customized the background processing before you installed SP1, you must reset it after applying SP1. See "Using MCMS Background Cleanup" in MCMS 2002 Help for more information about background processing.

DCA and SCA May Not Recognize a Database User

If you are using Microsoft SQL Server™ 2000 SP3, the Database Configuration Application (DCA) and the Server Configuration Application (SCA) may not recognize a database user and its database rights. This is an issue with SQL Server. For more information, see Knowledge Base article 305711 at http://go.microsoft.com/fwlink/?LinkId=18411.

To solve this issue you must define the MCMS system account in SQL Server for the MCMS system account user, and add the database user to the MCMS system database role.

To define the MCMS system account in SQL Server

  1. Click Start, point to Programs, point to Microsoft SQL Server, and then click Enterprise Manager.
  2. In the Console Root window, expand the Microsoft SQL Servers node, and navigate to the server on which the MCMS database is located.
  3. Expand the Security node, right-click Logins, and then click New Login.
  4. On the General tab, add the MCMS system account using Windows Authentication <domain>\<username> or add a new SQL Login (username and a password).
  5. On the Database Access tab, select the MCMS database to add this user to.
  6. In the Permit in Database Role section, select the following permissions: ddladmin, db_datareader, and db_datawriter.
  7. Click OK. Proceed to the next step to add the database user to the MCMS system database role.

To add the database user to the MCMS system database role

  1. In the Enterprise Manager, navigate to the server on which the MCMS database is located, expand Databases, and then expand the MCMS database.
  2. Click the Roles icon to display the database roles.
  3. Right-click the MCMS system role to add the MCMS system account. Note that you must have already added this user to this database (as described in the previous procedure) in order to add it to a database role.

Unexpected Event Log Messages Occur

When some computers are restarted, the following message may appear in the Event Log:

Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7022
Description:
The Simple Mail Transport Protocol (SMTP) service hung on starting.
Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7022
Description:
The World Wide Web Publishing Service hung on starting.

This error is the result of a slow initialization of the tracing services that MCMS uses during IIS initialization. This slow initialization appears to the Service Control Manager as a hung service; however, later in the Event Log these services do successfully start. No workaround is required.

New Features in SP1

This section outlines new features included with SP1.

This section contains:

Changes to Allowed Characters in Placeholder Names, Query Strings, and Custom Property Names

Some characters allowed in MCMS 2002 placeholder names, query strings, and custom property names may expose your MCMS Web site to cross-scripting issues. SP1 removes this exposure by restricting the allowable characters for these properties.

If your MCMS Web site uses placeholder or custom property definitions with characters not allowed by MCMS 2002 SP1, you must change those definitions.

Note  If your MCMS Web site uses query strings with characters not allowed by MCMS 2002 SP1, you must redo the query strings or add them into the web.config file so they can be accepted my MCMS. See the section Adding Valid Characters to Query String Contents for more information.

The allowable characters are listed in the following table:

Characters Hex Code Notes
    All Unicode alphabetic letters
    All Unicode decimal digits
    All Unicode whitespace
! 0x21 Exclamation
$ 0x24 Dollar sign
( 0x28 Left parenthesis
) 0x29 Right parenthesis
* 0x2A Asterisk
, 0x2C Comma
- 0x2D Hyphen (minus)
. 0x2E Full stop
: 0x3A Colon
; 0x3B Semicolon
= 0x3D Equal sign
? 0x3F Question mark
@ 0x40 Commercial at
[ 0x5B Left square bracket
] 0x5D Right square bracket
^ 0x5E Circumflex accent
_ 0x5F Underscore
` 0x60 Grave accent
{ 0x7B Left curly bracket
} 0x7D Right curly bracket
~ 0x7E Tilde

Adding Valid Characters to Query String Contents

With SP1, query strings are now validated (see the section Changes to Allowed Characters in Placeholder Names, Query Strings, and Custom Property Names). Your MCMS Web application may use characters in the query string that are no longer allowed. However, you can add them to your application using the following procedure.

Note  Adding new characters can make your application vulnerable to cross-site scripting issues.

To add additional valid characters
  1. Click Start, click Control Panel, click Administrative Tools, and then click Internet Information Services Manager.
  2. Expand Web Sites, right-click Default Web Site (or the site where your MCMS Web application is installed).
  3. In a text editor (for example, NotePad), open your Web.config file, and add the following XML code to the <configuration> section.
    <appSettings>
       <add key="WebAuthor.CustomValidCharacters" value="/>
    </appSettings>

Configuring the Resource View in the Web Author

The Web Author can be configured during the selection of resources to display resources in tree view, list view, or both (the default). You can set which view you want the Web Author to display.

To configure the resource view

  1. Click Start, click Control Panel, click Administrative Tools, and then click Internet Information Services Manager.
  2. Expand Web Sites, right-click Default Web Site (or the site where your MCMS Web application is installed).
  3. In a text editor (for example, NotePad), open your Web.config file for your MCMS application, and add the following XML code to the <configuration> section.
    <appSettings>
          <!—Choose "TreeView" or "ListView" or "Both" for WebAuthor.ResourceGalleryView
       <add key="WebAuthor.ResourceGalleryView" value="Both" />
    </appSettings>

New APIs in SP1

SP1 adds the following new APIs to MCMS:

Resource.CanUseForAuthoring Property

Gets a value indicating whether the current user has sufficient rights to use this Resource for authoring a Posting.

[Visual Basic]
Public ReadOnly Property CanUseForAuthoring As Boolean
[C#]
public bool CanUseForAuthoring {get;}
[C++]
public: __property bool get_CanUseForAuthoring();

Property Value

Returns true if the user has sufficient rights to use this resource for authoring a Posting; false otherwise.

Remarks

This property is included primarily for providing a visual indication of which resources a user has sufficient rights to use in authoring a posting.

A user has rights to use a resource for authoring a posting if at least one of the following conditions is true:

This property indicates whether a user has sufficient rights to use this object for authoring, independently of the current mode. This means that even though an object can only be modified in the Update mode, this method will return true regardless of the Mode, as long as the User has sufficient rights to use the object in the Update mode. This behavior is useful for generating a visual indication of whether the current user could use a particular object after switching to the Update mode, regardless of the current mode.

This property indicates whether the current user has sufficient rights to use an object only at the point in time when it is called. An attempt to use an object can still fail if, for example, the rights associated with the current user are changed between the time that this property is checked and the time that the method using the object is called. Therefore, calls to the method using the object should be enclosed in appropriate try...catch blocks.

This property cannot be read for any object that has been deleted and for which the deletion has been committed by calling CommitAll.

This property is false for historical revisions of an object.

Requirements

Platforms:  Microsoft Windows 2000 Server SP2, Microsoft Windows 2000 Advanced Server SP2, Windows XP Professional SP1 (development server only)

.NET Framework Security: 

See Also

Resource Class | Resource Members | Microsoft.ContentManagement.Publishing Namespace

ResourceCollection.FilterByCanUseForAuthoring Method

Filters Resource objects out of the collection based on the CanUseForAuthoring property.

Overload List

[Visual Basic] Overloads Public Sub FilterByCanUseForAuthoring()
[C#] public void FilterByCanUseForAuthoring();
[C++] public: void FilterByCanUseForAuthoring();

[Visual Basic] Overloads Public Sub FilterByCanUseForAuthoring(System.Boolean)
[C#] public void FilterByCanUseForAuthoring(System.Boolean);
[C++] public: void FilterByCanUseForAuthoring(System.Boolean);

See Also

ResourceCollection Class | ResourceCollection Members | Microsoft.ContentManagement.Publishing Namespace

ResourceCollection.FilterByCanUseForAuthoring Method ()

Filters Resource objects out of the collection based on the CanUseForAuthoring property.

[Visual Basic]
Overloads Public Sub FilterByCanUseForAuthoring()
[C#]
public void FilterByCanUseForAuthoring();
[C++]
public: void FilterByCanUseForAuthoring();

Remarks

Resource objects with a CanUseForAuthoring property value that is equal to true are kept in the collection. All other resources are removed.

Requirements

Platforms:  Microsoft Windows 2000 Server SP2, Microsoft Windows 2000 Advanced Server SP2, Windows XP Professional SP1 (development server only)

.NET Framework Security: 

See Also

ResourceCollection Class | ResourceCollection Members | Microsoft.ContentManagement.Publishing Namespace | ResourceCollection.FilterByCanUseForAuthoring Overload List

ResourceCollection.FilterByCanUseForAuthoring Method (System.Boolean)

Filters Resource objects out of the collection based on the CanUseForAuthoring property.

[Visual Basic]
Overloads Public Sub FilterByCanUseForAuthoring( _
   ByVal isInclusive As Boolean _
)
[C#]
public void FilterByCanUseForAuthoring(
   bool isInclusive
);
[C++]
public: void FilterByCanUseForAuthoring(
   bool isInclusive
);

Parameters

isInclusive
Specify true to retain in the collection only Resource objects with a CanUseForAuthoring property value of true; specify false to remove from the collection all resources with a CanUseForAuthoring property value of true.

Remarks

If isInclusive is true, Resource objects with a CanUseForAuthoring property value that is equal to true are kept in the collection. All other resources are removed.

If isInclusive is false, Resource objects with a CanUseForAuthoring property value that is equal to false are kept in the collection. All other resources are removed.

Requirements

Platforms:  Microsoft Windows 2000 Server SP2, Microsoft Windows 2000 Advanced Server SP2, Windows XP Professional SP1 (development server only)

.NET Framework Security: 

See Also

ResourceCollection Class | ResourceCollection Members | Microsoft.ContentManagement.Publishing Namespace | ResourceCollection.FilterByCanUseForAuthoring Overload List

Template.CanUseForAuthoring Property

Gets a value indicating whether the current user has sufficient rights to use this template for authoring a posting.

[Visual Basic]
Public ReadOnly Property CanUseForAuthoring As Boolean
[C#]
public bool CanUseForAuthoring {get;}
[C++]
public: __property bool get_CanUseForAuthoring();

Property Value

Returns true if the user has sufficient rights to use this template for authoring a Posting; false otherwise.

Remarks

This property is included primarily for providing a visual indication of which resources a user has sufficient rights to use for authoring a posting.

A user has rights to use a template for authoring a posting if at least one of the following conditions is true:

This property indicates whether a user has sufficient rights to use this object for authoring, independent of the current Mode. This means that even though an object can only be modified in the Update mode, this method will return true regardless of the Mode as long as the User has sufficient rights to use the object in the Update mode. This behavior is useful for generating a visual indication of whether the current user could use a particular object after switching to the Update mode, regardless of the current mode.

This property indicates whether the current User has sufficient rights to use an object only at the point in time when it is called. An attempt to use an object can still fail if, for example, the rights associated with the current User are changed between the time that this property is checked and the time that the method using the object is called. Therefore, calls to the method using the object should be enclosed in appropriate try...catch blocks.

This property cannot be read for any object that has been deleted and for which the deletion has been committed by calling CommitAll.

This property is false for historical revisions of an object.

Requirements

Platforms:  Microsoft Windows 2000 Server SP2, Microsoft Windows 2000 Advanced Server SP2, Windows XP Professional SP1 (development server only)

.NET Framework Security: 

See Also

Template Class | Template Members | Microsoft.ContentManagement.Publishing Namespace

TemplateCollection.FilterByCanUseForAuthoring Method

Filters Template objects out of the collection based on the CanUseForAuthoring property.

Overload List

[Visual Basic] Overloads Public Sub FilterByCanUseForAuthoring()
[C#] public void FilterByCanUseForAuthoring();
[C++] public: void FilterByCanUseForAuthoring();

[Visual Basic] Overloads Public Sub FilterByCanUseForAuthoring(System.Boolean)
[C#] public void FilterByCanUseForAuthoring(System.Boolean);
[C++] public: void FilterByCanUseForAuthoring(System.Boolean);

See Also

TemplateCollection Class | TemplateCollection Members | Microsoft.ContentManagement.Publishing Namespace

TemplateCollection.FilterByCanUseForAuthoring Method ()

Filters Template objects out of the collection based on the CanUseForAuthoring property.

[Visual Basic]
Overloads Public Sub FilterByCanUseForAuthoring()
[C#]
public void FilterByCanUseForAuthoring();
[C++]
public: void FilterByCanUseForAuthoring();

Remarks

Template objects with a CanUseForAuthoring property value that is equal to true are kept in the collection. All other templates are removed.

Requirements

Platforms:  Microsoft Windows 2000 Server SP2, Microsoft Windows 2000 Advanced Server SP2, Windows XP Professional SP1 (development server only)

.NET Framework Security: 

See Also

TemplateCollection Class | TemplateCollection Members | Microsoft.ContentManagement.Publishing Namespace | TemplateCollection.FilterByCanUseForAuthoring Overload List

TemplateCollection.FilterByCanUseForAuthoring Method (System.Boolean)

Filters Template objects out of the collection based on the CanUseForAuthoring property.

[Visual Basic]
Overloads Public Sub FilterByCanUseForAuthoring( _
   ByVal isInclusive As Boolean _
)
[C#]
public void FilterByCanUseForAuthoring(
   bool isInclusive
);
[C++]
public: void FilterByCanUseForAuthoring(
   bool isInclusive
);

Parameters

isInclusive
Specify true to retain in the collection only templates with a CanUseForAuthoring property value of true; specify false to remove from the collection all resources with a CanUseForAuthoring property value of true.

Remarks

If isInclusive is true, Template objects with a CanUseForAuthoring property value that is equal to true are kept in the collection. All other templates are removed.

If isInclusive is false, Template objects with a CanUseForAuthoring property value that is equal to false are kept in the collection. All other templates are removed.

Requirements

Platforms:  Microsoft Windows 2000 Server SP2, Microsoft Windows 2000 Advanced Server SP2, Windows XP Professional SP1 (development server only)

.NET Framework Security: 

See Also

TemplateCollection Class | TemplateCollection Members | Microsoft.ContentManagement.Publishing Namespace | TemplateCollection.FilterByCanUseForAuthoring Overload List

=================================================================================

Information in this document, including URL and other Internet Web site references, is subject to change without notice.  Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or should be inferred.  Complying with all applicable copyright laws is the responsibility of the user.  Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation.

Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document.  Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property.

© 2003 Microsoft Corporation.  All rights reserved.

Microsoft, MS-DOS, Visual J#, Visual Studio, Windows, Windows NT, Windows Server, are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.

The names of actual companies and products mentioned herein may be the trademarks of their respective owners.