Azure Services – Method Not Allowed (405)
Posted by Ramprasad Navaneethakrishnan on March 21, 2009
Hi Folks,
This is my first post on Windows Azure and I hope I will add more as time goes on.. Now lets get to the business!
This is what I was trying to do..
1. I was trying to learn Azure Services. So as a first step I installed all the necessary setups
- Downloaded Windows Server 2008 Enterprise Trial Software from Microsoft Site.
- Windows Azure Software Development Kit
- Microsoft .NET Services SDK
- SQL DataService SDK
- Winodows Azure Tool for Microsoft Visual Studio
2. I completed my HelloWorld App with Windows Azure and I had no problem.
3. Now I tried to try my had at incorporating WCF into Windows Azure.
4. So I wrote a WCF service and this service write some data into the Azure Local Resource.
5. When I pressed F5, Boom.. I got this “Method Not Allowed (405)” Error.
6. So as a good boy, I googled “Method Not Allowed (405) + Winodws Azure” and got some helpĀ and the prominent result says IIS7 did not have handlers to SVC files. They wanted me to run ServiceModelReg -i from the location “C:\Windows \Microsoft NET\Frameworv\v3.0\Windows Communication Foundation”.
7. But there is an alternate solution too..
8. Open Server Manager –> Click Features –>Add Features
9. Select .NET Framework 3.0 features – > Install.
10. This is how the screen looks after the feature is installed

11. Now SVC files are added to the IIS 7 handlers. This is how the Handler Mappings in the IIS 7 looks..

Now method not allowed (405) error is gone and my WCF service is working just fine..
Hope this is useful. Please give your comments on this post.
Thanks,
Ramprasad.
IIS7 + WCF service: 405 method not allowed « My Development KB said
[...] http://dotnetdreamer.com/2009/03/21/azure-services-method-not-allowed-405/ [...]