"405 Error: Method not Found" When you deploy WCF Service on Windows 7.
When you deploy WCF Service on Windows 7 machine to IIS 7.0 and try to browse to the service from a browser you might get the 405 Error: Method not Found. One of the reason this might happen is that the feature "WCF HTTP Activation" and "WCF Non-HTTP Activation" are not installed by default. to enable these feature go to Start --> Control Tools --> Program and Feature. Click on "Turn Windows Features on or Off". On the "Turn Windows on or Off" dialog box, go to the section "Microsoft .NET Framework 3.5.1" and check both the boxes below this feature and click on the "Ok" button to install this feature.
Once this feature has been installed, you should be able to browse to the WCF Service deployed to IIS 7.0.
Once this feature has been installed, you should be able to browse to the WCF Service deployed to IIS 7.0.
Comments
Post a Comment