[英]Visual Studio / IIS Crashing using axapta businessconnectornet on asp.net
I'm trying to replace an old Axapta ComConnector with something more reliable (always using Asp.Net/C#). 我试图用更可靠的东西(总是使用Asp.Net/C#)代替旧的Axapta ComConnector。
Now I'm trying to follow this tutorial that teach how to use "Microsoft.Dynamics.BusinessConnectorNet.dll" . 现在,我尝试按照本教程讲解如何使用“ Microsoft.Dynamics.BusinessConnectorNet.dll” 。
On a console application using the suggested code i can call "Logon" (to more that one server) without experience any problem. 在使用建议代码的控制台应用程序上,我可以调用“登录”(到多台服务器),而不会遇到任何问题。
I copied the same code and library to an asp.net website (doing the necessary edits) and when i try to call "Logon" the WebServer crashes (both on IIS 6 or Visual Studio 2010/2005 ). 我将相同的代码和库复制到asp.net网站(进行必要的编辑),当我尝试调用“登录”时,WebServer 崩溃 (在IIS 6或Visual Studio 2010/2005上 )。
Have someone experienced the same problem? 有人遇到过同样的问题吗? Have you managed to resolve it? 您设法解决了吗?
Thanks in advance. 提前致谢。
Update: System event log records: 更新:系统事件日志记录:
.NET Runtime version 2.0.50727.5456 - Fatal Execution Engine Error (79C9EABE) (80131506) .NET运行时版本2.0.50727.5456-致命执行引擎错误(79C9EABE)(80131506)
and 和
Nome dell'applicazione che ha generato l'errore: WebDev.WebServer20.exe, versione:10.0.40219.1, timestamp: 0x4d5f3456 错误发生的原因:WebDev.WebServer20.exe,版本:10.0.40219.1,时间戳:0x4d5f3456
Nome del modulo che ha generato l'errore: mscorwks.dll, versione: 2.0.50727.5456, timestamp:0x4ef6c72d 错误的模数发生错误:mscorwks.dll,版本:2.0.50727.5456,时间戳:0x4ef6c72d
Codice eccezione: 0xc0000005 Codice eccezione:0xc0000005
Offset errore 0x0000ee3b 偏移量错误0x0000ee3b
我设法解决了用Windows服务替换Web应用程序的问题,因为在ASP.Net环境中似乎不允许使用BusinessConnectorNet。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.