cromertech Posted November 22, 2013 Posted November 22, 2013 I have searched all the other threads that relate to this but I can't find anything that relates to my problem. I have https only access to the site and when I navigate to /api/setup I get the following errors alternately Server Error in '/' 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 250: Line 251: Line 252: Line 253: Line 254: Source File: C:\HAP\web.config Line: 252 Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1016 Server Error in '/' Application. Could not find a base address that matches scheme http for the endpoint with binding WebHttpBinding. Registered base address schemes are [https]. 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 http for the endpoint with binding WebHttpBinding. Registered base address schemes are [https]. 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 http for the endpoint with binding WebHttpBinding. Registered base address schemes are [https].] System.ServiceModel.ServiceHostBase.MakeAbsoluteUri(Uri relativeOrAbsoluteUri, Binding binding, UriSchemeKeyedCollection baseAddresses) +12393964 System.ServiceModel.Description.ConfigLoader.ConfigureEndpointAddress(ServiceEndpointElement serviceEndpointElement, ServiceHostBase host, ServiceEndpoint endpoint) +54 System.ServiceModel.Description.ConfigLoader.ConfigureEndpoint(StandardEndpointElement standardEndpointElement, ServiceEndpointElement serviceEndpointElement, ContextInformation context, ServiceHostBase host, ServiceDescription description, ServiceEndpoint& endpoint, Boolean omitSettingEndpointAddress) +487 System.ServiceModel.Description.ConfigLoader.LookupEndpoint(ServiceEndpointElement serviceEndpointElement, ContextInformation context, ServiceHostBase host, ServiceDescription description, Boolean omitSettingEndpointAddress) +616 System.ServiceModel.Web.WebServiceHost.AddAutomaticWebHttpBindingEndpoints(ServiceHost host, IDictionary`2 implementedContracts, String multipleContractsErrorMessage, String standardEndpointKind) +711 System.ServiceModel.Web.WebServiceHost.OnOpening() +244 System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) +274 System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +206 System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +651 [serviceActivationException: The service '/api/setup' cannot be activated due to an exception during compilation. The exception message is: Could not find a base address that matches scheme http for the endpoint with binding WebHttpBinding. Registered base address schemes are [https]..] System.Runtime.AsyncResult.End(IAsyncResult result) +688702 System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +190 System.ServiceModel.Activation.AspNetRouteServiceHttpHandler.EndProcessRequest(IAsyncResult result) +6 System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +96 Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1016 I had a working V8 on this same server with the same configuration so I'm at a loss to see what was changed. When I upgraded I made a backup of the whole HAP folder and started from scratch. I haven't copied my config back yet so this is just like a fresh install. When I put my version 8 files back as active it all works again. From the error above if I change the following to [code] the error at least goes away but the service status says endpoint not found of course. Any help greatly appreciated
cromertech Posted November 22, 2013 Author Posted November 22, 2013 Have found my answer. change this in web.config [color=#000080][/color] [color=#000080][/color] [color=#000080][/color] [color=#000080][/color] [color=#000080][/color] [color=#000080][/color] [color=#000080][/color] [color=#000080][/color] [color=#000080][/color] [color=#000080][/color] [color=#000080][/color] [color=#000080][/color] [color=#000080][/color] [color=#000080][/color] [color=#000080][/color] [color=#000080][/color] [color=#000080][/color] [color=#000080][/color] [color=#000080][/color] [color=#000080][/color] [color=#000080][/color] [color=#000080][/color] [color=#000080][/color] [color=#000080][/color]
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