Endpoint not found.

Posted on 2012-03-24
Medium Priority
Last Modified: 2012-05-09

I am trying to run the sample of WCF service provided by Microsoft.
Following is the sample that I am trying to run.

I also followed all pre-steps that are needed to be configured.

However when I try to run service at URL, I get following error.

Error says.
"Endpoint not found."

There is not much details that is being displayed in Error, so it is very hard to detect error.

The web.config that comes with sample, has only following section added to it.

  <!-- WCF configuration -->
        <!-- Use this element to configure the endpoint -->
        <standardEndpoint name="" />

Any suggestions on how to resolve this error.

Question by:mauneeld
  • 4

Expert Comment

by:Amit Khilnaney
ID: 37761428

Change the ip address to or localhost and make sure the path is correct, try copying the text file in the same location and reach it through browser. see if it opens,.. i.e. reachable.

Author Comment

ID: 37761630
I have tried localhost as well. It gives same error.


Author Comment

ID: 37761720
I also tried using the wcf test client utility that comes within visual studio.
It gives following error.

Cannot obtain Metadata from http://localhost/ServiceModelSamples/service.svc If this is a Windows (R) Communication Foundation service to which you have access, please check that you have enabled metadata publishing at the specified address.  

For help enabling metadata publishing, please refer to the MSDN documentation at http://go.microsoft.com/fwlink/?LinkId=65455.WS-Metadata Exchange Error    

URI: http://localhost/ServiceModelSamples/service.svc    Metadata contains a reference that cannot be resolved: 'http://localhost/ServiceModelSamples/service.svc'.  
There was no endpoint listening at http://localhost/ServiceModelSamples/service.svc that could accept the message.

This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.    The remote server returned an error: (404) Not Found.HTTP GET Error    URI: http://localhost/ServiceModelSamples/service.svc    There was an error downloading 'http://localhost/ServiceModelSamples/service.svc'.    

The request failed with HTTP status 404: Not Found.

Accepted Solution

mauneeld earned 0 total points
ID: 37931329
No further response. So need to close it.

Author Closing Comment

ID: 37946014
No one responded after I posted my last comments.

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
How to fix display issue, screen flickering issue when I plug in power cord to the machine. Before I start explaining the solution lets check out once the issue how it looks like after I connect the power cord. most of you also have faced this…
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question