SlackerCoder
SlackerCoder

Reputation: 1351

RESTful WCF issue (C#, .net 4)

Im using this example as a guide: http://geekswithblogs.net/michelotti/archive/2010/08/21/restful-wcf-services-with-no-svc-file-and-no-config.aspx

I've created the site by following that example and it works fine in local development (VS 2010). Once I deploy to my server (Windows 2008 R2, IIS 7) it tells me it's not found (404).

Is there a setting in IIS that Im missing? I have it set up exactly like regular web entry.

Has anyone ever run into something like this?

Thanks!

Upvotes: 3

Views: 556

Answers (2)

Ladislav Mrnka
Ladislav Mrnka

Reputation: 364249

Check that your app pool hosting the service uses .NET 4 and integrated pipeline. Also check that WCF 4 handlers are registred in IIS - ServiceModelReg.exe tool.

Upvotes: 1

Related Questions