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



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

当我按下应用配置时,我会收到错误消息"指定的目录服务属性或值不存在"。

错误日志:

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)

我错过了什么?

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

我创建了以下应用程序池:

  • CoreESBAppPool经典管道和您将在配置工具中指定的用户帐户
  • CoreEsbNetworkAppPool集成管道网络服务
  • CoreEsbOpsAppPool集成管道网络服务
  • CoreEsbWcfAppPool集成管道用户帐户
  • 例外ESBAppPool经典管道用户帐户
  • 例外EsbWcfAppPool集成管道用户帐户

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

  • ESB.BizTalkOperationsServiceAppPool=CoreEsbOpsAppPool物理路径=C:\Program Files(x86)\Microsoft BizTalk ESB Toolkit 2.1\Web\ESB.Biz TalkOperationsServices
  • ESB.ExceptionHandlingServicesAppPool=ExceptionESBAppPool物理路径=C:\Program Files(x86)\Microsoft BizTalk ESB Toolkit 2.1\Web\ESB.ExcessionHandlingServices
  • ESB.ExceptionHandlingServices.WCFAppPool=ExceptionEsbWcfAppPool物理路径=C:\Program Files(x86)\Microsoft BizTalk ESB Toolkit 2.1\Web\ESB.ExceptionHandingServices.WCF
    • ESB.Exceptions.ServiceAppPool=ExceptionESBAppPool物理路径=C:\Projects\Microsoft.Practices.ESB\Source\Samples\Management Portal\ESB.Excessions.Service
  • ESB.ItineraryServicesAppPool=CoreESBAppPool物理路径=C:\Program Files(x86)\Microsoft BizTalk ESB Toolkit 2.1\Web\ESB.ItineraryServices
  • ESB.ItineraryServices.Generic.Response.WCFAppPool=CoreEsbWcfAppPool物理路径=C:\Program Files(x86)\Microsoft BizTalk ESB Toolkit 2.1\Web\ESB.ItinerareServices.Generic.Respons.WCF
  • ESB.ItineraryServices.Generic.WWCFAppPool=CoreEsbWcfAppPool物理路径=C:\Program Files(x86)\Microsoft BizTalk ESB Toolkit 2.1\Web\ESB.ItineraryServices-Generic.WCF
  • ESB.ItineraryServices.ResponsAppPool=CoreESBAppPool物理路径=C:\Program Files(x86)\Microsoft BizTalk ESB Toolkit 2.1\Web\ESB.ItineraryServices.Response
  • ESB.ItineraryServices.Response.WCFAppPool=CoreEsbWcfAppPool物理路径=C:\Program Files(x86)\Microsoft BizTalk ESB Toolkit 2.1\Web\ESB.ItineraryServices.Response.WCF
  • ESB.ItineraryServices.WCFAppPool=CoreEsbWcfAppPool物理路径=C:\Program Files(x86)\Microsoft BizTalk ESB Toolkit 2.1\Web\ESB.ItinerareServices.WCF
  • ESB.ResolverServicesAppPool=CoreEsbNetworkAppPool物理路径=C:\Program Files(x86)\Microsoft BizTalk ESB Toolkit 2.1\Web\ESB.Resolver Services
  • ESB.ResolverServices.WCFAppPool=CoreEsbWcfAppPool物理路径=C:\Program Files(x86)\Microsoft BizTalk ESB Toolkit 2.1\Web\ESB.Resolver Services.WCF
  • ESB.TransformServicesAppPool=CoreESBAppPool物理路径=C:\Program Files(x86)\Microsoft BizTalk ESB Toolkit 2.1\Web\ESB.TransformServices
  • ESB.TransformServices.WCFAppPool=CoreEsbWcfAppPool物理路径=C:\Program Files(x86)\Microsoft BizTalk ESB Toolkit 2.1\Web\ESB.ResolverServices.WCF

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

相关内容

  • 没有找到相关文章

最新更新