+ Post New Thread
Page 3 of 3 FirstFirst 123
Results 31 to 41 of 41
Home Access Plus+ Thread, Services Activated red cross in Projects:; Ok.. Ive just tried something and got this at http://{server}/hap/api/setup: Server Error in '/HAP' Application. -------------------------------------------------------------------------------- Configuration Error Description: An ...
  1. #31
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    3,017
    Thank Post
    304
    Thanked 288 Times in 200 Posts
    Rep Power
    120
    Ok..

    Ive just tried something and got this at http://{server}/hap/api/setup:

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

    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: An endpoint reference cycle was detected in your configuration. The following reference cycle must be removed: webHttpEndpoint/, webHttpEndpoint/.

    Source Error:


    Line 242:
    Line 243:
    Line 244:
    Line 245:
    Line 246:



    Source File: C:\inetpub\wwwroot\HAP\web.config Line: 244


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

  2. #32
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    3,017
    Thank Post
    304
    Thanked 288 Times in 200 Posts
    Rep Power
    120
    I also get:

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

    Could not find a base address that matches scheme https for the endpoint with binding WebHttpBinding. Registered base address schemes are [http].
    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: Could not find a base address that matches scheme https for the endpoint with binding WebHttpBinding. Registered base address schemes are [http].

    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: Could not find a base address that matches scheme https for the endpoint with binding WebHttpBinding. Registered base address schemes are [http].]
    System.ServiceModel.ServiceHostBase.MakeAbsoluteUr i(Uri relativeOrAbsoluteUri, Binding binding, UriSchemeKeyedCollection baseAddresses) +12230836
    System.ServiceModel.Description.ConfigLoader.Confi gureEndpointAddress(ServiceEndpointElement serviceEndpointElement, ServiceHostBase host, ServiceEndpoint endpoint) +54
    System.ServiceModel.Description.ConfigLoader.Confi gureEndpoint(StandardEndpointElement standardEndpointElement, ServiceEndpointElement serviceEndpointElement, ContextInformation context, ServiceHostBase host, ServiceDescription description, ServiceEndpoint& endpoint, Boolean omitSettingEndpointAddress) +487
    System.ServiceModel.Description.ConfigLoader.Looku pEndpoint(ServiceEndpointElement serviceEndpointElement, ContextInformation context, ServiceHostBase host, ServiceDescription description, Boolean omitSettingEndpointAddress) +616
    System.ServiceModel.Web.WebServiceHost.AddAutomati cWebHttpBindingEndpoints(ServiceHost host, IDictionary`2 implementedContracts, String multipleContractsErrorMessage, String standardEndpointKind) +679
    System.ServiceModel.Web.WebServiceHost.OnOpening() +244
    System.ServiceModel.Channels.CommunicationObject.O pen(TimeSpan timeout) +274
    System.ServiceModel.Channels.CommunicationObject.O pen() +36
    System.ServiceModel.HostingManager.ActivateService (String normalizedVirtualPath) +184
    System.ServiceModel.HostingManager.EnsureServiceAv ailable(String normalizedVirtualPath) +615

    [ServiceActivationException: The service '/HAP/api/setup' cannot be activated due to an exception during compilation. The exception message is: Could not find a base address that matches scheme https for the endpoint with binding WebHttpBinding. Registered base address schemes are [http]..]
    System.Runtime.AsyncResult.End(IAsyncResult result) +679246
    System.ServiceModel.Activation.HostedHttpRequestAs yncResult.End(IAsyncResult result) +190
    System.ServiceModel.Activation.AspNetRouteServiceH ttpHandler.EndProcessRequest(IAsyncResult result) +6
    System.Web.CallHandlerExecutionStep.OnAsyncHandler Completion(IAsyncResult ar) +96




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

  3. #33
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,520
    Thank Post
    37
    Thanked 501 Times in 432 Posts
    Rep Power
    113
    Make sure you accessing your HAP site using HTTPS (SSL)

  4. #34
    timbo343's Avatar
    Join Date
    Dec 2005
    Location
    Leeds/York area, North Yorkshire
    Posts
    3,017
    Thank Post
    304
    Thanked 288 Times in 200 Posts
    Rep Power
    120
    Well the services are working when you access the site in HTTPS. Maybe i got crossed wires Duke5A's way of getting the certificate to work.

    The server i have got HAP installed on isnt a DC. Does it need to be a DC for the active directory plug in to work?

  5. #35
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,520
    Thank Post
    37
    Thanked 501 Times in 432 Posts
    Rep Power
    113
    Nope, HAP+ works best, for functionality and security, on a member server

  6. #36

    Join Date
    Sep 2011
    Posts
    162
    Thank Post
    5
    Thanked 1 Time in 1 Post
    Rep Power
    0
    I too am getting a red X on Services Activated. Although I am using a valid wildcard certificate instead (which works for all our other sites). I do have another site running in IIS under Default Sites which required the wildcard cert. If the only fix to this is to use a self-signed one, how can I assign it to the HAP site only? Or is there another fix for the red X?

    If I go to https://localhost/hap/api/setup, I get:

    A binding instance has already been associated to listen URI 'https://[server]/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.

    EDIT: Just fixed it using your own reply to another post: "Remove the http binding from IIS, see if that fixes it"

    Thanks!
    Last edited by nLinked; 9th November 2012 at 10:11 AM.

  7. #37
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,520
    Thank Post
    37
    Thanked 501 Times in 432 Posts
    Rep Power
    113
    Remove the http binding, leaving the https binding

  8. Thanks to nickbro from:

    nLinked (9th November 2012)

  9. #38

    Join Date
    Sep 2011
    Posts
    162
    Thank Post
    5
    Thanked 1 Time in 1 Post
    Rep Power
    0
    All working great now, thanks for all your help.

    Do you know if there's a way to allow me to still access setup.aspx, but not allow anyone else? I have made the changes to web.config which Setup told me to make when I clicked SAVE, but that then locks me out from setup.aspx.

    Of course, I don't want anyone else to be able to go to setup.aspx if I do enable it...

  10. #39
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,520
    Thank Post
    37
    Thanked 501 Times in 432 Posts
    Rep Power
    113
    The change to the web.config file should stop non Domain Admins from getting to the setup page, if you are not a domain admin in that domain it will not like you.

  11. Thanks to nickbro from:

    nLinked (12th November 2012)

  12. #40

    Join Date
    Sep 2011
    Posts
    162
    Thank Post
    5
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Thanks it works, my browser cache thinking I was still logged on as another user.

  13. #41

    Join Date
    Nov 2007
    Location
    Nottingham
    Posts
    116
    Thank Post
    7
    Thanked 23 Times in 14 Posts
    Rep Power
    17
    Quote Originally Posted by nickbro View Post
    Remove the http binding, leaving the https binding
    This has just resolved my Services Activated issue running on IIS8, Will this render IIS useless for hosting HTTP pages?

    Cheers

SHARE:
+ Post New Thread
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Replies: 2
    Last Post: 10th February 2013, 02:16 AM
  2. Replies: 6
    Last Post: 16th July 2011, 08:45 PM
  3. Remote Installation Services (RIS)
    By Dos_Box in forum How do you do....it?
    Replies: 140
    Last Post: 29th June 2010, 06:27 PM
  4. Red Cross against Web content filter - why?
    By theeldergeek in forum Internet Related/Filtering/Firewall
    Replies: 2
    Last Post: 25th November 2009, 04:02 PM
  5. SynchronEyes 7 - Red Crosses through students?
    By TheydonBois in forum Educational Software
    Replies: 1
    Last Post: 6th October 2009, 11:27 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
  •