WCF 404 Page Not Found

Just a quick note about hosting your WCF service in IIS.  I had some problems getting this to work yesterday.  Everything worked great on my developement machine.  I had my WCF service serving up data and functionality to my ASP.Net front end and a Windows Service I’m using for automation and monitoring.  I moved everything out to IIS on the test machine, configured the sites in IIS and started testing.  I kept getting HTTP 404 Page Not Found Errors while trying to reach my WCF service.  I found a great blog post from Jean-Paul Smit that finally solved my issue.  I had to do number 3 in his list of possible solutions. 

%windir%\Microsoft.NET\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe /s:W3SVC

Once I ran this from the cmd prompt everything worked great.  Thanks Jean-Paul!

One final note: If you don’t have the file mentioned above you need to download and install .Net Framework 3.0.  I ran accross this on one of my servers. 

Posted in |

12 comments:

  1. Anonymous Says:

    Thank-you, thank-you, thank-you. I spent an entire day trying to figure out why my first venture into WCF services would run on IIS7 and not IIS6 and this entry of yours was the fix. Thanks again!

  2. jozef Says:

    I can't begin to say how thankful I am for this post.

  3. Unknown Says:

    Saved my weekend - thanks!

  4. Anonymous Says:

    What remarkable question achat levitra Consider not very well?

  5. Anonymous Says:

    gftdhopscg acdsalkksi [url=http://www.italtubi.com]comprare levitra online [/url] ftkyaqdmvm lkjabqwjks levitra gchumroedp saxwliysdf

  6. Anonymous Says:

    votre idГ©e est brillante [url=http://www.ci2s.org]achat cialis[/url] Est d'accord, la phrase utile achat cialis

  7. Anonymous Says:

    En effet et comme je ne me suis pas rendu compte plus tГґt http://runfr.com/tag/20mg acheter cialis 20mg cialis 10mg

  8. Anonymous Says:

    vous n'ГЄtes pas semblables Г  l'expert :) cialis http://runfr.com/tag/cialis-generique cialis generique cialis generique

  9. Anonymous Says:

    Bravo, il me semble c'est l'idГ©e magnifique acheter cialis cialis generique

  10. Anonymous Says:

    お仕事は何ですか? [url=http://ci2s.org/viagura.htm]バイアグラ 個人輸入[/url] バイアグラ

  11. Anonymous Says:

    http://trungnhi.uni.cc/forum/showthread.php?p=152612
    http://ecashforum.co.cc/index.php/topic,890.0.html
    http://www.fantasygames.ro/forum/viewtopic.php?f=2&t=52306&p=84149

  12. Anonymous Says:

    Je pense que c'est le mensonge. [url=http://runfr.com/cialis]cialis 10mg[/url] http://runfr.com acheter viagra en suisse cialis 20 cialis 10mg