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 6938589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:30:45+00:00 2026-05-27T12:30:45+00:00

I have only been playing w/ wcf stuff for about a week. I have

  • 0

I have only been playing w/ wcf stuff for about a week. I have it working on the dev server in Visual Studio, and now I want to put the project on the web. I used publish in Visual Studio to put it up w/ ftp. My FTP client confirms the files are there, but when I enter the address in a browser, I get the following error:

Server Error in ‘/’ Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

Requested URL: /EquipService.svc

Is there some setting I need to change or some setup I need to do on the server? I don’t know why it says the file is unavailable since FileZilla shows the files on the server. Any help would be appreciated.
Thanks

EDIT:
Here is the Web.config, but just as a preface, I don’t know what any of this is doing, I just copied bits and pieces from another guys project until the errors stopped and it worked. 😐

<?xml version="1.0" encoding="UTF-8"?>

<protocolMapping>
  <add scheme="http" binding="webHttpBinding" bindingConfiguration="webHttpBinding"/>
</protocolMapping>
<behaviors>
  <endpointBehaviors>

    <behavior>
      <webHttp helpEnabled="true" automaticFormatSelectionEnabled="true"/>
    </behavior> 
  </endpointBehaviors>

  <serviceBehaviors>
    <behavior name="metadataSupport">

      <serviceMetadata httpGetEnabled="true" />

      <serviceDebug includeExceptionDetailInFaults="false"/>
    </behavior>
  </serviceBehaviors>
</behaviors>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true">
  <baseAddressPrefixFilters>
    <add prefix ="localhost"/>
    </baseAddressPrefixFilters>
  </serviceHostingEnvironment>
<bindings>
  <webHttpBinding>
    <binding name="webHttpBinding">
      <security mode="None">
      </security>
    </binding>
  </webHttpBinding>
</bindings>
<services>
  <service name="EquipService.svc">
    <endpoint address="~/EquipService.svc" binding="webHttpBinding" contract="Equipment.IEquipService" />
    <endpoint contract="IMetadataExchange" binding="mexHttpBinding" address="mex" />
  </service>
</services>

Im still not quite understanding why the services work on the Visual Studio server, and not on a web server.

But thanks for looking.

  • 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-27T12:30:45+00:00Added an answer on May 27, 2026 at 12:30 pm

    Use the WCFTestClient.exe to test your service.

    Couple of things that I have learned. Its always good to create a seperate project for Services.

    You can create a webservice and it can be consumed in the same web project using the localhost as address.

    I had a scenario where I was trying to call it from my website’s HTML page using javascript and it didn’t work because I created the webservice in the regular webapp. In order to access it from javascript i needed to publish that service over the internet so the javascript can refer to a link (rather than localhost).

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

Sidebar

Related Questions

I've been tasked with maintaining a Visual Studio 2005 solution but I only have
I have only been working with sharepoint for three months but right from the
I have been working on a wrapper for a COM object that can only
I only want a list of files that have been added (not ones that
I have been working with relational databases for sometime, but it only recently occurred
I have been programming in Perl, off and on, for years now, although only
I have been playing with Google maps I had it working but when I
I've been playing with Typekit for a year now and I've only just noticed
I have been playing with DynamicJasper lately, and have been pretty impressed. The only
I have been playing with server side sorting/paging using YUI DataTable, and everything is

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.