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

发布于 2024-11-16 12:06:17 字数 2053 浏览 3 评论 0原文

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

我缺少什么?

I'm trying to configure ESB Exception Management (ESB Toolkit 2.1) and after successfully creating the ESBExceptionDB I try to configure the Exception Web Services.

When I press Apply Configuration I get the error message "The Specified Directory Service Attribute Or Value Does Not Exist".

Error log:

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)

What am I missing?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

烦人精 2024-11-23 12:06:17

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

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

  • CoreESBAppPool 经典管道和您在配置工具中指定的用户帐户
  • CoreEsbNetworkAppPool 集成管道 NetworkService
  • CoreEsbOpsAppPool 集成管道 NetworkService
  • < strong>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 工具包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 工具包 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 工具包 2.1\Web\ESB.ItineraryServices.Response
  • ESB.ItineraryServices.Response.WCF AppPool = CoreEsbWcfAppPool 物理路径 = C:\Program Files (x86)\Microsoft BizTalk ESB 工具包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应用程序池 = 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
  • < strong>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 身份验证。

I ended up creating the applications in IIS manually and it seems to work.

I created these application pools:

  • CoreESBAppPool Classic Pipeline and the user account you would specifiy in the configuration tool
  • CoreEsbNetworkAppPool Integrated pipeline NetworkService
  • CoreEsbOpsAppPool Integrated pipeline NetworkService
  • CoreEsbWcfAppPool Integrated pipeline user account
  • ExceptionESBAppPool Classic pipeline user account
  • ExceptionEsbWcfAppPool Integrated pipeline user account

I then created the following applications

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

And then I disabled anonymous authentication for ESB.BizTalkOperationsService and enabled ASP.NET Impersonation and Windows Authentication.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文