Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WCF and WF
  4. Window Service installed but EndPointNotFoundException was caught

Window Service installed but EndPointNotFoundException was caught

Scheduled Pinned Locked Moved WCF and WF
wcfwpfsysadminxmltutorial
3 Posts 3 Posters 5 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    glitteringsound
    wrote on last edited by
    #1

    Dear All, I am struggling to get out from this exception. I don't know why it is thrown always. My service( server) installed correctly from insaller and it is running in the background. But server has exposed the end points in a way:

    But as soon as I send test data after opening the service, to the very first end point exposed by server. it throws the following exception There was no at net.tcp://localhost:8732/PlcInputService a listening endpoint available that could accept the message. This is often caused by an incorrect address or SOAP action. For more details, see "InnerException", if any. while my app.config for this service is :

    bindings.config containing the binding for server and services.config containing the same endpoints which i mentioned above. I have no idea why it is occuring and how to get around from it. Regards Usman

    J U 2 Replies Last reply
    0
    • G glitteringsound

      Dear All, I am struggling to get out from this exception. I don't know why it is thrown always. My service( server) installed correctly from insaller and it is running in the background. But server has exposed the end points in a way:

      But as soon as I send test data after opening the service, to the very first end point exposed by server. it throws the following exception There was no at net.tcp://localhost:8732/PlcInputService a listening endpoint available that could accept the message. This is often caused by an incorrect address or SOAP action. For more details, see "InnerException", if any. while my app.config for this service is :

      bindings.config containing the binding for server and services.config containing the same endpoints which i mentioned above. I have no idea why it is occuring and how to get around from it. Regards Usman

      J Offline
      J Offline
      jinzai
      wrote on last edited by
      #2

      When you self-host, the endpoint must be created by the code that is running the service. The configuration is not used because you are not running your WCF code within ASP.NET or IIS then -- it is standalone.

      1 Reply Last reply
      0
      • G glitteringsound

        Dear All, I am struggling to get out from this exception. I don't know why it is thrown always. My service( server) installed correctly from insaller and it is running in the background. But server has exposed the end points in a way:

        But as soon as I send test data after opening the service, to the very first end point exposed by server. it throws the following exception There was no at net.tcp://localhost:8732/PlcInputService a listening endpoint available that could accept the message. This is often caused by an incorrect address or SOAP action. For more details, see "InnerException", if any. while my app.config for this service is :

        bindings.config containing the binding for server and services.config containing the same endpoints which i mentioned above. I have no idea why it is occuring and how to get around from it. Regards Usman

        U Offline
        U Offline
        User 8699208
        wrote on last edited by
        #3

        Foe Self-hosting application please check the following link: Hosting WCF services in a Windows Forms Application[^] here si described very well how to self host an WCF Service :)) BR

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups