fairm010 Posted March 11, 2014 Posted March 11, 2014 Hi Nick, I have moved my HAP install to another server and all is working well however whenever anyone accesses the Helpdesk they get "String was not recognised as a valid DateTime". The helpdesk still functions but the error throws staff off. Can you help? Cheers.
fairm010 Posted March 14, 2014 Author Posted March 14, 2014 Just pulled this from the event log. An error occurred in Home Access Plus+ Page: mscorlib String was not recognized as a valid DateTime. System.FormatException: String was not recognized as a valid DateTime. at System.DateTime.Parse(String s) at HAP.HelpDesk.API.PeriodStats(String Period) at SyncInvokeStats(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 System.DateTime.Parse(String s) at HAP.HelpDesk.API.PeriodStats(String Period) at SyncInvokeStats(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, can you help?
minimoo Posted March 14, 2014 Posted March 14, 2014 fairm010, Whilst nick will probably have an idea what's causing this, if you want, email me a copy of your tickets.xml and i'll try and look and see if I can tell what's causing this. Paul
fairm010 Posted March 14, 2014 Author Posted March 14, 2014 cant PM it, can you pm me your email address please?
nickbro Posted March 15, 2014 Posted March 15, 2014 Add this to the web.config requestEncoding="en-gb" responseEncoding="en-gb"/>
fairm010 Posted March 15, 2014 Author Posted March 15, 2014 Ah nick answered this back in 1970! I'll give that a shot.
fairm010 Posted March 17, 2014 Author Posted March 17, 2014 I get the following when adding that line to web.config. [ATTACH=CONFIG]23393[/ATTACH]
nickbro Posted March 17, 2014 Posted March 17, 2014 @fairm010, you've put it in the wrong place, it needs to sit below system.web
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