简体   繁体   English

在asp.net上使用axapta businessconnectornet导致Visual Studio / IIS崩溃

[英]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 6Visual 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.

相关问题 IIS的Visual Studio Team Services asp.net核心版本 - Visual Studio Team Services asp.net core build for IIS Visual Studio / Asp.net / IIS路径帮助 - Visual Studio/ Asp.net / IIS Pathing Help 使用Visual Studio调试ASP.NET时,总是转到IIS Windows网页吗? - Always goto IIS Windows web page when debugging ASP.NET using Visual Studio? 使用本地Visual Studio负载测试在ASP.NET MVC和IIS中进行异步/等待的概念验证 - Making a proof of concept for async/await in ASP.NET MVC and IIS using local Visual Studio Load Test 无法使用Visual Studio 2015使用IIS Express调试ASP.NET 5 - Unable to debug ASP.NET 5 using IIS Express with Visual Studio 2015 使用IIS7无法对asp.net进行Visual Studio 2012调试 - visual studio 2012 debug for asp.net not working using IIS7 是否可以在Visual Studio 2015的其他端口中发布asp.net Web API? IIS不是IIS Express - Is it possible to publish asp.net web api in a different port in Visual Studio 2015 ? IIS not IIS Express 在Web应用程序和Visual Studio for ASP.NET MVC上使用图像 - Using images on Web Applications and Visual Studio for ASP.NET MVC 在Windows上使用Compass与Visual Studio C#和ASP.NET - Using Compass on Windows with Visual Studio C# and ASP.NET 使用ASP.Net Visual Studio 2010的WebApi路由依赖性 - WebApi routing dependency using ASP.Net visual studio 2010
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM