Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

authentication db roles ok but isinroles() is always null

$
0
0

I have a website on IIS7, asp.net 2.0, and as of 2 wks ago isinrole() is broken. When a user requests an "admin" page, they receive the "Access Denied" page even if they are in the admin group. They log in fine (no errors), but a breakpoint in isinroles() shows that they are not in any roles. This same behavior occurs in VS, on the server, if I connect to the URL, i.e., "htpp://www.machine-name". However, from VS if I connect to "localhost", everything works fine. Also, with "localhost", I can place breakpoints and hit them. If I connect through URL, my breakpoints are not hit. I have changed application pools, given "full control" to local and network "NT authority" and "system" and myself, etc. I have defined authorization and roles manager in the config file, and this website had been functional for eight years, prior to about 2 wks ago. Any ideas?


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>