Last post Jun 07, 2011 10:18 PM by Peter pi - MSFT
May 31, 2011 10:43 PM|M1iS|LINK
I have a REST web service where I am using a RequestInterceptor to validate requests to my service. The problem I am having is when a request isn't authorized I'm returning a http status code of 401 (Unauthorized) but since this service is running in a
site that needs the ASP.NET compatibility mode enabled it is trying to redirect to the sites login page. I'm assuming the reason it's trying to redirect to the login page is because of the ASP.NET compatibility mode being enabled? Is there anyway to prevent
this in global.asax or some other way?
Jun 01, 2011 02:21 AM|raju dasa|LINK
Jun 01, 2011 02:51 AM|M1iS|LINK
But I don't want it to redirect at all for this particular service.
Jun 07, 2011 10:18 PM|Peter pi - MSFT|LINK
It is a duplicate thread,for the benefit of others,please focus on the one of them.