You Receive Script Errors When You Enter Edit Mode (811932)



The information in this article applies to:

  • Microsoft Content Management Server 2002

SYMPTOMS

When you enter Edit mode, you may receive the following error message:
Line : 447
Char :4
Error : Type mismatch: "Initialize Toolbar"
Code:0
URL: http://localhost/NR/exeres/[Guid],frameless.htm?NRMODE=Unpublished&NRTEMPLATEVERSION=CheckedOut&WBCMODE=AuthoringReedit .
This error message may be followed by similar messages about AddShiftContentReference.

CAUSE

This problem occurs because the Visible property of the placeholder control in Page_Load in the template source file's code has been programmatically modified. The value of the first placeholder control is set to false when you enter Unpublished mode.

RESOLUTION

To resolve this error, do not modify the Visible property of the placeholder control. If you modified the Visible property of the placeholder control, return the value to the default setting (Visible).

Service pack information

To resolve this problem, obtain the latest service pack for Microsoft Content Management Server 2002. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

906142 How to obtain the latest Content Management Server 2002 service pack

STATUS

Microsoft has confirmed that this Is a problem In the Microsoft products that are listed In the "Applies To" section. This problem was corrected in Content Management Server 2002 Service Pack 1.

MORE INFORMATION

This problem does not occur in Content Management Server 2001.

Modification Type:MajorLast Reviewed:12/7/2005
Keywords:kbQFE kbContentMgtServ2002sp1fix kbprb KB811932 kbAudDeveloper