简体   繁体   中英

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#).

Now I'm trying to follow this tutorial that teach how to use "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 ).

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)

and

Nome dell'applicazione che ha generato l'errore: WebDev.WebServer20.exe, versione:10.0.40219.1, timestamp: 0x4d5f3456
Nome del modulo che ha generato l'errore: mscorwks.dll, versione: 2.0.50727.5456, timestamp:0x4ef6c72d
Codice eccezione: 0xc0000005
Offset errore 0x0000ee3b

我设法解决了用Windows服务替换Web应用程序的问题,因为在ASP.Net环境中似乎不允许使用BusinessConnectorNet。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM