Jump to content

Recommended Posts

Posted

Hello all,

 

I'm having an issue with Hap+ 9.7 setup (new server and full installation). Everything is setup and i'm working through the setup.aspx page however when i try to change something and then click "update" the following error message is displayed.

 

hap-error.png

 

Any ideas?

 

Thanks,

 

Ash.

  • 3 weeks later...
Posted

Hi Nick,

 

Sorry for the very late reply, i'm still getting the error (WCF error). The event logs shows the following (from one of the errors listed).

 

An error occurred in Home Access Plus+

 

Page: System.ServiceModel.Web

 

The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter HAP.Web.API:origunc. The InnerException message was 'There was an error deserializing the object of type System.String. Encountered unexpected character 's'.'. Please see InnerException for more details.

 

 

System.ServiceModel.Dispatcher.NetDispatcherFaultException: The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter HAP.Web.API:origunc. The InnerException message was 'There was an error deserializing the object of type System.String. Encountered unexpected character 's'.'. Please see InnerException for more details. ---> System.Runtime.Serialization.SerializationException: There was an error deserializing the object of type System.String. Encountered unexpected character 's'. ---> System.Xml.XmlException: Encountered unexpected character 's'.

at System.Xml.XmlExceptionHelper.ThrowXmlException(XmlDictionaryReader reader, XmlException exception)

at System.Runtime.Serialization.Json.XmlJsonReader.ReadEscapedCharacter(Boolean moveToText)

at System.Runtime.Serialization.Json.XmlJsonReader.Read()

at System.Xml.XmlDictionaryReader.ReadContentAsString(Int32 maxStringContentLength)

at System.Xml.XmlBaseReader.ReadContentAsString()

at System.Xml.XmlBaseReader.ReadElementContentAsString()

at System.Runtime.Serialization.Json.JsonStringDataContract.ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context)

at System.Runtime.Serialization.Json.JsonDataContract.ReadJsonValue(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context)

at System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName)

at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)

--- End of inner exception stack trace ---

at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)

at System.Runtime.Serialization.Json.DataContractJsonSerializer.ReadObject(XmlDictionaryReader reader, Boolean verifyObjectName)

at System.ServiceModel.Dispatcher.DataContractJsonSerializerOperationFormatter.DeserializeParameterPart(XmlDictionaryReader reader, PartInfo part)

--- End of inner exception stack trace ---

at System.ServiceModel.Dispatcher.DataContractJsonSerializerOperationFormatter.DeserializeParameterPart(XmlDictionaryReader reader, PartInfo part)

at System.ServiceModel.Dispatcher.DataContractJsonSerializerOperationFormatter.DeserializeParameters(XmlDictionaryReader reader, PartInfo[] parts, Object[] parameters, PartInfo returnInfo, Object& returnValue)

at System.ServiceModel.Dispatcher.DataContractJsonSerializerOperationFormatter.DeserializeBodyCore(XmlDictionaryReader reader, Object[] parameters, Boolean isRequest)

at System.ServiceModel.Dispatcher.DataContractJsonSerializerOperationFormatter.DeserializeBody(XmlDictionaryReader reader, MessageVersion version, String action, MessageDescription messageDescription, Object[] parameters, Boolean isRequest)

at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeBodyContents(Message message, Object[] parameters, Boolean isRequest)

at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeRequest(Message message, Object[] parameters)

at System.ServiceModel.Dispatcher.DemultiplexingDispatchMessageFormatter.DeserializeRequest(Message message, Object[] parameters)

at System.ServiceModel.Dispatcher.UriTemplateDispatchFormatter.DeserializeRequest(Message message, Object[] parameters)

at System.ServiceModel.Dispatcher.DispatchOperationRuntime.DeserializeInputs(MessageRpc& rpc)

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.ServiceModel.Dispatcher.DataContractJsonSerializerOperationFormatter.DeserializeParameterPart(XmlDictionaryReader reader, PartInfo part)

at System.ServiceModel.Dispatcher.DataContractJsonSerializerOperationFormatter.DeserializeParameters(XmlDictionaryReader reader, PartInfo[] parts, Object[] parameters, PartInfo returnInfo, Object& returnValue)

at System.ServiceModel.Dispatcher.DataContractJsonSerializerOperationFormatter.DeserializeBodyCore(XmlDictionaryReader reader, Object[] parameters, Boolean isRequest)

at System.ServiceModel.Dispatcher.DataContractJsonSerializerOperationFormatter.DeserializeBody(XmlDictionaryReader reader, MessageVersion version, String action, MessageDescription messageDescription, Object[] parameters, Boolean isRequest)

at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeBodyContents(Message message, Object[] parameters, Boolean isRequest)

at System.ServiceModel.Dispatcher.OperationFormatter.DeserializeRequest(Message message, Object[] parameters)

at System.ServiceModel.Dispatcher.DemultiplexingDispatchMessageFormatter.DeserializeRequest(Message message, Object[] parameters)

at System.ServiceModel.Dispatcher.UriTemplateDispatchFormatter.DeserializeRequest(Message message, Object[] parameters)

at System.ServiceModel.Dispatcher.DispatchOperationRuntime.DeserializeInputs(MessageRpc& rpc)

at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)

at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)

at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)

 

There are some other errors in there as well.

 

An error occurred in Home Access Plus+

 

Page: HAP.Web.API.MyPic

 

Creating Directory Search and Searching for then current user

Using filter: (&(objectClass=user) (sAMAccountName=A-Karavadra))

Found 1 results, processing 1st result

Found 0 thumnbnailPhotos

 

above errors are logged in the application event logs.

 

 

Thanks,

 

Ash.

Posted

Any idea when v10 will be released?

We have added a couple of shared drives, but now when we try to change the permission we get the WCF error - viewing through web developer console shows

LOG: {"Message":"The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter HAP.Web.API:origunc. The InnerException message was 'There was an error deserializing the object of type System.String. Encountered unexpected character 's'.'. Please see InnerException for more details.","Detail":null,"FaultType":"NetDispatcherFaultException"}

 

Hoping you can help

Pete.

Posted

@peterp

 

Version 10 is still being completed by Nick & Paul. From what I read on another post yesterday, Paul has a few changes to make that Nick is waiting on.

 

It looks really good though all the updates that are coming along with v10, can't wait.

  • Thanks 1
Posted

Cheers for that. I think my boss (spc-rocket) has managed to make some changes we needed by editing the asp files directly, but will not be able to deploy across our staff and students till v10 is out now.

Looks a fantastic product, cant wait to use it.

 

Pete.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...