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

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -