Dotnetdreamer's Weblog

SharePoint, Silverlight and Azure

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

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

server-manager-add-features

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

iis7-handler-mappings

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.

Advertisements

One Response to “Azure Services – Method Not Allowed (405)”

  1. […] http://dotnetdreamer.com/2009/03/21/azure-services-method-not-allowed-405/ […]

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

 
%d bloggers like this: