WSP部署成功,但找不到在哪里激活
-
16-10-2019 - |
题
在“中央管理 - 系统设置 - 管理农场解决方案”中,我可以看到我的解决方案已被部署, http:// sp2010/. 。但是,当我去那里时,尝试通过“站点设置 - 管理站点功能”或“站点设置 - 站点集合功能”来激活此功能时,我找不到它,它在列表中不存在!
这是功能.xml:
<?xml version="1.0" encoding="utf-8"?>
<Feature Id="118849a2-9e81-4046-9329-36ebfdff5b8b"
Title="edu.yale.som.auth.admin"
Description="Deployment for edu.yale.som.auth.admin"
Version="14.0.0.0"
Hidden="FALSE"
Scope="Web"
DefaultResourceFile="core"
ReceiverAssembly="edu.yale.som.auth.admin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3b821d30408baea0"
ReceiverClass="edu.yale.som.auth.admin.Deploy"
xmlns="http://schemas.microsoft.com/sharepoint/">
<ElementManifests>
<ElementManifest Location="elements.xml"/>
<ElementFile Location="FBAProcessSingleUser.webpart" />
<ElementFile Location="FBAProcessAllUsers.webpart" />
</ElementManifests>
</Feature>
我从中下载了这个项目 http://eduyalesomauth.codeplex.com/
有什么想法我如何激活此功能?
解决方案 2
我的wsp还不完整,当我使用winrar打开它时,我无法验证功能。xml和其他必要的文件。显然,我安装了错误的WSPBuilder。现在,该软件包出现在网站集合屏幕中。
其他提示
您可以使用stsadm.exe或powershell命令来激活该命令。
对于stsadm
stsadm -o activateFeature -Name 功能折叠名称 -url http:// yourweb
对于powerswhell启用spfeature 功能折叠名称 -url http:// yourweb