SharePoint 2003 : Cannot open the Rich Text Editor in Content Editor Web Part

Error message when you use the Rich Text Editor in a SharePoint Portal Server 2003 Service Pack 3 Content Editor Web Part on a Windows 7 based computer with IE 7: "Cannot open the Rich Text Editor"

An error has occurred in the script on this page.

Line: 3632

Char: 3

Error: Object expected

Code: 0

Url: https://site_url/_layouts/1033/htmledit.aspx

Solution:

We modified the ows.js file adding following functions

}

function RenderActiveX(str)

{

document.write(str);

}

Warning: Before modifying the ows.js file we please take a backup of the file.

As this is java script we have to perform following actions to ensure that the changes come to effect.

1. From the SharePoint server clear temporary internet files, browser history, cookies etc. from browser settings.

2. From the Windows Vista \ Windows 7 machine clear temporary internet files, browser history, cookies etc. from browser settings.

However, at times we have noticed that after making the above changes we still get the error.

We have addressed this issue in https://support.microsoft.com/kb/941204

Note: At times this hotfix would already be present on the system.

A. As there is few most post Sp3 updates were rolled out we installed them in the following sequence

1. https://support.microsoft.com/kb/941412

2. https://support.microsoft.com/kb/948919

3. https://support.microsoft.com/kb/943167

4. https://support.microsoft.com/kb/950386

5. https://support.microsoft.com/kb/952903

6. https://support.microsoft.com/kb/958706

Note: The hotfixes requires a restart

B. Open CMD and then navigate to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\Bin and then execute: stsadm –o upgrade –forceupgrade

C. Clear IE browser cache

1. From the SharePoint Server clear temporary internet files, browser history, cookies etc. from browser settings.

2. From the Windows Vista \ Windows 7 machine clear temporary internet files, browser history, cookies etc. from browser settings.

Note: If the issue still persists then you may want to Internet Options –> Advanced Tab –> Reset