When trying to access a WCF .svc endpoint hosted by IIS I receive the following error "The resource you are looking for does not have a handler associated with it."
Solution:
1. Run Server Manager (on task bar and start menu)
2. Choose the server to administer (probably local server)
3. Scroll down to "Roles and Features" section.
4. Choose "Add Role or Feature" from Tasks drop down
5. On "Add Role or Feature Wizard" dialog, click down to "Features" in list of pages on the left.
6. Expand ".Net 3.5" or ".Net 4.5", depending on what you have installed. (you can go back up to "roles" screen to add if you don't have.
7. Under "WCF Services", check the box for "HTTP-Activation". You can also add non-http types if you know you need them (tcp, named pipes, etc).
8. Click "Install" Button.
Works on Windows Server 2008-2012
No comments:
Post a Comment