1

我正在尝试配置 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)

我错过了什么?

4

1 回答 1

1

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

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

  • CoreESBAppPool Classic Pipeline 和您将在配置工具中指定的用户帐户
  • CoreEsbNetworkAppPool集成管道 NetworkService
  • CoreEsbOpsAppPool集成管道 NetworkService
  • CoreEsbWcfAppPool集成管道用户帐户
  • ExceptionESBAppPool Classic 管道用户帐户
  • 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 身份验证。

于 2011-06-21T11:17:23.690 回答