在SPD中设置外部内容类型为Revert To Self验证模式的问题
SharePoint和SqlServer不在同一台机器上,为了能用外部内容类型连接外部数据库Sqlserver,我在SPD中外部内容类型的"连接属性"中设置身份验证模式为"BDC标识",点"确定"后弹出了一个关于"RevertToSelfAllowed"对话框.然后在SharePoint 2010 Management Shell中执行以下脚本:
$bdc = Get-SPServiceApplication | where {$_ -match "Business Data Connectivity Service"};$bdc.RevertToSelfAllowed = $true;$bdc.Update();
Exception setting "RevertToSelfAllowed": "拒绝了对对象 'proc_putObject' (数据库'SharePoint_Config_217f6929-4ac3-49a0-926e-f47d120ac4a7',架构 'dbo')的 EXECUTE 权限。拒绝了对对象 'proc_putDependency' (数据库 'SharePoint_Config_217f6929-4ac3-49a0-926e-f47d120ac4a7',架构 'dbo')的 EXECUTE 权限。拒绝了对对象 'proc_putDependency' (数据库 'SharePoint_Config_217f6929-4ac3-49a0-926e-f47d120ac4a7',架构 'dbo')的 EXECUTE 权限。"At line:1 char:6+ $bdc. <<<< RevertToSelfAllowed = $true;+ CategoryInfo : InvalidOperation: (:) [], RuntimeException+ FullyQualifiedErrorId : PropertyAssignmentException