HTTP 401.3 when PUT, DELETE to ADO.NET Data Service (.svc)
Posted
by Nate
on Stack Overflow
See other posts from Stack Overflow
or by Nate
Published on 2009-07-24T23:56:58Z
Indexed on
2010/05/23
7:30 UTC
Read the original article
Hit count: 173
iis6
|ado.net-data-services
I have an ADO.NET Data Service (we'll call it service.svc). When I deploy it to an IIS 6 site with Integrated Windows Authentication turned on, all requests (GET, POST, PUT, and DELETE) work fine for me, because I am an administrator on the box. However, when a non-admin user hits the service, only GET and POST requests work. When they try a PUT or DELETE request, they get an HTTP 401.3 "Access is Denied" error:
"Error message 401.3: You do not have permission to view this directory or page using the credentials you supplied (access denied due to Access Control Lists). Ask the web server's administrator to give you access to '...\service.svc'."
If I give the "Authenticated Users" local group write access to the .svc file, everything works as it should, but I really don't want to do this (and don't think I should have to do this to get this to work). In fact, I'm confused as to why changing the file permissions would affect this at all, but it definitely seems to be the problem.
I've found a couple of different suggestions to fix somewhat similar problems in the Microsoft forums (Here, and I would post more links, but am being told that new users can only post one link in a post), but none of the solutions help.
Any help is much appreciated. I am certainly no IIS expert, and this one has got me stumped.
© Stack Overflow or respective owner