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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:04:17+00:00 2026-05-22T12:04:17+00:00

My RESTful WCF Web service appears to break itself if I leave it alone

  • 0

My RESTful WCF Web service appears to break itself if I leave it alone for a while! I can leave my PC with everything working and when I return and test the service with a simple url request it’ll offer me the .svc file for download instead of initiating the request on the server!

This WCF service sits in it’s own IIS Application folder under the root. I can get the service going again by opening up the IIS sub-folder in Visual Studio, deleting the web.config file and then adding it in again.

My first thought was that HTTP handler mappings for .svc have been borked so I re-ran ServiceModelReg.exe -i, but that hasn’t resolved the issue.

Looking at the Handler Mappings for this IIS Application they appear correct and are inherited from the the web root. It’s worth mentioning that this site also has another Application folder running WCF services from a .svc fle and is still functioning fine!

Now that I’ve checked the obvious am a bit flumoxed about where to look next! Hoping someone has suggestions…

  • 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-22T12:04:17+00:00Added an answer on May 22, 2026 at 12:04 pm

    Well I did figure this out eventually. Just a weird quirk of IE/IIS. I was testing by putting my REST URI in IE’s address bar and expecting to see a page of JSON if everything worked. This is what would happen the first time the service was used. On further attempts IE would offer to download a file called ‘FooService.svc’ that actually contained my JSON data – I was never being offered to download my server-side svc file.

    Ho hum, computers eh. Can’t live with ’em, …

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

Sidebar

Related Questions

I'm working on a RESTful web-service with the WCF Web API. Another party provided
I'm trying to consume a RESTful JSON web service using WCF on the client
One test webserver, with the following applications service.ganymedes.com:8008 - WCF RESTful service, basically the
I have a RESTful WCF web service that processes huge XML files that are
I'm trying to use WCF 4 to set up a RESTful web service. I'd
I've been trying to do a simple restful wcf service that will return JSON.
I have a RESTful WCF web service called "Palladium" as a project in my
I have a restful WCF web service and a WCF web service.. the flow
I'm trying to contact a RESTful WCF POST web service from an android client
I have a WCF Web Api Restful webservice. I want every single service call

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.