Microsoft KB Archive/931509

= Message in the Information bar in Internet Explorer 7 when you browse to a Windows SharePoint Services 3.0 site or to a SharePoint Server 2007 site: &quot;The Web site wants to run the following add-on: 'Name ActiveX Control'&quot; =

Article ID: 931509

Article Last Modified on 7/9/2007

-

APPLIES TO


 * Microsoft Office SharePoint Server 2007
 * Microsoft Windows SharePoint Services 3.0
 * Windows Internet Explorer 7 for Windows XP
 * Windows Internet Explorer 7 for Windows Server 2003
 * Windows Internet Explorer 7 in Windows Vista

-



Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
Consider the following scenario. You use Windows Internet Explorer 7 to browse to a Microsoft Windows SharePoint Services 3.0 site or to a Microsoft Office SharePoint Server 2007 site. The SharePoint site is located in the Internet zone. Additionally, the SharePoint site has online presence enabled. When you browse to the SharePoint site, you receive the following message in the Information bar in Internet Explorer 7:

The Web site wants to run the following add-on: 'Name ActiveX Control' from 'Microsoft Corporation'. If you trust the Web site and the add-on and want to allow it to run, click here...



CAUSE
This issue occurs if the Name ActiveX control (Name.dll) is not added to the list of preapproved controls in Internet Explorer 7. The Name ActiveX control is included in the 2007 Microsoft Office system.



WORKAROUND
To work around this issue, use one of the following methods, as appropriate for your situation.

Method 1: Add the SharePoint site to the Trusted Sites list in Internet Explorer 7 on the Windows client computer
Add the SharePoint site to the Trusted Sites in Internet Explorer 7 on the Microsoft Windows client computer. To do this, follow these steps:
 * 1) Start Internet Explorer 7.
 * 2) On the Tools menu, click Internet Options, and then click the Security tab.
 * 3) Click Trusted sites, and then click Sites.
 * 4) In the Trusted sites dialog box, type the URL of the SharePoint site in the Add this website to the zone box, and then click Add.
 * 5) Click Close, and then click OK.

Method 2: Add a registry subkey to the Windows client computer
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Note Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.

Add the {E18FEC31-2EA1-49A2-A7A6-902DC0D1FF05} registry subkey to the following registry subkey on the Windows client computer:

To do this, follow these steps:  Click Start, click Run, type regedit in the Open box, and then click OK. Locate and then click the following registry subkey:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Ext\PreApproved

 On the Edit menu, point to New, and then click Key. Type {E18FEC31-2EA1-49A2-A7A6-902DC0D1FF05}, and then press ENTER. On the File menu, click Exit to exit Registry Editor.

Method 3: Configure the master page of the SharePoint site on the front-end Web server
If the SharePoint site does not require online presence, configure the master page of the SharePoint site to use the InitNoPresence.js file. To do this, follow these steps:  Create the InitNoPresence.js file. To do this, follow these steps:  Copy the contents of the Init.js file to the InitNoPresence.js file on the front-end Web server.

Note The Init.js file is located in the :\Program Files\Common Files\Microsoft Shared\Web server extensions\12\Template\Layouts\1033 folder.</li> Start Notepad, and then open the InitNoPresence.js file.</li>  In the InitNoPresence.js file, locate the following line of code. function ProcessImn {      if (EnsureIMNControl && IMNControlObj.PresenceEnabled) {             imnElems=document.getElementsByName(&quot;imnmark&quot;); imnElemsCount=imnElems.length; ProcessImnMarkers; } } function ProcessImnMarkers {      for (i=0;i<imnMarkerBatchSize;++i) {             if (imnCount==imnElemsCount) return; IMNRC(imnElems[imnCount].sip,imnElems[imnCount]); imnCount++; }      setTimeout(&quot;ProcessImnMarkers&quot;,imnMarkerBatchDelay); } </li>  In the InitNoPresence.js file, replace the code that you located in step 1c with the following line of code. //function ProcessImn {      if (EnsureIMNControl && IMNControlObj.PresenceEnabled) {             imnElems=document.getElementsByName(&quot;imnmark&quot;); imnElemsCount=imnElems.length; ProcessImnMarkers; } } //function ProcessImnMarkers {      for (i=0;i<imnMarkerBatchSize;++i) {             if (imnCount==imnElemsCount) return; IMNRC(imnElems[imnCount].sip,imnElems[imnCount]); imnCount++; }      setTimeout(&quot;ProcessImnMarkers&quot;,imnMarkerBatchDelay); } </li></ol> </li> Configure the master page of the SharePoint site to use the InitNoPresence.js file. To do this, follow these steps:  Start Microsoft Office SharePoint Designer 2007. Then, open the master page for the SharePoint site.</li>  In the master page, locate the following line of code. <SharePoint:ScriptLink language=&quot;javascript&quot; name=&quot;init.js&quot; runat=&quot;server&quot;/> </li>  Replace the line that you located in the step 2b with the following line of code. <SharePoint:ScriptLink language=&quot;javascript&quot; name=&quot;initNoPresence.js&quot; runat=&quot;server&quot;/> </li></ol>

Note In some cases, the problem is not solved when you create the custom InitNoPresence.js file. If this solution does not work, make the changes directly in the Init.js file. Before you do this, make a backup copy of Init.js in case a hotfix overrides the Init.js file.</li></ol>

Additional query words: moss wssv3 moss07

Keywords: kbtshoot kbregistry kbprb kbexpertiseinter KB931509

-

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

© Microsoft Corporation. All rights reserved.