I have a website that has been working and working absolutely normal for about 8 months. It works with integrated .net 4 mode.
I recently started getting some “random” w3wp.exe crashes, and after 5 of them IIS protection starts up quickly, and I have to manually log in to the server and start the application pool again.
Here's what the event viewer says for Error:
Faulting application name: w3wp.exe, version: 7.5.7601.17514, time stamp: 0x4ce7afa2 Faulting module name: nlssorting.dll, version: 4.0.30319.296, time stamp: 0x504835c7 Exception code: 0xc00000fd Fault offset: 0x000000000000191f Faulting process id: 0x1998 Faulting application start time: 0x01ce6e6b9b80c949 Faulting application path: c:\windows\system32\inetsrv\w3wp.exe Faulting module path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\nlssorting.dll Report Id: d9cf3164-da5e-11e2-8cc5-f46d0440f6d5
Immediately after the crashes, I get the Information log in the event viewer, which at the bottom gives me the location of the .wer file.
This is what the .wer files contain:
Version=1 EventType=APPCRASH EventTime=130162847687759734 ReportType=2 Consent=1 ReportIdentifier=d7c5e520-da5e-11e2-8cc5-f46d0440f6d5 IntegratorReportIdentifier=d7c5e51f-da5e-11e2-8cc5-f46d0440f6d5 Response.type=4 Sig[0].Name=Application Name Sig[0].Value=w3wp.exe Sig[1].Name=Application Version Sig[1].Value=7.5.7601.17514 Sig[2].Name=Application Timestamp Sig[2].Value=4ce7afa2 Sig[3].Name=Fault Module Name Sig[3].Value=nlssorting.dll Sig[4].Name=Fault Module Version Sig[4].Value=4.0.30319.296 Sig[5].Name=Fault Module Timestamp Sig[5].Value=504835c7 Sig[6].Name=Exception Code Sig[6].Value=c00000fd Sig[7].Name=Exception Offset Sig[7].Value=000000000000197d DynamicSig[1].Name=OS Version DynamicSig[1].Value=6.1.7601.2.1.0.1296.17 DynamicSig[2].Name=Locale ID DynamicSig[2].Value=2057 DynamicSig[22].Name=Additional Information 1 DynamicSig[22].Value=6141 DynamicSig[23].Name=Additional Information 2 DynamicSig[23].Value=61419d6dee6cf74b8ac2b00b4c3b3373 DynamicSig[24].Name=Additional Information 3 DynamicSig[24].Value=c19b DynamicSig[25].Name=Additional Information 4 DynamicSig[25].Value=c19b8acf029a3088171b1f5f3dd9dc77 UI[2]=c:\windows\system32\inetsrv\w3wp.exe UI[5]=Check online for a solution (recommended) UI[6]=Check for a solution later (recommended) UI[7]=Close UI[8]=IIS Worker Process stopped working and was closed UI[9]=A problem caused the application to stop working correctly. Windows will notify you if a solution is available. UI[10]=&Close LoadedModule[0]=c:\windows\system32\inetsrv\w3wp.exe LoadedModule[1]=C:\Windows\SYSTEM32\ntdll.dll LoadedModule[2]=C:\Windows\system32\kernel32.dll LoadedModule[3]=C:\Windows\system32\KERNELBASE.dll LoadedModule[4]=C:\Windows\system32\ADVAPI32.dll LoadedModule[5]=C:\Windows\system32\msvcrt.dll LoadedModule[6]=C:\Windows\SYSTEM32\sechost.dll LoadedModule[7]=C:\Windows\system32\RPCRT4.dll LoadedModule[8]=C:\Windows\system32\pcwum.DLL LoadedModule[9]=C:\Windows\system32\USER32.dll LoadedModule[10]=C:\Windows\system32\GDI32.dll LoadedModule[11]=C:\Windows\system32\LPK.dll LoadedModule[12]=C:\Windows\system32\USP10.dll LoadedModule[13]=C:\Windows\system32\ole32.dll LoadedModule[14]=c:\windows\system32\inetsrv\IISUTIL.dll LoadedModule[15]=C:\Windows\system32\IMM32.DLL LoadedModule[16]=C:\Windows\system32\MSCTF.dll LoadedModule[17]=C:\Windows\system32\CRYPTBASE.dll LoadedModule[18]=C:\Windows\system32\ntmarta.dll LoadedModule[19]=C:\Windows\system32\WLDAP32.dll LoadedModule[20]=c:\windows\system32\inetsrv\w3wphost.dll LoadedModule[21]=C:\Windows\system32\OLEAUT32.dll LoadedModule[22]=c:\windows\system32\inetsrv\nativerd.dll LoadedModule[23]=C:\Windows\system32\CRYPT32.dll LoadedModule[24]=C:\Windows\system32\MSASN1.dll LoadedModule[25]=C:\Windows\system32\XmlLite.dll LoadedModule[26]=C:\Windows\system32\ktmw32.dll LoadedModule[27]=c:\windows\system32\inetsrv\IISRES.DLL LoadedModule[28]=C:\Windows\system32\CRYPTSP.dll LoadedModule[29]=C:\Windows\system32\rsaenh.dll LoadedModule[30]=C:\Windows\system32\mscoree.dll LoadedModule[31]=C:\Windows\system32\CLBCatQ.DLL LoadedModule[32]=C:\Windows\system32\mlang.dll LoadedModule[33]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\webengine4.dll LoadedModule[34]=C:\Windows\system32\MSVCR100_CLR0400.dll LoadedModule[35]=C:\Windows\system32\USERENV.dll LoadedModule[36]=C:\Windows\system32\profapi.dll LoadedModule[37]=C:\Windows\system32\PSAPI.DLL LoadedModule[38]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll LoadedModule[39]=C:\Windows\system32\SHLWAPI.dll LoadedModule[40]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll LoadedModule[41]=C:\Windows\system32\inetsrv\iiscore.dll LoadedModule[42]=c:\windows\system32\inetsrv\W3TP.dll LoadedModule[43]=c:\windows\system32\inetsrv\w3dt.dll LoadedModule[44]=C:\Windows\system32\HTTPAPI.dll LoadedModule[45]=C:\Windows\system32\slc.dll LoadedModule[46]=C:\Windows\system32\WS2_32.dll LoadedModule[47]=C:\Windows\system32\NSI.dll LoadedModule[48]=C:\Windows\system32\Normaliz.dll LoadedModule[49]=C:\Windows\system32\faultrep.dll LoadedModule[50]=C:\Windows\system32\Secur32.dll LoadedModule[51]=C:\Windows\system32\SSPICLI.DLL LoadedModule[52]=C:\Windows\system32\NLAapi.dll LoadedModule[53]=C:\Windows\system32\napinsp.dll LoadedModule[54]=C:\Windows\System32\mswsock.dll LoadedModule[55]=C:\Windows\system32\DNSAPI.dll LoadedModule[56]=C:\Windows\System32\winrnr.dll LoadedModule[57]=C:\Windows\System32\wshtcpip.dll LoadedModule[58]=C:\Windows\System32\wship6.dll LoadedModule[59]=C:\Windows\system32\IPHLPAPI.DLL LoadedModule[60]=C:\Windows\system32\WINNSI.DLL LoadedModule[61]=C:\Windows\system32\rasadhlp.dll LoadedModule[62]=C:\Windows\System32\fwpuclnt.dll LoadedModule[63]=C:\Windows\System32\inetsrv\cachuri.dll LoadedModule[64]=C:\Windows\System32\inetsrv\cachfile.dll LoadedModule[65]=C:\Windows\System32\inetsrv\cachtokn.dll LoadedModule[66]=C:\Windows\System32\inetsrv\cachhttp.dll LoadedModule[67]=C:\Windows\System32\inetsrv\compdyn.dll LoadedModule[68]=C:\Windows\System32\inetsrv\compstat.dll LoadedModule[69]=C:\Windows\System32\inetsrv\defdoc.dll LoadedModule[70]=C:\Windows\System32\inetsrv\protsup.dll LoadedModule[71]=C:\Windows\System32\inetsrv\redirect.dll LoadedModule[72]=C:\Windows\System32\inetsrv\static.dll LoadedModule[73]=C:\Windows\System32\inetsrv\authanon.dll LoadedModule[74]=C:\Windows\System32\inetsrv\authbas.dll LoadedModule[75]=C:\Windows\System32\inetsrv\authsspi.dll LoadedModule[76]=C:\Windows\system32\NETAPI32.dll LoadedModule[77]=C:\Windows\system32\netutils.dll LoadedModule[78]=C:\Windows\system32\srvcli.dll LoadedModule[79]=C:\Windows\system32\wkscli.dll LoadedModule[80]=C:\Windows\System32\inetsrv\iprestr.dll LoadedModule[81]=C:\Windows\System32\inetsrv\modrqflt.dll LoadedModule[82]=C:\Windows\System32\inetsrv\logcust.dll LoadedModule[83]=C:\Windows\System32\inetsrv\custerr.dll LoadedModule[84]=C:\Windows\System32\inetsrv\loghttp.dll LoadedModule[85]=C:\Windows\System32\inetsrv\isapi.dll LoadedModule[86]=C:\Windows\System32\inetsrv\filter.dll LoadedModule[87]=C:\Windows\System32\inetsrv\validcfg.dll LoadedModule[88]=c:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_filter.dll LoadedModule[89]=C:\Windows\system32\inetsrv\wbhst_pm.dll LoadedModule[90]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\webengine.dll LoadedModule[91]=C:\Windows\assembly\NativeImages_v4.0.30319_64\mscorlib\4f52500ab48877b85e71430f4f46670f\mscorlib.ni.dll LoadedModule[92]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\nlssorting.dll LoadedModule[93]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System\a91f32875cb3ba779f1b3ceff1690251\System.ni.dll LoadedModule[94]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Core\0a8d99339ffe6b25debb8f8201c27664\System.Core.ni.dll LoadedModule[95]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Web\5b905bd7b71f9fd6bea2d05cc1ae85f8\System.Web.ni.dll LoadedModule[96]=C:\Windows\system32\sxs.dll LoadedModule[97]=C:\Windows\system32\RpcRtRemote.dll LoadedModule[98]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Configuration\fa65f89fd682c459fc5e7bcbd0418317\System.Configuration.ni.dll LoadedModule[99]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Xml\f4afb233f160b8e55aad4660e45b374c\System.Xml.ni.dll LoadedModule[100]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clrjit.dll LoadedModule[101]=C:\Windows\assembly\NativeImages_v4.0.30319_64\Microsoft.Build.Uti
That nlssorting.dll seems to be a lot, but I can not find anything on the Internet. The only thing I can find that matches my error is here , but it really doesn't help me.
I am completely at a dead end where to go to fix this. Here is what I tried:
- Downloading IIS log files and searching for each request 30 minutes before the failure, and none of the pages cause any errors.
- Finding my code for any recursion that may call stackoverflow but doesn't exist
- online trawling for ANYTHING that can help
Has anyone else had problems with nlssorting.dll? Can I get more information from a .wer file that can help me indicate where this is happening?
Thanks in advance for your help!
UPDATE
I used a third-party DLL that 0xc00000fd exception ( 0xc00000fd )
After further investigation, this happened only after a certain chain of events occurred - hence the “random” in the title. Removing the DLL fixes the problem.