asp.net - IIS redirects admin to login page -


this in web config file in admin folder

<configuration> <system.web>    <authorization>      <allow roles="admin"/>      <deny users="*"/>     </authorization> </system.web> </configuration> 

it worked while on development after deploying on iis server redirects me login after log in admin , try go admin folder pages.

how fix it?

note : worked before deploying iis.

solved problem! use applicationname in providers.

for more info on iis troubleshooting go here


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -