3

I am a developer trying to assist my server admin in figuring out how to get this issue corrected.

But I have an app that is using WCF 4.0 configure-less setup to make RESTful webservices calls. Everything works fine locally but when pushed to my server all PUT and DELETE requests return a 403 forbidden error.

After searching around I've been unable to find anything that seems to work, and I'm not sure if there is some logs that would help figure this out, I'm not a server guy and apparently neither is my "server guy". So any tips on where to point him or what might be causing this would be greatly appreciated.

1

1 Answer 1

8

You would need to add the verbs to the appropriate handler on IIS 6. The below links explain on how to achieve it.

Steps as below: 1. Right click the Virtual Directory in IIS

  1. Select 'Properties'

  2. Click 'Configuration...'

  3. Search for .svc in the 'Application Extensions' list

  4. Select '.svc' (if this is not present, then you need to add it by clicking Add and using the same path for the executable as is used for the .aspx extension)

  5. Click 'Edit ...'

  6. In the 'Verbs' list select 'All Verbs'

Links:

  1. MSDN Forums

  2. Setting Application mapping on IIS 6

2
  • The link to enable PUT and DELETE is no longer valid.
    – jblaske
    Jul 23, 2013 at 15:33
  • Because your answer was no longer valid, now that you have updated it. I've reversed my voting.
    – jblaske
    Jul 24, 2013 at 14:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.