引用的dll没有执行 [英] Referenced dll not executing

查看:146
本文介绍了引用的dll没有执行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

BizTalk 2006R2是平台

我有一个小型的库DLL,内置在.NET 2.0中,我已经成功地在我的BizTalk业务流程中使用它来访问事件日志。程序集在GAC中签名等...一个变量在针对类的orch中实例化,以将调试消息写出到事件日志中。

但是我创建了一个新的BizTalk项目,创建了我的orch,引用了DLL,但是当它到达实例化行时,orch崩溃了。没有错误被抛出,没有任何东西被暂停,但处理在遇到具有赋值的表达式形状时停止:
Logger l = new MyNamespace.Logger();

我知道这是因为下一个形状将一个CSV文件输出到文件夹共享,当该循环线被注释掉时,这将起作用。

是什么原因引起的?这从未发生过,我很困惑。编译好 - 当然!

任何帮助将不胜感激。谢谢 - 对冲

更新 - 我引用的任何DLL似乎都不起作用!事情再次编译,但在运行时,当实例化类时,orch失败。

BizTalk 2006R2 is platform

I have a small class library DLL, built in .NET 2.0, that I have been using successfully in my BizTalk orchestrations to wite to the event log. The assembly is signed, in the GAC, etc... A variable is instantiated in the orch against the class, to write out debug messages to the event log.

However I created a new BizTalk project, created my orch, referenced the DLL, but the orch crashes when it hits the instantiation line. No errors get thrown, nothing is suspended, but processing stops when it hits the expression shape that has the assignment:
  Logger l = new MyNamespace.Logger();

I know this because the next shape outputs a CSV file to a folder share, and this works when that looger line is commented out.

What could be causing this? This has never happened before, I'm baffled. Compiles fine - of course!

Any help would be appreciated. Thanks - Hedge

Update - any DLL that I reference seems to be not working! Again, things compile, but on runtime when the class is instantiated the orch fails.

推荐答案

你好,

你看到什么错误?您的事件日志?

问候,

Tariq Majeed
Hi,

What error do you see in your event log?

Regards,

Tariq Majeed


这篇关于引用的dll没有执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆