ESB配置工具:指定的目录服务属性或值不存在

时间:2011-06-20 10:45:38

标签: biztalk biztalk-2010 esb-toolkit-2.0

我正在尝试配置ESB异常管理(ESB Toolkit 2.1),在成功创建ESBExceptionDB之后,我尝试配置异常Web服务。

当我按Apply Configuration时,我收到错误消息“指定的目录服务属性或值不存在”。

错误日志:

EsbConfigurationTool.exe Error: 0 : An error has occurred: 
The specified directory service attribute or value does not exist.

Stack Trace:
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_SchemaEntry()
at System.DirectoryServices.AccountManagement.ADStoreCtx.IsContainer(DirectoryEntry de)
at System.DirectoryServices.AccountManagement.ADStoreCtx..ctor(DirectoryEntry ctxBase,        Boolean ownCtxBase, String username, String password, ContextOptions options)
at   System.DirectoryServices.AccountManagement.PrincipalContext.CreateContextFromDirectoryEntry (DirectoryEntry entry)
at  System.DirectoryServices.AccountManagement.PrincipalContext.DoLDAPDirectoryInitNoContainer( )
at System.DirectoryServices.AccountManagement.PrincipalContext.DoDomainInit()
at System.DirectoryServices.AccountManagement.PrincipalContext.Initialize()
at System.DirectoryServices.AccountManagement.PrincipalContext.get_QueryCtx()
at   System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithTypeHelper(Principal  Context context, Type principalType, Nullable`1 identityType, String identityValue,   DateTime refDate)
at  System.DirectoryServices.AccountManagement.Principal.FindByIdentityWithType(PrincipalContex t context, Type principalType, String identityValue)
at System.DirectoryServices.AccountManagement.UserPrincipal.FindByIdentity(PrincipalContext context, String identityValue)
at EsbConfigurationTool.Panels.PanelBase.IsUserMemberOf(PrincipalContext context, String username, String groupName)
at EsbConfigurationTool.Panels.PanelBase.ValidateCredential(NetworkCredential credentials, String groupName)
at EsbConfigurationTool.Panels.WebServicesException.Save()
at EsbConfigurationTool.EsbConfiguration.OnTsBtnSaveClick(Object sender, EventArgs e)

我错过了什么?

1 个答案:

答案 0 :(得分:1)

我最终手动在IIS中创建了应用程序,似乎可以正常工作。

我创建了这些应用程序池:

  • CoreESBAppPool 经典渠道和您在配置工具中指定的用户帐户
  • CoreEsbNetworkAppPool 集成管道NetworkService
  • CoreEsbOpsAppPool 集成管道NetworkService
  • CoreEsbWcfAppPool 集成管道用户帐户
  • ExceptionESBAppPool 经典渠道用户帐户
  • ExceptionEsbWcfAppPool 集成管道用户帐户

然后我创建了以下应用程序

  • ESB.BizTalkOperationsService AppPool = CoreEsbOpsAppPool物理路径= C:\ Program Files(x86)\ Microsoft BizTalk ESB Toolkit 2.1 \ Web \ ESB.BizTalkOperationsService
  • ESB.ExceptionHandlingServices AppPool = ExceptionESBAppPool物理路径= C:\ Program Files(x86)\ Microsoft BizTalk ESB Toolkit 2.1 \ Web \ ESB.ExceptionHandlingServices
  • ESB.ExceptionHandlingServices.WCF AppPool = ExceptionEsbWcfAppPool物理路径= C:\ Program Files(x86)\ Microsoft BizTalk ESB Toolkit 2.1 \ Web \ ESB.ExceptionHandlingServices.WCF
    • ESB.Exceptions.Service AppPool = ExceptionESBAppPool物理路径= C:\ Projects \ Microsoft.Practices.ESB \ Source \ Samples \ Management Portal \ ESB.Exceptions.Service \ ESB.Exceptions.Service
  • ESB.ItineraryServices AppPool = CoreESBAppPool物理路径= C:\ Program Files(x86)\ Microsoft BizTalk ESB Toolkit 2.1 \ Web \ ESB.ItineraryServices
  • ESB.ItineraryServices.Generic.Response.WCF AppPool = CoreEsbWcfAppPool物理路径= C:\ Program Files(x86)\ Microsoft BizTalk ESB Toolkit 2.1 \ Web \ ESB.ItineraryServices.Generic.Response。 WCF
  • ESB.ItineraryServices.Generic.WCF AppPool = CoreEsbWcfAppPool物理路径= C:\ Program Files(x86)\ Microsoft BizTalk ESB Toolkit 2.1 \ Web \ ESB.ItineraryServices.Generic.WCF
  • ESB.ItineraryServices.Response AppPool = CoreESBAppPool物理路径= C:\ Program Files(x86)\ Microsoft BizTalk ESB Toolkit 2.1 \ Web \ ESB.ItineraryServices.Response
  • ESB.ItineraryServices.Response.WCF AppPool = CoreEsbWcfAppPool物理路径= C:\ Program Files(x86)\ Microsoft BizTalk ESB Toolkit 2.1 \ Web \ ESB.ItineraryServices.Response.WCF
  • ESB.ItineraryServices.WCF AppPool = CoreEsbWcfAppPool物理路径= C:\ Program Files(x86)\ Microsoft BizTalk ESB Toolkit 2.1 \ Web \ ESB.ItineraryServices.WCF
  • ESB.ResolverServices AppPool = CoreEsbNetworkAppPool物理路径= C:\ Program Files(x86)\ Microsoft BizTalk ESB Toolkit 2.1 \ Web \ ESB.ResolverServices
  • ESB.ResolverServices.WCF AppPool = CoreEsbWcfAppPool物理路径= C:\ Program Files(x86)\ Microsoft BizTalk ESB Toolkit 2.1 \ Web \ ESB.ResolverServices.WCF
  • ESB.TransformServices AppPool = CoreESBAppPool物理路径= C:\ Program Files(x86)\ Microsoft BizTalk ESB Toolkit 2.1 \ Web \ ESB.TransformServices
  • ESB.TransformServices.WCF AppPool = CoreEsbWcfAppPool物理路径= C:\ Program Files(x86)\ Microsoft BizTalk ESB Toolkit 2.1 \ Web \ ESB.ResolverServices.WCF

然后我禁用了ESB.BizTalkOperationsService的匿名身份验证并启用了ASP.NET模拟和Windows身份验证。