Azure WCF Services cannot run locally on Windows 8

Answered Azure WCF Services cannot run locally on Windows 8

  • Thursday, August 30, 2012 3:49 PM
     
     

    I just upgraded to Windows 8 and I can no longer run my WCF services on the Azure emulator. When I try to send requests to them, I always get a 404 (Except one service, which gives me a 404 Method Not Allowed error). I am using all projects that run great locally on my old Windows 7 computer. Just to see what would happen, I created a brand new service, and it also returned 404 errors. I'm not seeing any enlightening errors in the Diagnostics folders or anywhere else. I'm completely stuck here.

    Can anyone help me? I need to get my machine up and running with Azure ASAP.


    Mike Olson
    Software Architect - CenterX

All Replies

  • Thursday, August 30, 2012 3:56 PM
     
     

    Some further research led me to this Hotfix:

    http://support.microsoft.com/kb/981002

    Which does not install due to the error: 

    Installer encountered an error: 0x80096002

    The certificate for the signer of the message is invalid or not found.

    So I don't know whether that was the problem or not, but I can't install that hotfix anyway.


    Mike Olson
    Software Architect - CenterX

  • Thursday, August 30, 2012 4:13 PM
     
     Answered

    WCF Activation... The eternal bane of my existence.

    http://robindotnet.wordpress.com/2012/03/25/doing-azure-development-on-windows-8/

    The fix:

    Control Panel -> Programs -> Programs and Features -> Turn Windows features on or off

    Expand .NET Framework 4.5 Advanced Services -> WCF Services, select HTTP Activation.

    Even though I'm using .NET 4.0 I went ahead and selected WCF HTTP Activation under .NET Framework 3.5 as well.

    This fixed my problem.


    Mike Olson
    Software Architect - CenterX

    • Marked As Answer by Mike.Olson.0 Thursday, August 30, 2012 4:13 PM
    •  
  • Wednesday, March 06, 2013 2:27 PM
     
     

    Thx! Finally got my old project running.

    Really odd to activate things you don't think you use...

    Regards
    Tommy