Setting aspNetCompatibility Enabled in wcf screwing anonymous access -
i have given anonymous access service. , m able access out establishing credentials. wanted make use session in wcf service, m trying use aspnetcompatibility enabled true in system.servicemodel. when included line, redirecting me login page whenever m requesting service.svc file. guess why aspnetcompatibility enabled overriding access policy? should overcome this?
once aspnetcompatibilityenabled true, asp.net pipeline comes play , authentication , authorization dome. check system.web/authorization section in web.config. have deny users? if so, remove it. may try add
<system.web> <authorization> <allow users="*" /> </authorization> </system.web>
Comments
Post a Comment