asp.net 2.0 website deployment iis 6 -
asp.net 2.0 website deployment iis 6 -
i have developed asp.net 2.0 website (using vs 2008). website uses sqlmembershipprovider , authentication mode = "forms"
.
when deploy site on iis 6 (windows server 2003 r2) , seek browse .aspx files gives
"the webpage cannot found http 404"
and when browse .html file in same directory gives
"you not authorized view page not have permission view directory or page using credentials supplied."
i have given rights every possible user on wwwroot folder , website folder 1. asp.net machine business relationship (full control) 2. iis_wpg (read & execute, list folder contents, read) 3. net invitee business relationship (iusr_machinename) (full control) 4. network service (read & execute, list folder contents, read) 5. scheme (full cotnrol) 6. users (read & execute, list folder contents, read) asp.net v2.0.50727 web service extensions allowed. in directory security(authentication , access control) of website have selected integrated windows authentication. default application pool selected has "network service" application pool identity.. i badly stuck , grateful guys helping me out... ps: have searched lot problem couldn't find working solution :(
i think set security settings wrong.
if set integrated windows authentication
in iis should set authentication method windows in asp.net web app.
<authentication mode="windows">
if want utilize forms authentication should enable anonymous access
in iis , should not check integrated windows authentication
. on msdn can see this:
because forms authentication not rely on iis authentication, should configure anonymous access application in iis if intend utilize forms authentication in asp.net application.
asp.net iis
Comments
Post a Comment