BizTalk 编排日志事件 10034
在此 BizTalk 编排中,我的 .net 类将访问 ADO .Net 并从数据库获取数据。但是,当我向业务流程发送消息时,发生了以下错误。我想知道编排是否无法访问数据库?请指教,谢谢。
xlang/s 引擎事件日志条目: 未捕获的异常(参见“内部 例外'下面)已暂停 服务“BizTalk_Server_test.BizTalk_Orchestration_1(13b5f384-5a0b-0ad8-3ef9-489d80200b58)”的实例。
服务实例将保留 暂停直至行政处罚 恢复或终止。如果恢复 实例将从最后一个实例继续 持续状态并可能重新抛出 同样的意外异常。
实例ID: 5299e71a-0092-4bef-a770-8153181b2b8a 形状名称:Expression_1 ShapeId: bc04ec19-bc1e-40a7-aaed-75a9b0628891 异常抛出自:段 1, 进度6 内部异常: 指定的命名连接是 配置中没有找到,没有 旨在与 EntityClient 提供程序,或无效。 异常类型:ArgumentException 来源:System.Data.Entity 目标 地点:无效 ChangeConnectionString(System.String)
以下是堆栈跟踪 标识位置 异常发生于 System.Data.EntityClient.EntityConnection.ChangeConnectionString(字符串 新连接字符串)在 System.Data.EntityClient.EntityConnection..ctor(字符串 连接字符串)位于 System.Data.Objects.ObjectContext.CreateEntityConnection(字符串 连接字符串)位于 g2.interop.Abbyy.Reader.XmlReader.CaseNumReader() 在 BizTalk_Server_test.BizTalk_Orchestration_1.segment1(StopConditions 停止)在 Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(段 s、StopConditions stopCond、Exception& 经验)
in this BizTalk orchestration, my .net class will access ADO .Net and get data from database. However, when I sent a message to the orchestration, the following error occurred. I am wondering if the orchestration cannot access the database? Please advise, thanks.
xlang/s engine event log entry:
Uncaught exception (see the 'inner
exception' below) has suspended an
instance of service 'BizTalk_Server_test.BizTalk_Orchestration_1(13b5f384-5a0b-0ad8-3ef9-489d80200b58)'.The service instance will remain
suspended until administratively
resumed or terminated. If resumed the
instance will continue from its last
persisted state and may re-throw the
same unexpected exception.InstanceId:
5299e71a-0092-4bef-a770-8153181b2b8a
Shape name: Expression_1 ShapeId:
bc04ec19-bc1e-40a7-aaed-75a9b0628891
Exception thrown from: segment 1,
progress 6 Inner exception: The
specified named connection is either
not found in the configuration, not
intended to be used with the
EntityClient provider, or not valid.
Exception type: ArgumentException
Source: System.Data.Entity Target
Site: Void
ChangeConnectionString(System.String)The following is a stack trace that
identifies the location where the
exception occured at
System.Data.EntityClient.EntityConnection.ChangeConnectionString(String
newConnectionString) at
System.Data.EntityClient.EntityConnection..ctor(String
connectionString) at
System.Data.Objects.ObjectContext.CreateEntityConnection(String
connectionString) at
g2.interop.Abbyy.Reader.XmlReader.CaseNumReader()
at
BizTalk_Server_test.BizTalk_Orchestration_1.segment1(StopConditions
stopOn) at
Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment
s, StopConditions stopCond, Exception&
exp)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您在创建连接字符串时未在上下文中传递连接字符串,并且在配置文件中查找连接字符串,则需要将连接字符串放入 btsntsvc.exe.config 文件中。
If you're not passing the connection string in the context when it's being created and it's looking for it in a config file, you will need to put the connection string in the btsntsvc.exe.config file.