fairm010 Posted June 17, 2014 Posted June 17, 2014 Hi @nickbro, I'm getting this whenever anyone updates or creates a ticket. Please can you point me in the right direction? [ATTACH=CONFIG]25118[/ATTACH] TIA
nickbro Posted June 17, 2014 Posted June 17, 2014 Can you look on the server's event log for a more detailed error message please
fairm010 Posted June 17, 2014 Author Posted June 17, 2014 Sorry Nick, here: Log Name: Application Source: Home Access Plus+ Date: 17/06/2014 09:42:52 Event ID: 0 Task Category: None Level: Error Keywords: Classic User: N/A Computer: DMS-WEB-01.DMS.local Description: An error occurred in Home Access Plus+ Page: HAP.HelpDesk Index was outside the bounds of the array. System.IndexOutOfRangeException: Index was outside the bounds of the array. at HAP.HelpDesk.API.UpdateAdminTicket(String Id, String Note, String State, String Priority, String ShowTo, String FAQ, String Subject, String AssignTo, Boolean HideNote, Attachment[] Attachments) at SyncInvokeUpdateAdminTicket(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet) at HAP.HelpDesk.API.UpdateAdminTicket(String Id, String Note, String State, String Priority, String ShowTo, String FAQ, String Subject, String AssignTo, Boolean HideNote, Attachment[] Attachments) at SyncInvokeUpdateAdminTicket(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet) Event Xml: 0 2 0 0x80000000000000 2900 Application DMS-WEB-01.DMS.local An error occurred in Home Access Plus+ Page: HAP.HelpDesk Index was outside the bounds of the array. System.IndexOutOfRangeException: Index was outside the bounds of the array. at HAP.HelpDesk.API.UpdateAdminTicket(String Id, String Note, String State, String Priority, String ShowTo, String FAQ, String Subject, String AssignTo, Boolean HideNote, Attachment[] Attachments) at SyncInvokeUpdateAdminTicket(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet) at HAP.HelpDesk.API.UpdateAdminTicket(String Id, String Note, String State, String Priority, String ShowTo, String FAQ, String Subject, String AssignTo, Boolean HideNote, Attachment[] Attachments) at SyncInvokeUpdateAdminTicket(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
nickbro Posted June 19, 2014 Posted June 19, 2014 Can you try with this dll please, it should give more debug informationHelpDesk Debug.zip
fairm010 Posted June 20, 2014 Author Posted June 20, 2014 Hi Nick, Tried with the dll you provided, here is the error. Log Name: Application Source: Home Access Plus+ Date: 20/06/2014 07:14:38 Event ID: 0 Task Category: None Level: Error Keywords: Classic User: N/A Computer: DMS-WEB-01.DMS.local Description: An error occurred in Home Access Plus+ Page: HAP.HelpDesk Index was outside the bounds of the array. System.IndexOutOfRangeException: Index was outside the bounds of the array. at HAP.HelpDesk.API.UpdateAdminTicket(String Id, String Note, String State, String Priority, String ShowTo, String FAQ, String Subject, String AssignTo, Boolean HideNote, Attachment[] Attachments) at SyncInvokeUpdateAdminTicket(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet) at HAP.HelpDesk.API.UpdateAdminTicket(String Id, String Note, String State, String Priority, String ShowTo, String FAQ, String Subject, String AssignTo, Boolean HideNote, Attachment[] Attachments) at SyncInvokeUpdateAdminTicket(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet) Event Xml: 0 2 0 0x80000000000000 3476 Application DMS-WEB-01.DMS.local An error occurred in Home Access Plus+ Page: HAP.HelpDesk Index was outside the bounds of the array. System.IndexOutOfRangeException: Index was outside the bounds of the array. at HAP.HelpDesk.API.UpdateAdminTicket(String Id, String Note, String State, String Priority, String ShowTo, String FAQ, String Subject, String AssignTo, Boolean HideNote, Attachment[] Attachments) at SyncInvokeUpdateAdminTicket(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet) at HAP.HelpDesk.API.UpdateAdminTicket(String Id, String Note, String State, String Priority, String ShowTo, String FAQ, String Subject, String AssignTo, Boolean HideNote, Attachment[] Attachments) at SyncInvokeUpdateAdminTicket(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
nickbro Posted June 20, 2014 Posted June 20, 2014 Ok, that isn't right, it should be providing a line reference to what is failing
nickbro Posted June 20, 2014 Posted June 20, 2014 Can you use firebug and post the JSON request please, it may be an escape issue
fairm010 Posted June 20, 2014 Author Posted June 20, 2014 This is under the headers tab: Cache-Control private Content-Length 109 Content-Type application/xml; charset=utf-8 Date Fri, 20 Jun 2014 06:36:18 GMT Server Microsoft-IIS/8.0 X-AspNet-Version 4.0.30319 X-Powered-By ASP.NET Request Headersview source Accept application/json, text/javascript, */*; q=0.01 Accept-Encoding gzip, deflate Accept-Language en-gb,en;q=0.5 Connection keep-alive Content-Length 165 Content-Type application/json; charset=UTF-8 Cookie ASP.NET_SessionId=4v12w2zgzq3drdylygoephkp; .ASPXAUTH=8F88323D58C53C6484D919CEC0103E621DCA0712C31EA010A765F0F2D78DCF0E0AB1AEA9A1559E27AC01CA34D271AB2AED90C48B74AF166A864E771E997E3DFB625A201A36AA7BFD1B7F5D2A5892614E0BC0FFD463F4F8D3C6EB9AF2A1ECDBC24E629DEB644BBB8D09CA8BAAFC49AEF642A095E74151D62E52CD2ACA049F49B2A88BF652221CEF65A9A8E27AD2723026; token=g5J58mTcxeTcqsiGSYPPFw== Host mydomian.co.uk/HAP Referer https://mydomain.co.uk/HAP/helpdesk/ User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0 X-Requested-With XMLHttpReques This is under the JSON tab Message "Index was outside the bounds of the array." Detail null FaultType "IndexOutOfRangeException"
fairm010 Posted June 20, 2014 Author Posted June 20, 2014 I don't have a POST / REQUEST tab in Firebug?
nickbro Posted June 20, 2014 Posted June 20, 2014 Ok, I'm starting to worry about this, as it should be giving you a line reference as it's a debug dll, I'm struggling to find where the error is coming from to lock it down. Are you XML or SQL
fairm010 Posted June 20, 2014 Author Posted June 20, 2014 Using SQL. I'll run a few more tests tomorrow. Cheers Nick
nickbro Posted June 20, 2014 Posted June 20, 2014 Just so I can rule out all things, this is what I need
fairm010 Posted June 20, 2014 Author Posted June 20, 2014 No worries, I'll run that first thing tomorrow.
fairm010 Posted June 21, 2014 Author Posted June 21, 2014 Here is the PUT [ATTACH=CONFIG]25198[/ATTACH] And the JSON [ATTACH=CONFIG]25199[/ATTACH]
nickbro Posted June 24, 2014 Posted June 24, 2014 ok, when you update the ticket can you try changing who the ticket is assigned to, it's sending null to the server
fairm010 Posted June 24, 2014 Author Posted June 24, 2014 Hi Nick, thanks for getting back. My Assign to box is empty :/ [ATTACH=CONFIG]25235[/ATTACH]
nickbro Posted June 24, 2014 Posted June 24, 2014 Ok, that might be what's wrong. Can you check the admins part of the helpdesk node: Also check the OU mappings
fairm010 Posted June 24, 2014 Author Posted June 24, 2014 Hi Nick, Odd, using groups does not work however its only me here so I used my username and that has worked. Ill go log ask a teacher to create a ticket to test. Ta
nickbro Posted June 24, 2014 Posted June 24, 2014 Ah sorry about that, undocumented thing that it needs to be individuals
fairm010 Posted June 24, 2014 Author Posted June 24, 2014 No worries, In v9 I used a "Helpdesk" security group and that worked ok.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now