IIS8.5 ISAPI 配置问题

别叫我kevin 2017-05-26 09:54:26
如下配置在window server 2008r2 + iis7.5 是正常的,但在window server 2012r2 + iis8.5 会导致IIS 应用程序池挂掉,浏览器显示 “This page can’t be displayed ”

google 各种资料均显示是一个非授权的内存地址访问,尝试给JOSSOIsapiAgent64.dll 所在的目录增加某些账号(NETWORK SERVICE & IIS_IUSRS)的权限,仍不能解决,拜求各路大神帮忙,万分感谢!


IIS 配置:
1.ISAPI and CGI Restrictions 配置了一个 JOSSOIsapiExtension 指向 D:\josso\isapi\dll\JOSSOIsapiAgent64.dll
2.ISAPI Filters 配置了JOSSOIsapiAgent 指向D:\josso\isapi\dll\JOSSOIsapiAgent64.dll
3.Handler Mappings 启用了CGI-exe & ISAPI-dll 的Exectue 权限

系统日志:
Faulting application name: w3wp.exe, version: 8.5.9600.16384, time stamp: 0x5215df96
Faulting module name: filter.dll, version: 8.5.9600.16384, time stamp: 0x5215e17d
Exception code: 0xc0000005
Fault offset: 0x000000000000c579
Faulting process id: 0x1600
Faulting application start time: 0x01d2d53370883337
Faulting application path: c:\windows\system32\inetsrv\w3wp.exe
Faulting module path: C:\Windows\System32\inetsrv\filter.dll
Report Id: ae5db4e1-4126-11e7-80c2-005056a8109c
Faulting package full name:
Faulting package-relative application ID:

使用DebugDiag 工具抓取的dump 文件,分析结果如下:
In w3wp__DefaultAppPool__PID__4476__Date__05_25_2017__Time_04_31_35PM__229__Second_Chance_Exception_C0000005.dmp the assembly instruction at filter!W3_FILTER_CONTEXT::ServerSupportFunction+165 in C:\Windows\System32\inetsrv\filter.dll from Microsoft Corporation has caused an access violation exception (0xC0000005) when trying to read from memory location 0xa1098bb0 on thread 5


Thread 5 - System ID 2276

Entry point w3tp!THREAD_MANAGER::ThreadManagerThread
Create time 5/25/2017 4:30:18 PM
Time spent in user mode 0 Days 00:00:00.000
Time spent in kernel mode 0 Days 00:00:00.000

This thread is not fully resolved and may or may not be a problem. Further analysis of these threads may be required.

Call Stack

filter!W3_FILTER_CONTEXT::ServerSupportFunction+165
JOSSOIsapiAgent64!HttpFilterProc+ad453
JOSSOIsapiAgent64!HttpFilterProc+4bd4f
JOSSOIsapiAgent64!HttpFilterProc+af4d7
JOSSOIsapiAgent64!HttpFilterProc+b548a
filter!W3_FILTER_CONTEXT::NotifyFilters+167
filter!GlobalDoWork+364
iiscore!W3_CONTEXT::SetupStateMachine+385
iiscore!W3_MAIN_CONTEXT::OnNewRequest+22e
w3dt!WP_CONTEXT::OnCompletion+c3
w3tp!THREAD_POOL_DATA::ThreadPoolThread+cd
w3tp!THREAD_POOL_DATA::ThreadPoolThread+33
w3tp!THREAD_MANAGER::ThreadManagerThread+4a
kernel32!BaseThreadInitThunk+22
ntdll!RtlUserThreadStart+34

系统日志截图:


DebugDiag 分析结果截图一


DebugDiag 分析结果截图二


...全文
751 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

8,327

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 IIS
社区管理员
  • IIS
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧