Microsoft KB Archive/901271

= You receive a script error message when you click &quot;Switch to Edit Site&quot; after you restore a Content Management Server 2002 Web application template =

Article ID: 901271

Article Last Modified on 1/15/2007

-

APPLIES TO


 * Microsoft Content Management Server 2002 Enterprise Edition
 * Microsoft Content Management Server 2002
 * Microsoft Content Management Server 2002
 * Microsoft Content Management Server 2002

-





SYMPTOMS
Consider the following scenario. In Microsoft Content Management Server (MCMS) 2002, you restore an MCMS Web application template. When the Web site is running, you receive a script error message that is similar to the following when you click Switch to Edit Site:

Line 88:

Char: 1

Error: Object expected

Code: 0

URL: ?

Note  is the name of the server, and   is the name of the MCMS Web application template.



CAUSE
This problem occurs because the MCMS Web application template does not have the CMS virtual directory mapped to the physical IIS_CMS folder. By default, the physical folder is located in the following folder:

C:\Program Files\Microsoft Content Management Server\Server\IIS_CMS

The CMS virtual directory is required for the Web Author console.



RESOLUTION
To resolve this problem, add the CMS virtual directory to the MCMS Web application template. To do this, follow these steps:  Click Start, click Programs, click Administrative Tools, and then click Internet Information Services (IIS) Manager. Right-click your MCMS Web application template, click New, and then click Virtual Directory. In the Virtual Directory Creation Wizard, click Next. In the Alias box, type CMS, and then click Next. In the Path box, click Browse, and then select the following folder:

C:\Program Files\Microsoft Content Management Server\Server\IIS_CMS

Note The IIS_CMS folder may be different if you originally installed MCMS in a different folder. Click Next, click to select the Execute check box, click Next, and then click Finish.

Note The CMS Web application is created in the Web application template. However, the CMS Web application is not a virtual directory.</li> To change the CMS Web application to a virtual directory, right-click the CMS virtual directory that you created in step 6, and then click Properties.</li> Under Application Settings, click Remove, and then click OK.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
For more information about how to build and how to deploy MCMS, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn2.microsoft.com/en-us/library/aa218426(office.11).aspx

Keywords: kbinfo kbtshoot kbprb KB901271

-

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

© Microsoft Corporation. All rights reserved.