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: "The Web site wants to run the following add-on: 'Name ActiveX Control'"

Article translations Article translations
Article ID: 931509 - View products that this article applies to.
Expand all | Collapse all

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: Configure the master page of the SharePoint site on the front-end Web server

If the SharePoint site does not require online presence for anonymous users, configure the master page of the SharePoint site to use a new InitNoPresence.js file. Note: Disabling this control can also disable the Multiple Document Upload control for the affected audience which is why it is recommended to target the change below to anonymous users only. To do this, follow these steps:
  1. Create the InitNoPresence.js file. To do this, follow these steps:
    1. Start Notepad and create a InitNoPresence.js file on the front-end Web server in the same file folder as Init.js.

      Note The Init.js file is located in the Drive:\Program Files\Common Files\Microsoft Shared\Web server extensions\12\Template\Layouts\1033 folder.
    2. In the InitNoPresence.js file, add the following lines of code.
      function ProcessImn()
      {
             if (typeof(ctx)=="undefined") return;
             if (ctx.CurrentUserId == -1) return;
             if (EnsureIMNControl() && IMNControlObj.PresenceEnabled)
             {
                    imnElems=document.getElementsByName("imnmark");
                    imnElemsCount=imnElems.length;
                    ProcessImnMarkers();
             }
      }
      
    3. Save the InitNoPresence.js file.
  2. Configure the master page of the SharePoint site to use the InitNoPresence.js file. To do this, follow these steps:
    1. Start Microsoft Office SharePoint Designer 2007. Then, open the a copy of the master page for the SharePoint site.
    2. In the copy of the master page, locate the following line of code.
      <SharePoint:ScriptLink language="javascript" name="init.js" runat="server"/>
    3. Below the line that you located in the step 2b, add the following line of code.
      <SharePoint:ScriptLink language="javascript" name="initNoPresence.js" Defer="true" runat="server"/>
      
      
    4. Save the new copy of the master page and set it as the new default master page.
    Note Microsoft does not support making changes directly in the Init.js file. By adding a new file to override the function the customization will not be removed by an update. By using a new master page the customization can be easily removed for testing by restoring the original default.master page.

Properties

Article ID: 931509 - Last Review: September 22, 2011 - Revision: 8.0
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
Keywords: 
kbregistry kbprb kbtshoot kbexpertiseinter KB931509

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com