+ Post New Thread
Results 1 to 7 of 7
Home Access Plus+ Thread, Active Direcotry base settings in Projects:; Hello, Im setting up hap 7.10 on a windows server 2008, i have all green ticks in the general tab, ...
  1. #1

    Join Date
    Oct 2009
    Posts
    156
    Thank Post
    9
    Thanked 12 Times in 12 Posts
    Rep Power
    12

    Active Direcotry base settings

    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.

  2. #2

    Join Date
    Oct 2009
    Posts
    156
    Thank Post
    9
    Thanked 12 Times in 12 Posts
    Rep Power
    12
    Heres the capture of once i put the username and password in.

    Code:
    <Fault xmlns="http://schemas.microsoft.com/ws/2005/05/envelope/none"><Code><Value>Sender</Value><Subcode><Value xmlns:a="http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher">a:DeserializationFailed</Value></Subcode></Code><Reason><Text xml:lang="en-GB">The 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.</Text></Reason><Detail><ExceptionDetail xmlns="http://schemas.datacontract.org/2004/07/System.ServiceModel" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><HelpLink i:nil="true"/><InnerException><HelpLink i:nil="true"/><InnerException><HelpLink i:nil="true"/><InnerException i:nil="true"/><Message>Encountered unexpected character 'a'.</Message><StackTrace>   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)</StackTrace><Type>System.Xml.XmlException</Type></InnerException><Message>There was an error deserializing the object of type System.String. Encountered unexpected character 'a'.</Message><StackTrace>   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)</StackTrace><Type>System.Runtime.Serialization.SerializationException</Type></InnerException><Message>The 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.</Message><StackTrace>   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&amp; 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&amp; rpc)
       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc&amp; rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&amp; rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc&amp; rpc)
       at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)</StackTrace><Type>System.ServiceModel.Dispatcher.NetDispatcherFaultException</Type></ExceptionDetail></Detail></Fault>

  3. #3
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    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

  4. #4
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    Ah, it doesn't like the fact that there's an apostrophe. I'll look into seeing if I can escape it

  5. Thanks to nickbro from:

    patty04 (17th July 2012)

  6. #5

    Join Date
    Oct 2009
    Posts
    156
    Thank Post
    9
    Thanked 12 Times in 12 Posts
    Rep Power
    12
    ok if i manually put them in how do i encrypt the password of the admin account?

  7. #6
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    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

  8. #7

    Join Date
    Oct 2009
    Posts
    156
    Thank Post
    9
    Thanked 12 Times in 12 Posts
    Rep Power
    12
    it errors when i press save

    Code:
    [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?
    Last edited by patty04; 17th July 2012 at 01:52 PM.

SHARE:
+ Post New Thread

Similar Threads

  1. Script to set active directory object security
    By meastaugh1 in forum Windows
    Replies: 4
    Last Post: 5th January 2007, 04:28 AM
  2. Replies: 19
    Last Post: 10th August 2006, 09:12 AM
  3. Using VB to set Active Desktop/IE Wallpaper
    By BKGarry in forum Scripts
    Replies: 3
    Last Post: 30th June 2006, 03:28 PM
  4. Setting Printers Based On Room Location
    By ICTNUT in forum Scripts
    Replies: 34
    Last Post: 13th May 2006, 08:19 PM
  5. Setting up test scenario on Server 2003/Active Directory/GPO
    By tosca925 in forum How do you do....it?
    Replies: 20
    Last Post: 24th January 2006, 11:38 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •