Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/sharepoint/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
SharePoint 2010-在ApplyWebConfigModifications()期间拒绝访问_Sharepoint_Sharepoint 2010 - Fatal编程技术网

SharePoint 2010-在ApplyWebConfigModifications()期间拒绝访问

SharePoint 2010-在ApplyWebConfigModifications()期间拒绝访问,sharepoint,sharepoint-2010,Sharepoint,Sharepoint 2010,我已将SharePoint 2010安装在Windows Server 2008 R2计算机上,该计算机也承载SQL Server 2008 R2。我正在尝试部署一个解决方案,其中包括2010年环境中的web部件,该解决方案在MOSS 2007中运行良好 Web部件功能具有更新Web.config的功能接收器。当我试图通过网站集功能GUI激活该功能时,我收到一条拒绝访问的消息。我使用应用程序池帐户登录到服务器和SharePoint,该帐户也是域管理员组、本地管理员组和SharePoint场管理员

我已将SharePoint 2010安装在Windows Server 2008 R2计算机上,该计算机也承载SQL Server 2008 R2。我正在尝试部署一个解决方案,其中包括2010年环境中的web部件,该解决方案在MOSS 2007中运行良好

Web部件功能具有更新Web.config的功能接收器。当我试图通过网站集功能GUI激活该功能时,我收到一条拒绝访问的消息。我使用应用程序池帐户登录到服务器和SharePoint,该帐户也是域管理员组、本地管理员组和SharePoint场管理员组的成员。此帐户也是SQL Server上的dbo

使用stsadm命令可以很好地激活该功能

我已经深入研究了这个问题,以下是我的发现:

查看reflector中的Microsoft程序集,我的错误来自SPWebApplication.ApplyWebConfigModifications()方法。我可以看到SPWebConfigFileChanges.RemoveModificationsWebConfigXMLDocument和SPWebConfigFileChanges.ApplyModificationsWebConfigXMLDocument中的跟踪语句。下一行是Save(str)

以下是与此错误相关的SharePoint日志的输出:

对web应用web配置修改 应用程序
5a817a37-7bf6-4d26-be51-207369e38f5b

2010年2月24日16:05:41.09 w3wp.exe (0x0F64)
0x1034 SharePoint基金会
通用8grn 中等网络配置修改: 将web配置修改应用于 服务器tw-s1-m4400-007中的web应用程序
5a817a37-7bf6-4d26-be51-207369e38f5b

2010年2月24日16:05:41.09 w3wp.exe (0x0F64)
0x1034 SharePoint基金会
拓扑88gw 中等网络配置修改: 将web配置修改应用于 文件 C:\inetpub\wwwroot\wss\VirtualDirectories\2008\web.config 5a817a37-7bf6-4d26-be51-207369e38f5b

2010年2月24日16:05:41.09 w3wp.exe (0x0F64)
0x1034 SharePoint基金会
拓扑887b 中删除web配置节点- 路径 配置/system.web/httpModules 节点名 添加[@name='JivePageController']
5a817a37-7bf6-4d26-be51-207369e38f5b

2010年2月24日16:05:41.09 w3wp.exe (0x0F64)
0x1034 SharePoint基金会
拓扑887b 中删除web配置节点- 路径 配置/system.web/httpHandlers 节点名 添加[@path='ScriptResource.axd']
5a817a37-7bf6-4d26-be51-207369e38f5b

2010年2月24日16:05:41.09 w3wp.exe (0x0F64)
0x1034 SharePoint基金会
拓扑887b 中删除web配置节点- 路径 配置/runtime/*[local-name()=“assemblyBinding” 和 namespace-uri()=“urn:schemas microsoft com:asm.v1”] 节点名 [local-name()=“dependentAssembly”][/@name=“System.Web.Extensions.Design”] 5a817a37-7bf6-4d26-be51-207369e38f5b

2010年2月24日16:05:41.09 w3wp.exe (0x0F64)
0x1034 SharePoint基金会
拓扑887b 中删除web配置节点- 路径 配置/runtime/*[local-name()=“assemblyBinding” 和 namespace-uri()=“urn:schemas microsoft com:asm.v1”] 节点名 [local-name()=“dependentAssembly”][/@name=“System.Web.Extensions”] 5a817a37-7bf6-4d26-be51-207369e38f5b

2010年2月24日16:05:41.09 w3wp.exe (0x0F64)
0x1034 SharePoint基金会
拓扑结构8gp8 中等网络配置修改: 添加web配置节点-路径- 配置/runtime/*[local-name()=“assemblyBinding” 和 namespace-uri()=“urn:schemas microsoft com:asm.v1”] 节点名- [local-name()=“dependentAssembly”][/@name=“System.Web.Extensions”] 节点值- 在web.config文件中 C:\inetpub\wwwroot\wss\VirtualDirectories\2008\web.config 5a817a37-7bf6-4d26-be51-207369e38f5b

2010年2月24日16:05:41.09 w3wp.exe (0x0F64)
0x1034 SharePoint基金会
拓扑结构8gp8 中等网络配置修改: 添加web配置节点-路径- 配置/runtime/*[local-name()=“assemblyBinding” 和 namespace-uri()=“urn:schemas microsoft com:asm.v1”] 节点名- [local-name()=“dependentAssembly”][/@name=“System.Web.Extensions.Design”] 节点值- 在web.config中 文件 C:\inetpub\wwwroot\wss\VirtualDirectories\2008\web.config 5a817a37-7bf6-4d26-be51-207369e38f5b

2010年2月24日16:05:41.09 w3wp.exe (0x0F64)
0x1034 SharePoint基金会
拓扑结构8gp8 中等网络配置修改: 添加web配置节点-路径- 配置/system.web/httpHandlers 节点名- 添加[@path='ScriptResource.axd']节点 值-在web.config文件中 C:\inetpub\wwwroot\wss\VirtualDirectories\2008\web.config 5a817a37-7bf6-4d26-be51-207369e38f5b

2010年2月24日16:05:41.09 w3wp.exe (0x0F64)
0x1034 SharePoint基金会
拓扑结构8gp8 中等网络配置修改: 添加web配置节点-路径- 配置/system.web/httpModules 节点名- 添加[@name='JivePageController']节点 值-在web.config文件中 C:\inetpub\wwwroot\wss\VirtualDirectories\2008\web.config 5a817a37-7bf6-4d26-be51-207369e38f5b

2010年2月24日16:05:41.09 w3wp.exe (0x15C4)
0x1444 SharePoint基金会
拓扑结构e5mb 中等频率要求: 本地地址: '' 频道: 'System.ServiceModel.Channel.ServiceChannel' 操作:xxx消息ID: 'urn:uuid:4e859532-ed7f-4937-8b88-68d3af43d589' 9f403ede-2c94-490b-a05c-e169cc5fe58d

2010年2月24日16:05:41.10 w3wp.exe (0x0F64)
0x1034 SharePoint基金会
拓扑f6kh 高