Hi
We’ve started seeing errors in the Event Viewer with w3wp.exe crashing. Here’re the relevant entries in eventvwr.
If you look at the 3rd item, you can see there’s a ArgumentOutOfRangeException and the URL has some spaces in them and not been properly encoded. Could this be the issue? How do I get JsonServiceClient to automatically encode query params?
1. An unhandled win32 exception occurred in w3wp.exe [13236]. Just-In-Time debugging this exception failed with the following error: Debugger could not be started because no user is logged on.
Check the documentation index for ‘Just-in-time debugging, errors’ for more information.
2. Faulting application name: w3wp.exe, version: 7.5.7601.17514, time stamp: 0x4ce7afa2
Faulting module name: KERNELBASE.dll, version: 6.1.7601.24441, time stamp: 0x5cb935a7
Exception code: 0xe0434352
Fault offset: 0x000000000000bdfd
Faulting process id: 0x33b4
Faulting application start time: 0x01d50f5f79670fc8
Faulting application path: c:\windows\system32\inetsrv\w3wp.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: c8fc32e8-7b52-11e9-846c-b8ca3a8a22a5
3. Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 21/05/2019 8:58:28 AM
Event time (UTC): 20/05/2019 10:58:28 PM
Event ID: 685b70f00a7143aab60729e8060987fd
Event sequence: 220
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/XVAXService-1-132028666811964808
Trust level: Full
Application Virtual Path: /XVAXService
Application Path: D:\Sites\CVAWebService\XVAXService\
Machine name: SYDSERVER1
Process information:
Process ID: 13236
Process name: w3wp.exe
Account name: NT3GWM01\svc_user_prd
Exception information:
Exception type: ArgumentOutOfRangeException
Exception message: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.ArrayList.get_Item(Int32 index)
at System.Web.HttpCookieCollection.Get(Int32 index)
at System.Web.HttpResponse.GenerateResponseHeadersForCookies()
at System.Web.HttpResponse.UpdateNativeResponse(Boolean sendHeaders)
at System.Web.HttpRuntime.FinishRequestNotification(IIS7WorkerRequest wr, HttpContext context, RequestNotificationStatus& status)
Request information:
Request URL: http://SYDSERVER1/XVAXService/legaldocument/?name=A BANK POSTBANK-XXX LIMITED-CSA&field=CounterpartyID
Request path: /XVAXService/legaldocument/
User host address: 10.16.203.20
User: NT3GWM01\csharpe
Is authenticated: True
Authentication Type: Negotiate
Thread account name: NT3GWM01\svc_user_prd
Thread information:
Thread ID: 10
Thread account name: NT3GWM01\svc_user_prd
Is impersonating: False
Stack trace: at System.Collections.ArrayList.get_Item(Int32 index)
at System.Web.HttpCookieCollection.Get(Int32 index)
at System.Web.HttpResponse.GenerateResponseHeadersForCookies()
at System.Web.HttpResponse.UpdateNativeResponse(Boolean sendHeaders)
at System.Web.HttpRuntime.FinishRequestNotification(IIS7WorkerRequest wr, HttpContext context, RequestNotificationStatus& status)