Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7611187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:36:19+00:00 2026-05-31T01:36:19+00:00

My current config looks like so: <system.serviceModel> <serviceHostingEnvironment aspNetCompatibilityEnabled=true/> <standardEndpoints> <webHttpEndpoint> <!–Set limit to

  • 0

My current config looks like so:

<system.serviceModel>
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true"/>
    <standardEndpoints>
      <webHttpEndpoint>
        <!--Set limit to 5 megabytes-->
        <standardEndpoint helpEnabled="true" automaticFormatSelectionEnabled="true" maxReceivedMessageSize="5242880">
          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
                        maxArrayLength="2147483647"
                        maxBytesPerRead="2147483647"
                        maxNameTableCharCount="2147483647" />

        </standardEndpoint>

      </webHttpEndpoint>
    </standardEndpoints>
  </system.serviceModel>

This works when I have http and https bindings both configured for my website.

I connect to service via https and everything works great.

Now I want to remove http binding on IIS completely. And I started to get error like this:

Could not find a base address that matches scheme http for the
endpoint with binding WebHttpBinding. Registered base address schemes
are [https].

[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) +16582113
System.ServiceModel.Description.ConfigLoader.ConfigureEndpointAddress(ServiceEndpointElement
serviceEndpointElement, ServiceHostBase host, ServiceEndpoint
endpoint) +117
System.ServiceModel.Description.ConfigLoader.ConfigureEndpoint(StandardEndpointElement
standardEndpointElement, ServiceEndpointElement
serviceEndpointElement, ContextInformation context, ServiceHostBase
host, ServiceDescription description, ServiceEndpoint& endpoint,
Boolean omitSettingEndpointAddress) +937
System.ServiceModel.Description.ConfigLoader.LookupEndpoint(ServiceEndpointElement
serviceEndpointElement, ContextInformation context, ServiceHostBase
host, ServiceDescription description, Boolean
omitSettingEndpointAddress) +8728167
System.ServiceModel.Web.WebServiceHost.AddAutomaticWebHttpBindingEndpoints(ServiceHost
host, IDictionary`2 implementedContracts, String
multipleContractsErrorMessage, String standardEndpointKind) +982
System.ServiceModel.Web.WebServiceHost.OnOpening() +311
System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
timeout) +612
System.ServiceModel.HostingManager.ActivateService(String
normalizedVirtualPath) +255
System.ServiceModel.HostingManager.EnsureServiceAvailable(String
normalizedVirtualPath) +1172

[ServiceActivationException: The service ‘/DEMO/mobile’ 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) +901424
System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult
result) +178702
System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult
ar) +136

I found bunch of samples for WCF but REST WCF looks different on config side and I want to understand why it compains. From looks of my config – it should not work over SSL at all but it does work when https binding present..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T01:36:20+00:00Added an answer on May 31, 2026 at 1:36 am

    Do what the error says… fix your binding

     <services>
          <service name="service" behaviorConfiguration="serviceBehavior">
            <endpoint address="" binding="webHttpBinding"
                  bindingConfiguration="https"
    contract="IContract" behaviorConfiguration="endpointBehavior">
            </endpoint>
          </service>
        </services> 
    
    <bindings>
     <webHttpBinding>
      <binding name="https" maxReceivedMessageSize="65536">
        <security mode="Transport" />
        <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
                            maxArrayLength="2147483647"
                            maxBytesPerRead="2147483647"
                            maxNameTableCharCount="2147483647" />
    
      </binding>
     </webHttpBinding>
    </bindings>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My current .htaccess looks like this: RewriteEngine On # RewriteCond %{REQUEST_URI} !^/_project RewriteCond %{REQUEST_FILENAME}
This is what the current code looks like: public static class WidgetFactory { public
We've currently got the current server set up for a site: Server 1: Admin
I've written a small file containing a Glassfish domain creation sequence, that looks like
I've recently had some quite strange race condition in the applet code. Looks like
I've set up devise to work with omniauth and. This is how devise.rb looks
Current, I've got a stored procedure that has a main goal of doing a
Current situation: Ubuntu 8.04 server edition (live server) Postgresql 8.3.7 (from standard repositories) Postgis
Current Application Server Configuration: IIS 6.0 Windows 2003 Server Standard Edition SP2 .NET Framework
current code I've built function to do something over collection of jQuery elements: var

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.