patty04 Posted July 17, 2012 Posted July 17, 2012 Hello, Im setting up hap 7.10 on a windows server 2008, i have all green ticks in the general tab, but on the AD tab i cant get it to work. No matter what i do i keep getting "Internal Server Error" The user account im using it a fully fledged network domain admin account. Could this error be because im using a domain name like AD1.school.leics.sch.uk instead of the normal school.local? any ideas would be great.
patty04 Posted July 17, 2012 Author Posted July 17, 2012 Heres the capture of once i put the username and password in. Sendera:DeserializationFailedThe formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter HAP.Web.API:username. The InnerException message was 'There was an error deserializing the object of type System.String. Encountered unexpected character 'a'.'. Please see InnerException for more details.Encountered unexpected character 'a'. 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)System.Xml.XmlExceptionThere was an error deserializing the object of type System.String. Encountered unexpected character 'a'. 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)System.Runtime.Serialization.SerializationExceptionThe formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter HAP.Web.API:username. The InnerException message was 'There was an error deserializing the object of type System.String. Encountered unexpected character 'a'.'. Please see InnerException for more details. 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)System.ServiceModel.Dispatcher.NetDispatcherFaultException
nickbro Posted July 17, 2012 Posted July 17, 2012 it shouldn't make any difference. There are some instances where the AD Browser wont work with specific AD setups (don't know why), in which case you will need to manually enter the information. You don't need to fill the AD OUs section as that is only for the booking system/help desk
nickbro Posted July 17, 2012 Posted July 17, 2012 Ah, it doesn't like the fact that there's an apostrophe. I'll look into seeing if I can escape it 1
patty04 Posted July 17, 2012 Author Posted July 17, 2012 ok if i manually put them in how do i encrypt the password of the admin account?
nickbro Posted July 17, 2012 Posted July 17, 2012 You can put the password in via the GUI, it will encrypted it when you click save. Fill in the gui, you just wont get the AD Browser in the GUI
patty04 Posted July 17, 2012 Author Posted July 17, 2012 (edited) it errors when i press save [NullReferenceException: Object reference not set to an instance of an object.] HAP.Web.Setup.Save_Click(Object sender, EventArgs e) +77 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +153 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3706 it doesnt say any of the info, is there another way? Edited July 17, 2012 by patty04
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