SharePoint debug - Unable to render the data. If the problem persists, contact your web server admin
2014-12-10 20:58
573 查看
使用SharePoint Designer创建了一个外部内容类型external content type,连接SQL Server数据库中的一个表。然后在管理中心配置了权限,再使用这个external content type创建了一个外部列表external list,打开list的时候出现如下错误:
出现这个问题一般有两个可能的原因,第一个是因为数据库表中的数据太多,超过了throttle限制,解决办法是关掉threshold的限制,可以使用如下powershell来关掉:
1. 获取BDC代理:
2. 获取Throttle配置:
3. 关闭throttle限制
第二个可能的原因是用户的权限配置不对,在使用designer创建external content type的时候,默认指定的账户是SharePoint用户的账户,这种情况下不同的登录用户,访问external content type的权限不同。也可以指定使用BDC application pool的账户,统一使用application pool账户来访问外部数据源,设置如下:
在保存的时候,会出现一个错误信息:
通过以下powershell可以解决这个问题:
这样的话就不会有权限的问题了。
出现这个问题一般有两个可能的原因,第一个是因为数据库表中的数据太多,超过了throttle限制,解决办法是关掉threshold的限制,可以使用如下powershell来关掉:
1. 获取BDC代理:
$bdcProxy = Get-SPServiceApplicationProxy | where {$_.TypeName -eq ‘Business Data Connectivity Application Service Proxy’其中“Business Data Connectivity Application Servcie Proxy”是BDC代理在管理中心中的名字。
2. 获取Throttle配置:
$dbRule = Get-SPBusinessDataCatalogThrottleConfig -Scope Database -ThrottleType Items -ServiceApplicationProxy $bdcProxy
3. 关闭throttle限制
Set-SPBusinessDataCatalogThrottleConfig -Identity $dbRule -Enforced:$false
第二个可能的原因是用户的权限配置不对,在使用designer创建external content type的时候,默认指定的账户是SharePoint用户的账户,这种情况下不同的登录用户,访问external content type的权限不同。也可以指定使用BDC application pool的账户,统一使用application pool账户来访问外部数据源,设置如下:
在保存的时候,会出现一个错误信息:
通过以下powershell可以解决这个问题:
$bcsServiceApp = Get-SPServiceApplication | where {$_ -match "Business Data Connectivity Service"} $bcsServiceApp.RevertToSelfAllowed = $true; $bcsServiceApp.Update();
这样的话就不会有权限的问题了。
相关文章推荐
- Drupal7 "Unable to send e-mail. Contact the site administrator if the problem persists."错误解决办法
- Unable to connect to data source (DSN: shangjihuiclient; Network Address: ; Port Number: 53397). Cannot connect to TimesTen Server. Verify that the TimesTen Server is running or verify that your TCP PORT is set correctly.
- To deploy the Web Part(Cab Files) to SharePoint Server 2007(Sharepoint 2007 SDK)
- Shareoint 2013 APP Store添加APP时报错“Everything is fine, but we had a small problem getting your license. Please go back to the SharePoint Store to get t”
- Unable to start debugging on the web server. You do not have permission to debug the application. The URL for this project is in
- SharePoint designer 2010编辑List的表单时出现错误:soap:Server was unable to process request. ---> Value does not fall within the expected range
- ASP.Net DebugError解决方案[转]:Unable to start debugging on the web server.Debugging failes because integrated Windows authentication is not enabled.
- SharePoint Debug - Failed to load resource: the server responded with a status of 500
- unable to start debugging on the web server iis does not list an application that matches the launched url
- Unable to start debugging on the web server. The project is not configured to be debugged.
- Microsoft Windows SharePoint Web site: Cannot connect to the configuration database
- Unable to get the project file from the Web Server(in .NET 2005 IDE)
- Server Tomcat v5.5 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing t
- Unable to start debugging on the web server. The web server is not configured correctly. See help for common configuration errors. Running the web page outside of the debugger may provide further information.
- Error: The Report Server Web Service is unable to access secure information in the report server.
- Solution to Error Message: "Unable to start debugging the webserver"
- Unable to Start Debugging on the Web Server
- Using SharePoint 2003 Web Services to Retrieve Data From A List
- Unable to Start Debugging on the Web Server 异常的处理方法
- Unable to get the project ile from the web server错误的解决方法