500 Err if you modify Web.config (WCF service applet)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yarbrough40
    Contributor
    • Jun 2009
    • 320

    500 Err if you modify Web.config (WCF service applet)

    Can anyone tell me what might be the cause here? Here's the Scenario.
    I have a website hosted with Arvixe.com and my website has aspx pages as well as a WCF json service (simple enough)

    - All is running fine (aspx pages and WCF calls all return without error)
    1) I make an innocuous change to the web.config (i.e. add a 'space' to a commented area)
    2) move the newly modified web.config from my machine to Arvixe via ftp
    3) call one of the aspx pages <-- no errors
    4) call one of the WCF rest calls <-- ERR: "Failed to load resource: the server responded with a status of 500 (Internal Server Error)"
    5) Oddly I can get it back to normal by calling one of the WCF methods via REST using javascript ajax - and then make another in a browser url. - after that the error goes away and all seems fine once again until I make another web.config modification.

    Any Thoughts?
Working...