我的团队的Asp.net 5 Web应用程序(1.0.0-rc1-update1)在重新启动IIS时以及在两个负载平衡实例的正常运行期间间歇性地导致IIS 7.5(Windows Server 2008 R2)上的w3wp.exe崩溃。

它似乎与以下github问题中的错误相同。错误和故障信息几乎相同:
https://github.com/aspnet/IISIntegration/issues/35

'w3wp.exe' (Win32): Loaded 'C:\Windows\System32\apphelp.dll'. Symbols loaded.
The thread 0x6f54 has exited with code 0 (0x0).
Unhandled exception at 0x000000007717298A (ntdll.dll) in w3wp.exe: 0xC000070A: Status 0x (parameters: 0xFFFFFFFFC0000008, 0x00000000000002F8, 0x00000000003E59F0, 0x000000000038A280, 0x000007FEF4CF88F4).

Exception thrown at 0x000007FEF4CF88F4 in w3wp.exe: 0xC0000005: Access violation executing location 0x000007FEF4CF88F4.

Unhandled exception at 0x000007FEF4CF88F4 in w3wp.exe: 0xC0000005: Access violation executing location 0x000007FEF4CF88F4.

The program '[4540] w3wp.exe' has exited with code 0 (0x0).


对于具有Windows 2012 R2的IIS 8,此问题对我们而言没有出现。 IIS 7.5 vs 8似乎是一个潜在的HttpPlatformHandler或DNX稳定性问题。

其他人看到这个问题了吗?有没有人比升级Windows / iis版本更容易解决此问题?它似乎不是确定性地由我们的应用程序代码触发的。 github问题已经有一段时间没有更新了,很遗憾,我们可能没有配备进行崩溃转储分析或过程调试的能力。



回复:HttpPlatform日志

我使用webconfig设置打开了HttpPlatform日志:

<httpPlatform processPath="..\approot\web.cmd" arguments="" stdoutLogEnabled="true" stdoutLogFile="..\logs\stdout.log" startupTimeLimit="3600"></httpPlatform>


初始化时照常记录启动情况,但是在重现崩溃时不会记录错误:

Hosting environment: XXXXXX
Now listening on: http://localhost:XXXX
Application started. Press Ctrl+C to shut down.

最佳答案

我遇到了同样的问题,它来自aspnetcore.dll(https://github.com/aspnet/AspNetCoreModule)中的一个错误,该错误发生在一些给定的Windows(例如7)和IIS(例如7.5)组合上。您可以在c:\ windows \ systemXXX中的某个位置找到此模块。

当我从GitHub dev分支获得最新消息时,它已为我修复。
我认为解决办法在于更改列表:https://github.com/aspnet/AspNetCoreModule/pull/59

此版本尚未正式发布,并且未打包在7.1.1971版本的DLL中,该版本是目前的最新版本。

09-10 03:48
查看更多