用Feature部署EventHandler的时候,因为Scope只能等于Web,所以,这里大家要注意,激活的时候,必须针对使用的单个网站激活,而不能在网站集上激活,有几个网站要使用必须分别激活。如下,有localhost网站以及子网站solutions要使用这个EventHandler的话,必须激活两次!

stsadm -o activatefeature -filename EventHandler\Feature.xml -url http://localhost/

stsadm -o activatefeature -filename EventHandler\Feature.xml -url http://localhost/Solutions

还有,用Feature安装EventHandler之后,在页面上的网站集功能里面是看不到的,通过SharePoint Manager 2007这个工具是能够看到EventHandler是否安装成功,所以,不要界面看不到就以为没有安装成功。

相关文章:

  • 2022-01-23
  • 2022-12-23
  • 2021-05-18
  • 2021-04-16
  • 2022-12-23
  • 2022-02-19
  • 2021-05-13
猜你喜欢
  • 2021-06-18
  • 2021-07-28
  • 2021-10-04
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
  • 2022-12-23
相关资源
相似解决方案