ESB 2.2警报服务无法启动 [英] ESB 2.2 Alert Service will not start
问题描述
嗨Vlad,
感谢您对ESB 2.2的更新我确实设法让ESB.Portal正确安装,我可以成功浏览到它,但我只是无法启动ESB.AlertService我花了好几个小时。
Thanks for the update on ESB 2.2 I did manage to get the ESB.Portal to install correctly and I can successfully browse to it, but I just cannot get the ESB.AlertService to start I have spent hours on this.
我得到以下异常任何帮助welecome
I get the following exception any help welecome
干杯
Jim Mclay
Jim Mclay
服务无法启动。 Microsoft.Practices.ServiceLocation.ActivationException:尝试获取Database类型的实例时出现激活错误,键""" ---> Microsoft.Practices.Unity.ResolutionFailedException:
依赖项的解析失败,type =" Microsoft.Practices.EnterpriseLibrary.Data.Database",name ="(none)"。
在解析时发生异常。
异常是:InvalidOperationException - 无法构造数据库类型。您必须配置容器以提供此值。
Exception is: InvalidOperationException - The type Database cannot be constructed. You must configure the container to supply this value.
----------------------------- ------------------
-----------------------------------------------
在例外情况下,容器是:
At the time of the exception, the container was:
 解析Microsoft.Practices.EnterpriseLibrary.Data.Database,(无)
Resolving Microsoft.Practices.EnterpriseLibrary.Data.Database,(none)
---> System.InvalidOperationException:无法构造数据库类型。您必须配置容器以提供此值。
---> System.InvalidOperationException: The type Database cannot be constructed. You must configure the container to supply this value.
在Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.GuardTypeIsNonPrimitive(IBuilderContext context,SelectedConstructor selectedConstructor)
at Microsoft.Practices.ObjectBuilder2.DynamicMethodConstructorStrategy.GuardTypeIsNonPrimitive(IBuilderContext context, SelectedConstructor selectedConstructor)
在Microsoft.Practices.ObjectBuilder2.DynamicMeth ...
at Microsoft.Practices.ObjectBuilder2.DynamicMeth...
推荐答案
Jim,
您是否已经设置了如此处所述的连接字符串:
http://msdn.microsoft.com /en-us/library/ff647933.aspx ?对不起,这是一个旧的BizTalk版本,我想知道这是否有所改变。我找不到本文档的ESB 2.2版本。您已经通过了ESB配置向导吗?
Did you already setup the connection string like mentioned here: http://msdn.microsoft.com/en-us/library/ff647933.aspx? Sorry this is an old BizTalk version, I wonder if this changed or not. I could not find an ESB 2.2 version of this documentation. You went through the ESB configuration wizard already right?
你可以粘贴完整的堆栈跟踪吗?
Could you paste in the full stack trace?
我将提到Microsoft支持的文档差距,并且还提到这可能是您正面临的错误。
I will mention the documentation gap to Microsoft Support and also mention this may be a bug you are facing too.
为了更好的跟踪目的,我将此线程拆分。
I split this thread off for better tracking purposes.
谢谢,
Ben Cline
Ben Cline
这篇关于ESB 2.2警报服务无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!