+ Post New Thread
Results 1 to 11 of 11
Home Access Plus+ Thread, HAP Setup in Projects:; Hi, I have setup HAP a few times but with this latest install on server 2012 I am struggling. Has ...
  1. #1
    clarky2k3's Avatar
    Join Date
    Nov 2007
    Location
    Northumberland
    Posts
    318
    Thank Post
    35
    Thanked 47 Times in 39 Posts
    Rep Power
    24

    HAP Setup

    Hi,

    I have setup HAP a few times but with this latest install on server 2012 I am struggling. Has anyone had a problem where on the setup page they can click the tabs across the top?

    Any help is appreciated.

  2. #2
    clarky2k3's Avatar
    Join Date
    Nov 2007
    Location
    Northumberland
    Posts
    318
    Thank Post
    35
    Thanked 47 Times in 39 Posts
    Rep Power
    24
    Okay getting a new error now -


    Server Error in '/homeaccess' Application.
    --------------------------------------------------------------------------------


    An operations error occurred.

    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.DirectoryServices.DirectoryServicesCOMExcep tion: An operations error occurred.


    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:



    [DirectoryServicesCOMException (0x80072020): An operations error occurred.
    ]
    System.DirectoryServices.DirectoryEntry.Bind(Boole an throwIfFail) +628277
    System.DirectoryServices.DirectoryEntry.Bind() +44
    System.DirectoryServices.DirectoryEntry.get_AdsObj ect() +42
    System.DirectoryServices.PropertyValueCollection.P opulateList() +29
    System.DirectoryServices.PropertyValueCollection.. ctor(DirectoryEntry entry, String propertyName) +63
    System.DirectoryServices.PropertyCollection.get_It em(String propertyName) +163
    System.DirectoryServices.AccountManagement.Princip alContext.DoLDAPDirectoryInitNoContainer() +521413
    System.DirectoryServices.AccountManagement.Princip alContext.DoDomainInit() +51
    System.DirectoryServices.AccountManagement.Princip alContext.Initialize() +161
    System.DirectoryServices.AccountManagement.Princip alContext.get_QueryCtx() +42
    System.DirectoryServices.AccountManagement.Princip al.FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate) +29
    System.DirectoryServices.AccountManagement.UserPri ncipal.FindByIdentity(PrincipalContext context, String identityValue) +81
    HAP.AD.User.Authenticate(String username, String password) +295
    HAP.Web.Global.Application_Start(Object sender, EventArgs e) +187

    [HttpException (0x80004005): An operations error occurred.
    ]
    System.Web.HttpApplicationFactory.EnsureAppStartCa lledForIntegratedMode(HttpContext context, HttpApplication app) +12864673
    System.Web.HttpApplication.RegisterEventSubscripti onsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +175
    System.Web.HttpApplication.InitSpecial(HttpApplica tionState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304
    System.Web.HttpApplicationFactory.GetSpecialApplic ationInstance(IntPtr appContext, HttpContext context) +404
    System.Web.Hosting.PipelineRuntime.InitializeAppli cation(IntPtr appContext) +475

    [HttpException (0x80004005): An operations error occurred.
    ]
    System.Web.HttpRuntime.FirstRequestInit(HttpContex t context) +12881540
    System.Web.HttpRuntime.EnsureFirstRequestInit(Http Context context) +159
    System.Web.HttpRuntime.ProcessRequestNotificationP rivate(IIS7WorkerRequest wr, HttpContext context) +12722601




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

  3. #3
    clarky2k3's Avatar
    Join Date
    Nov 2007
    Location
    Northumberland
    Posts
    318
    Thank Post
    35
    Thanked 47 Times in 39 Posts
    Rep Power
    24
    Okay,

    I have copied the hapconfig.xml from another install and logged in fine then the page just keeps looping...

  4. #4
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,577
    Thank Post
    39
    Thanked 512 Times in 442 Posts
    Rep Power
    115

  5. #5
    clarky2k3's Avatar
    Join Date
    Nov 2007
    Location
    Northumberland
    Posts
    318
    Thank Post
    35
    Thanked 47 Times in 39 Posts
    Rep Power
    24
    That hotfix doesnt apply to server 2012, is it because I havent got ASP.NET 3.5 installed?

    EDIT - Installed ASP.NET 3.5 still the webpage refreshes every second.
    Last edited by clarky2k3; 10th July 2013 at 03:07 PM. Reason: More info

  6. #6
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,577
    Thank Post
    39
    Thanked 512 Times in 442 Posts
    Rep Power
    115
    You shouldn't need ASP.net 3.5.

    With the config from another install, is it from the same server? There is server specific data used to encrypt passwords in HAP+

  7. #7
    clarky2k3's Avatar
    Join Date
    Nov 2007
    Location
    Northumberland
    Posts
    318
    Thank Post
    35
    Thanked 47 Times in 39 Posts
    Rep Power
    24
    Hi,

    No it isn't the same server, I will start again with v9.2 with a fresh setup and see how I get on. The reason why I copied the XML is on the setup page the links didn't work.

  8. #8
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,577
    Thank Post
    39
    Thanked 512 Times in 442 Posts
    Rep Power
    115
    The links don't work? Is the style sheet not getting loaded?

  9. #9
    clarky2k3's Avatar
    Join Date
    Nov 2007
    Location
    Northumberland
    Posts
    318
    Thank Post
    35
    Thanked 47 Times in 39 Posts
    Rep Power
    24
    Started again, getting a red cross on services activated. The style sheet is getting loaded if I go to /style/basestyle.css.

    If I go to /api/setup I get the following error -

    A binding instance has already been associated to listen URI 'https://%myurl%/homeaccess/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://%myurl%/homeaccess/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://%myurl%/homeaccess/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) +2451
    System.ServiceModel.ServiceHostBase.InitializeRunt ime() +65
    System.ServiceModel.ServiceHostBase.OnBeginOpen() +34
    System.ServiceModel.ServiceHostBase.OnOpen(TimeSpa n timeout) +50
    System.ServiceModel.Channels.CommunicationObject.O pen(TimeSpan timeout) +310
    System.ServiceModel.Channels.CommunicationObject.O pen() +36
    System.ServiceModel.HostingManager.ActivateService (ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity) +91
    System.ServiceModel.HostingManager.EnsureServiceAv ailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity) +598

    [ServiceActivationException: The service '/homeaccess/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://%myurl%/homeaccess/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) +495736
    System.ServiceModel.Activation.HostedHttpRequestAs yncResult.End(IAsyncResult result) +178
    System.ServiceModel.Activation.AspNetRouteServiceH ttpHandler.EndProcessRequest(IAsyncResult result) +6
    System.Web.CallHandlerExecutionStep.OnAsyncHandler Completion(IAsyncResult ar) +129




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

  10. #10
    clarky2k3's Avatar
    Join Date
    Nov 2007
    Location
    Northumberland
    Posts
    318
    Thank Post
    35
    Thanked 47 Times in 39 Posts
    Rep Power
    24
    Okay, if I remove the http binding and keep the https binding, it works...

    Add the http back on and it doesnt!

  11. #11
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,577
    Thank Post
    39
    Thanked 512 Times in 442 Posts
    Rep Power
    115
    Best way to solve this,

    Add a Site on http that redirects to the https

SHARE:
+ Post New Thread

Similar Threads

  1. HAP Setup
    By TechMonkey in forum Home Access Plus+
    Replies: 1
    Last Post: 25th September 2012, 04:27 PM
  2. HAP+ Setup IIS 7 configuration problem
    By W32/Jbot in forum Home Access Plus+
    Replies: 8
    Last Post: 7th March 2012, 11:48 PM
  3. [v7.5] HAP+ Setup Install Problem
    By teklogic in forum Home Access Plus+
    Replies: 48
    Last Post: 23rd November 2011, 10:26 AM
  4. [V7] HAP+ Setup
    By nickbro in forum Home Access Plus+
    Replies: 12
    Last Post: 29th August 2011, 04:22 PM
  5. HAP+ Setup Issue
    By JAB1a in forum Home Access Plus+
    Replies: 15
    Last Post: 13th July 2011, 09:26 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
  •