+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 25
Home Access Plus+ Thread, Setting up Home Access Plus on Server 2012 with IIS8 in Projects:; Hi there, I've managed to get HAP installed and setup on Server 2012 with IIS8 by following this video: Home ...
  1. #1

    Join Date
    Aug 2012
    Location
    Solihull
    Posts
    115
    Thank Post
    1
    Thanked 2 Times in 2 Posts
    Rep Power
    5

    Setting up Home Access Plus on Server 2012 with IIS8

    Hi there,

    I've managed to get HAP installed and setup on Server 2012 with IIS8 by following this video:

    Home Access Plus+ v8 Installation Video - YouTube

    (The documentation here: https://hap.codeplex.com/documentation misses of a number of steps)

    However when I access HAP to setup I get a red X next to the 'Services Activated' check. I've searched through some of the EduGeek forums posts regarding this entry and tried most thing where applicable, but still unable to get past this.

    Also, all the other tabs on the setup.aspx are not selectable.

    Thanks

    Stephen
    Attached Thumbnails Attached Thumbnails Setting up Home Access Plus on Server 2012 with IIS8-capture.png  

  2. #2

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,630
    Thank Post
    39
    Thanked 528 Times in 456 Posts
    Rep Power
    118
    Browse to /api/setup and see if any errors come up

    also try /api/setup/help

  3. #3

    Join Date
    Aug 2012
    Location
    Solihull
    Posts
    115
    Thank Post
    1
    Thanked 2 Times in 2 Posts
    Rep Power
    5
    /api/setup results in:

    Server Error in '/hap' Application.


    A binding instance has already been associated to
    listen URI 'https://atlas.swc.internal/hap/api/setup'. If two endpoints
    want to share the same ListenUri, they must also share the same binding
    object instance. The two conflicting endpoints were either specified in
    AddServiceEndpoint() calls, in a config file, or a combination of
    AddServiceEndpoint() and config.




    Description: An unhandled exception occurred during
    the execution of the current web request. Please review the stack trace
    for more information about the error and where it originated in the
    code.





    Exception Details: System.InvalidOperationException:
    A binding instance has already been associated to listen URI
    'https://atlas.swc.internal/hap/api/setup'. If two endpoints want to
    share the same ListenUri, they must also share the same binding object
    instance. The two conflicting endpoints were either specified in
    AddServiceEndpoint() calls, in a config file, or a combination of
    AddServiceEndpoint() and config.



    Source Error:





    An unhandled exception was generated during the execution of the current
    web request. Information regarding the origin and location of the
    exception can be identified using the exception stack trace below.





    Stack Trace:




    [InvalidOperationException: A binding instance has already been associated to listen URI 'https://atlas.swc.internal/hap/api/setup'. If two endpoints want to share the same ListenUri, they must also share the same binding object instance. The two conflicting endpoints were either specified in AddServiceEndpoint() calls, in a config file, or a combination of AddServiceEndpoint() and config. ] System.ServiceModel.Description.DispatcherBuilder. InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost) +1599 System.ServiceModel.ServiceHostBase.InitializeRunt ime() +90 System.ServiceModel.ServiceHostBase.OnOpen(TimeSpa n timeout) +182 System.ServiceModel.Channels.CommunicationObject.O pen(TimeSpan timeout) +742 System.ServiceModel.HostingManager.ActivateService (ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity) +126 System.ServiceModel.HostingManager.EnsureServiceAv ailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +901[ServiceActivationException: The service '/hap/api/setup' cannot be activated due to an exception during compilation. The exception message is: A binding instance has already been associated to listen URI 'https://atlas.swc.internal/hap/api/setup'. If two endpoints want to share the same ListenUri, they must also share the same binding object instance. The two conflicting endpoints were either specified in AddServiceEndpoint() calls, in a config file, or a combination of AddServiceEndpoint() and config. .] System.Runtime.AsyncResult.End(IAsyncResult result) +650220 System.ServiceModel.Activation.HostedHttpRequestAs yncResult.End(IAsyncResult result) +210733 System.Web.CallHandlerExecutionStep.OnAsyncHandler Completion(IAsyncResult ar) +282








    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.17929


  4. #4

    Join Date
    Aug 2012
    Location
    Solihull
    Posts
    115
    Thank Post
    1
    Thanked 2 Times in 2 Posts
    Rep Power
    5
    /api/setup/help results in:

    Server Error in '/hap' Application.


    A binding instance has already been associated to
    listen URI 'https://atlas.swc.internal/hap/api/setup'. If two endpoints
    want to share the same ListenUri, they must also share the same binding
    object instance. The two conflicting endpoints were either specified in
    AddServiceEndpoint() calls, in a config file, or a combination of
    AddServiceEndpoint() and config.




    Description: An unhandled exception occurred during
    the execution of the current web request. Please review the stack trace
    for more information about the error and where it originated in the
    code.





    Exception Details: System.InvalidOperationException:
    A binding instance has already been associated to listen URI
    'https://atlas.swc.internal/hap/api/setup'. If two endpoints want to
    share the same ListenUri, they must also share the same binding object
    instance. The two conflicting endpoints were either specified in
    AddServiceEndpoint() calls, in a config file, or a combination of
    AddServiceEndpoint() and config.



    Source Error:





    An unhandled exception was generated during the execution of the current
    web request. Information regarding the origin and location of the
    exception can be identified using the exception stack trace below.





    Stack Trace:




    [InvalidOperationException: A binding instance has already been associated to listen URI 'https://atlas.swc.internal/hap/api/setup'. If two endpoints want to share the same ListenUri, they must also share the same binding object instance. The two conflicting endpoints were either specified in AddServiceEndpoint() calls, in a config file, or a combination of AddServiceEndpoint() and config. ] System.ServiceModel.Description.DispatcherBuilder. InitializeServiceHost(ServiceDescription description, ServiceHostBase serviceHost) +1599 System.ServiceModel.ServiceHostBase.InitializeRunt ime() +90 System.ServiceModel.ServiceHostBase.OnOpen(TimeSpa n timeout) +182 System.ServiceModel.Channels.CommunicationObject.O pen(TimeSpan timeout) +742 System.ServiceModel.HostingManager.ActivateService (ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity) +126 System.ServiceModel.HostingManager.EnsureServiceAv ailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +901[ServiceActivationException: The service '/hap/api/setup' cannot be activated due to an exception during compilation. The exception message is: A binding instance has already been associated to listen URI 'https://atlas.swc.internal/hap/api/setup'. If two endpoints want to share the same ListenUri, they must also share the same binding object instance. The two conflicting endpoints were either specified in AddServiceEndpoint() calls, in a config file, or a combination of AddServiceEndpoint() and config. .] System.Runtime.AsyncResult.End(IAsyncResult result) +650220 System.ServiceModel.Activation.HostedHttpRequestAs yncResult.End(IAsyncResult result) +210733 System.Web.CallHandlerExecutionStep.OnAsyncHandler Completion(IAsyncResult ar) +282

  5. #5

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,630
    Thank Post
    39
    Thanked 528 Times in 456 Posts
    Rep Power
    118
    In IIS remove the HTTP binding on the site

  6. #6

    Join Date
    Aug 2012
    Location
    Solihull
    Posts
    115
    Thank Post
    1
    Thanked 2 Times in 2 Posts
    Rep Power
    5
    That's the trick... I think a more thorough guide may be required

  7. #7

    Join Date
    Aug 2012
    Location
    Solihull
    Posts
    115
    Thank Post
    1
    Thanked 2 Times in 2 Posts
    Rep Power
    5
    I'm getting the following error when trying to save settings:



    A Error has occured:
    Error Saving the Configuration



    The source was not found, but some or
    all event logs could not be searched. Inaccessible logs: Security.


    at System.Diagnostics.EventLog.FindSourceRegistration (String source,
    String machineName, Boolean readOnly, Boolean wantToCreate)
    at System.Diagnostics.EventLog.SourceExists(String source, String
    machineName, Boolean wantToCreate)
    at System.Diagnostics.EventLog.SourceExists(String source)
    at HAP.Web.Setup.Save_Click(Object sender, EventArgs e)





    Looks to be permissions related but not sure which?

  8. #8

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,630
    Thank Post
    39
    Thanked 528 Times in 456 Posts
    Rep Power
    118
    I didn't make the guide, I made the videos, one of the community made the instructions. Sometimes it needs the binding removed sometimes it doesn't, it's very random when it does and doesn't

  9. #9

    Join Date
    Aug 2012
    Location
    Solihull
    Posts
    115
    Thank Post
    1
    Thanked 2 Times in 2 Posts
    Rep Power
    5
    That's fine Nic - I believe I followed your videos I cant perform the setup completely as when saving I get this:

    A Error has occured:
    Error Saving the Configuration



    The source was not found, but some or
    all event logs could not be searched. Inaccessible logs: Security.


    at System.Diagnostics.EventLog.FindSourceRegistration (String source,
    String machineName, Boolean readOnly, Boolean wantToCreate)
    at System.Diagnostics.EventLog.SourceExists(String source, String
    machineName, Boolean wantToCreate)
    at System.Diagnostics.EventLog.SourceExists(String source)
    at HAP.Web.Setup.Save_Click(Object sender, EventArgs e)

  10. #10

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,630
    Thank Post
    39
    Thanked 528 Times in 456 Posts
    Rep Power
    118

  11. #11

    Join Date
    Aug 2012
    Location
    Solihull
    Posts
    115
    Thank Post
    1
    Thanked 2 Times in 2 Posts
    Rep Power
    5
    did that now getting: System.Security.SecurityException:
    The source was not found, but some or all event logs could not be
    searched. Inaccessible logs: Security.

  12. #12

    Join Date
    Aug 2012
    Location
    Solihull
    Posts
    115
    Thank Post
    1
    Thanked 2 Times in 2 Posts
    Rep Power
    5
    I added write permissions and this disappeared, however, strangely I can now not see anything when browsing the active directory to add groups/share permissions etc... any ideas?

  13. #13

  14. #14

    Join Date
    Aug 2012
    Location
    Solihull
    Posts
    115
    Thank Post
    1
    Thanked 2 Times in 2 Posts
    Rep Power
    5
    Log Name: Application
    Source: Home Access Plus+
    Date: 10/15/2013 9:24:10 PM
    Event ID: 0
    Task Category: None
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: ATLAS.swc.internal
    Description:
    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:drive. The InnerException message was 'There was an error deserializing the object of type System.String. The token ':' was expected but found ','.'. Please see InnerException for more details.
    System.ServiceModel.Dispatcher.NetDispatcherFaultE xception: The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter HAP.Web.API:drive. The InnerException message was 'There was an error deserializing the object of type System.String. The token ':' was expected but found ','.'. Please see InnerException for more details. ---> System.Runtime.Serialization.SerializationExceptio n: There was an error deserializing the object of type System.String. The token ':' was expected but found ','. ---> System.Xml.XmlException: The token ':' was expected but found ','.
    at System.Xml.XmlExceptionHelper.ThrowXmlException(Xm lDictionaryReader reader, String res, String arg1, String arg2, String arg3)
    at System.Runtime.Serialization.Json.XmlJsonReader.Sk ipExpectedByteInBufferReader(Byte characterToSkip)
    at System.Runtime.Serialization.Json.XmlJsonReader.Pa rseStartElement()
    at System.Runtime.Serialization.Json.XmlJsonReader.Re ad()
    at System.Xml.XmlBaseReader.ReadElementContentAsStrin g()
    at System.Runtime.Serialization.Json.JsonStringDataCo ntract.ReadJsonValueCore(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context)
    at System.Runtime.Serialization.Json.JsonDataContract .ReadJsonValue(XmlReaderDelegator jsonReader, XmlObjectSerializerReadContextComplexJson context)
    at System.Runtime.Serialization.Json.DataContractJson Serializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName)
    at System.Runtime.Serialization.XmlObjectSerializer.R eadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
    --- End of inner exception stack trace ---
    at System.Runtime.Serialization.XmlObjectSerializer.R eadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
    at System.Runtime.Serialization.Json.DataContractJson Serializer.ReadObject(XmlDictionaryReader reader, Boolean verifyObjectName)
    at System.ServiceModel.Dispatcher.DataContractSeriali zerOperationFormatter.PartInfo.ReadObject(XmlDicti onaryReader reader, XmlObjectSerializer serializer)
    at System.ServiceModel.Dispatcher.DataContractJsonSer ializerOperationFormatter.DeserializeParameterPart (XmlDictionaryReader reader, PartInfo part)
    --- End of inner exception stack trace ---
    at System.ServiceModel.Dispatcher.DataContractJsonSer ializerOperationFormatter.DeserializeParameterPart (XmlDictionaryReader reader, PartInfo part)
    at System.ServiceModel.Dispatcher.DataContractJsonSer ializerOperationFormatter.DeserializeParameters(Xm lDictionaryReader reader, PartInfo[] parts, Object[] parameters, PartInfo returnInfo, Object& returnValue)
    at System.ServiceModel.Dispatcher.DataContractJsonSer ializerOperationFormatter.DeserializeBodyCore(XmlD ictionaryReader reader, Object[] parameters, Boolean isRequest)
    at System.ServiceModel.Dispatcher.DataContractJsonSer ializerOperationFormatter.DeserializeBody(XmlDicti onaryReader 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.DemultiplexingDispa tchMessageFormatter.DeserializeRequest(Message message, Object[] parameters)
    at System.ServiceModel.Dispatcher.UriTemplateDispatch Formatter.DeserializeRequest(Message message, Object[] parameters)
    at System.ServiceModel.Dispatcher.DispatchOperationRu ntime.DeserializeInputs(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.DispatchOperationRu ntime.InvokeBegin(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage5(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage31(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.MessageRpc.Process( Boolean isOperationContextSet)
    at System.ServiceModel.Dispatcher.DataContractJsonSer ializerOperationFormatter.DeserializeParameterPart (XmlDictionaryReader reader, PartInfo part)
    at System.ServiceModel.Dispatcher.DataContractJsonSer ializerOperationFormatter.DeserializeParameters(Xm lDictionaryReader reader, PartInfo[] parts, Object[] parameters, PartInfo returnInfo, Object& returnValue)
    at System.ServiceModel.Dispatcher.DataContractJsonSer ializerOperationFormatter.DeserializeBodyCore(XmlD ictionaryReader reader, Object[] parameters, Boolean isRequest)
    at System.ServiceModel.Dispatcher.DataContractJsonSer ializerOperationFormatter.DeserializeBody(XmlDicti onaryReader 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.DemultiplexingDispa tchMessageFormatter.DeserializeRequest(Message message, Object[] parameters)
    at System.ServiceModel.Dispatcher.UriTemplateDispatch Formatter.DeserializeRequest(Message message, Object[] parameters)
    at System.ServiceModel.Dispatcher.DispatchOperationRu ntime.DeserializeInputs(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.DispatchOperationRu ntime.InvokeBegin(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage5(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage31(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.MessageRpc.Process( Boolean isOperationContextSet)

  15. #15

    Join Date
    Aug 2012
    Location
    Solihull
    Posts
    115
    Thank Post
    1
    Thanked 2 Times in 2 Posts
    Rep Power
    5
    and finally when playing with changing the user to connect to the AD I get: There is something wrong connecting to your AD Infrastructure,
    please review the AD settings and try again.
    The most common cause of this is using a user not in the Domain Admins or Administrators Group

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 13th June 2013, 02:20 PM
  2. Home Access Plus+ banner on most pages - Request
    By mobybrick in forum Home Access Plus+
    Replies: 1
    Last Post: 19th November 2012, 12:46 AM
  3. Setting up home wireless network with MAC and PC..?
    By tosca925 in forum General Chat
    Replies: 6
    Last Post: 21st November 2011, 04:39 PM
  4. Replies: 1
    Last Post: 23rd October 2009, 08:53 AM
  5. Replies: 13
    Last Post: 4th October 2006, 10:42 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
  •