Unable to configure WCF service for net.tcp in IIS hosting multiple sites

Trying to set up second web site in IIS 7, most/all of the mirrored services function except ones configured for net.tcp. Trying to access the .svc url, I receive the following error:

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

IIS binding configuration:

Advanced Settings:

Trying to follow answers found on Stack Overflow, none seem to work. Content of the service's web.config:

<system.serviceModel>
    <services>
        <service name="ServiceName">
            <endpoint address="basic" binding="basicHttpBinding" bindingConfiguration=""
              name="basic" contract="ServiceName.IService" />
            <endpoint address="nettcp" binding="netTcpBinding" bindingConfiguration=""
              name="netTCP" contract="ServiceName.IService" />
            <host>
                <baseAddresses>
                    <add baseAddress="http://staging.localhost/ServiceName" />
                    <add baseAddress="net.tcp://localhost:8033/ServiceName" />
                </baseAddresses>
            </host>
        </service>
    </services>

Is there a trick to the net.tcp bindings? What is correct configuration needed in the web.config?

Thanks!

Answers


A screenshot is worth a 1,000 words sometimes. In IIS manager, right-click on the application "ServiceName" and select Manage Application->Advanced Settings. In the advanced settings dialog box, check to see if you've added net.tcp to the Enabled Protocols:


Need Your Help

WPF Loose XAML ResourceDictionary

wpf xaml wpf-controls resourcedictionary

I am trying to use a ResourceDictionary in loose XAML and load it a runtime to provide templates and styles to a WPF app. I have the XAML available in a local directory and am adding a new

List of tables, db schema, dump etc using the Python sqlite3 API

python api sqlite dump

For some reason I can't find a way to get the equivalents of sqlite's interactive shell commands: