BCD列表中的错误 - SharePoint 2010

时间:2011-08-08 07:04:17

标签: list sharepoint-2010 bcd

当我尝试访问SharePoint 2010中的BCD列表时出现此错误:

 Error while executing web part: Microsoft.BusinessData.Infrastructure.BdcException: The  shim execution failed unexpectedly - The type initializer for 'WK.JednostkaPolicjiService' threw an exception.. ---> System.TypeInitializationException: The type initializer for 'WK.JednostkaPolicjiService' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.    
 at WK.JednostkaPolicjiService..cctor()     -
 -- End of inner exception stack trace ---    
 at Microsoft.SharePoint.BusinessData.SystemSpecific.DotNetAssembly.DotNetAssemblyConnectionManager.GetEntityObject(IEntity entity)    
 at Microsoft.SharePoint.BusinessData.SystemSpecific.DotNetAssembly.DotNetAssemblySystemUtility.ExecuteStatic(IMethodInstance methodInstance, ILobSystemInstance lobSystemInstance, Object[] args, IExecutionContext context)    
 at Microsoft.SharePoint.BusinessData.Runtime.DataClassRuntime.ExecuteInternalWithAuthNFailureRetry(ISystemUtility systemUtility, IMethodInstance methodInstanceToExecute, IMethod methodToExecute, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IParameterCollection nonReturnParameters, Object[] overrideArgs)    
 at Microsoft.SharePoint.BusinessData.Runtime.DataClassRuntime.ExecuteInternal(IDataClass thisDataClass, ILobSystemInstance lobSystemInstance, ILobSystem lobSystem, IMethodInstance methodInstanceToExecute, IMethod methodToExecute, IParameterCollection nonReturnParameters,  Object[]& overrideArgs)     -

这里棘手的部分是我有一个带有两个区域的WebApplication:

  • 默认(Cliams - Windows身份验证)
  • 互联网(声明 - Windows和表单身份验证)

默认区域中的BCD列表工作正常,但位于Internet区域中的站点中的列表重新出现错误。 在BCD中我设置了适当的权限。我在两种情况下都使用Windows帐户。

哪里可能是问题? 提前谢谢,克里斯。

〜已解决:我在IIS中的站点中配置了MembershipProvider错误。

0 个答案:

没有答案