How to Add .svc Handler in IIS 7

When you are trying to access .svc file on the browser, you may get this error

HTTP Error 404.3 -Not Found
“The page you are requesting cannot be served because of the extension of the configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map”

To solve this problem:

  1. Start to command window (CMD) as an Administrator.
  2. Go to “C:\windows\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\” directory. If your operation system is 64bit machine so navigate to “C:\windows\Microsoft.Net\Framework64\v3.0\Windows Communication Foundation\”
  3. Run this command ServiceModelReg –i

 

Reference:
http://www.kemalkaradag.com/post/2010/02/25/WCF-on-IIS7-Adding-svc-Handler.aspx

Advertisements

One thought on “How to Add .svc Handler in IIS 7

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s