设为首页 收藏本站
查看: 814|回复: 0

[经验分享] 关于SharePoint V3网站老弹出“此网站需要运行以下载项:'Microsoft Corporation'中的'name.dll'......”的3种解决

[复制链接]

尚未签到

发表于 2015-9-30 07:46:15 | 显示全部楼层 |阅读模式
  有位朋友提出:SharePoint V3网站老弹出"此网站需要运行以下载项:'Microsoft Corporation'中的'name.dll'......"的骚扰信息。
  我找了一下办法,我采用网上的第三种,因为这种不需要浏览者参与,
  步骤是先备份原来的Init.js文件,然后直接修改了Init.js文件。
  同时,注意Drive:\Program Files\Common Files\Microsoft Shared\Web server extensions\12\Template\Layouts\1033
  这个地址,最后面的1033是语言英文的代码,简体中文是2052。
  
  以下是转贴原文:http://www.kbalertz.com/kb_931509.aspx

  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'"
  View products that this article applies to.

  Article ID
  :
  931509
  Last Review
  :
  January 26, 2007
  Revision
  :
  1.0
  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 (http://www.kbAlertz.com/Feedback.aspx?kbNumber=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:
  HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Ext\PreApproved
  To do this, follow these steps:

  1.
  Click Start, click Run, type regedit in the Open box, and then click OK.
  2.
  Locate and then click the following registry subkey:
  HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Ext\PreApproved
  3.
  On the Edit menu, point to New, and then click Key.
  4.
  Type {E18FEC31-2EA1-49A2-A7A6-902DC0D1FF05}, and then press ENTER.
  5.
  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:

  1.
  Create the InitNoPresence.js file. To do this, follow these steps:

  a.
  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 Drive:\Program Files\Common Files\Microsoft Shared\Web server extensions\12\Template\Layouts\1033 folder.
  b.
  Start Notepad, and then open the InitNoPresence.js file.
  c.
  In the section of the InitNoPresence.js file that contains the ProcessDefaultOnLoad function, locate the following line of code.
  ProcessImn();
  d.
  Replace the line that you located in step 1c with the following line of code.
  // ProcessImn();
  2.
  Configure the master page of the SharePoint site to use the InitNoPresence.js file. To do this, follow these steps:

  a.
  Start Microsoft Office SharePoint Designer 2007. Then, open the master page for the SharePoint site.
  b.
  In the master page, locate the following line of code.
  <SharePoint:ScriptLink language="javascript" name="init.js" runat="server"/>
  c.
  Replace the line that you located in the step 2b with the following line of code.
  <SharePoint:ScriptLink language="javascript" name="initNoPresence.js" runat="server"/>

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-120616-1-1.html 上篇帖子: SharePoint 2007教程 下篇帖子: SharePoint网站配置技巧--在添加Web部件时不让联机Web部件库显示
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表