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

  • SEARCH
  • Home
  • 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 6611861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T20:01:33+00:00 2026-05-25T20:01:33+00:00

I have developed window application and in that i am calling WCF at particular

  • 0

I have developed window application and in that i am calling WCF at particular time interval however there is no error in inserting data into database through WCF but in log entry i am getting one error regarding WCF Endpoint as per below

2011-22-09 10:16>>Error: There was no endpoint listening at
myserviceUrl(.svc) that could accept the message. This is often
caused by an incorrect address or SOAP action. See InnerException, if
present, for more details.

app.config file as per below and i guess that probably error should be in below configuration

<client>
      <endpoint address="myserviceUrl(.svc)"
        binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IApicaAzureMonitorAgentReceiverWCF"
        contract="Dashboard2WCFData.IApicaAzureMonitorAgentReceiverWCF"
        name="BasicHttpBinding_IApicaAzureMonitorAgentReceiverWCF" />
    </client>

Below is my (WCF)service’s configuration..

<configuration>

  <configSections>
    <section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null"/>
  </configSections>
  <dataConfiguration defaultDatabase="Connectionstr"/>
  <connectionStrings>
    <add name="Connectionstr" connectionString="myconnectionstring"/>   
  </connectionStrings>
  <system.web>
    <compilation debug="true" targetFramework="4.0" />
  </system.web>
  <system.serviceModel>
    <behaviors>
      <serviceBehaviors>
        <behavior>
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
  </system.serviceModel>
  <system.webServer>
    <modules runAllManagedModulesForAllRequests="true"/>
  </system.webServer>

</configuration>

Please help me to sort out of this issues.

Thanks.

  • 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-25T20:01:34+00:00Added an answer on May 25, 2026 at 8:01 pm

    You need to make sure that the endpoint is configured at the service side, not just your client. In other words, if the client uses myserviceUrl(.svc), the address needs to be specified in the service’s config file.

    Based on the error message you got, try this in the service’s config file:

    <endpoint address="myserviceUrl(.svc)"
        binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IApicaAzureMonitorAgentReceiverWCF"
        contract="Dashboard2WCFData.IApicaAzureMonitorAgentReceiverWCF"
        name="BasicHttpBinding_IApicaAzureMonitorAgentReceiverWCF" />
    

    Note that you’ll need to ensure your service has the appropriate binding section named “BasicHttpBinding_IApicaAzureMonitorAgentReceiverWCF”.

    If you need a more thorough example, post your service’s config file and we’ll help you out.

    UPDATE
    Add an endpoint section, and a binding section if you have any values set to other than the default values:

    <system.serviceModel>
    <behaviors>
      <serviceBehaviors>
        <behavior>
        </behavior>
      </serviceBehaviors>
    </behaviors>
    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
    <services>
        <service name="myServiceName">
         <endpoint address="myserviceUrl(.svc)"
                   binding="basicHttpBinding"
                   bindingConfiguration="BasicHttpBinding_IApicaAzureMonitorAgentReceiverWCF"
                   contract="Dashboard2WCFData.IApicaAzureMonitorAgentReceiverWCF"
                   name="BasicHttpBinding_IApicaAzureMonitorAgentReceiverWCF"/>
         <endpoint name="mexHttpBinding"
                   contract="IMetadataExchange"
                   binding="mexHttpBinding"
                   address="mex" />
      </service>
    </services>
    <bindings>
        <basicHttpBinding>
            <binding name="BasicHttpBinding_IApicaAzureMonitorAgentReceiverWCF" />
        </basicHttpBinding>
    </bindings>
    

    In the <binding name="" section is where you’d set the values for the binding. If you don’t do this (and don’t specify the section in the endpoint’s bindingConfiguration attribute) WCF will use the default values for basicHttpBinding.

    NOTE: With WCF 4.0 and later, you actually don’t need to specify an endpoint (or create a .svc file if hosting under IIS), as WCF will supply a default endpoint based on the URI of the service. See A Developer’s Introduction to Windows Communication Foundation 4 for details on this and other new features in 4.0.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed an ASP.NET application that includes a WCF service. This service needs
I have developed a WinForms application in C# that can make any window top
I have a windows application that acts as a WCF Service that I developed
I have developed a window application in VS2005 using C#. I need to integrate
I have developed a Facebook application that runs inside an iframe in the Facebook
I have developed one window application in C# where i am creating one thread
I have developed a small ASP.NET MVC 3 application in that I have an
I have developed a face book iframe application in .net c#.First time when user
I have developed a small application using Perl/Tk. The application will fetch data from
VS 2008 I have developed a device application that runs on windows mobile 5.

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.