iis 7.5 - 401 - Unauthorized IIS 7.5 on UNC application website -
i'm running win server 2008 r2 iis 7.5
i have application under website has anonymous authentication enabled.
the application points shared unc drive.
i've created iusrdomain domain account , both servers on same domain.
the application pool identity using iusrdomain account.
the unc share , file permission both give full control iusrdomain account.
however when try make changes iis application settings, error message says:
there error while performing operation.
filename: \?\unc\\share\webapp\web.config error: cannot write configuration file due insufficient permissions
and when try browse html test page get:
401 - unauthorized: access denied due invalid credentials. not have permission view directory or page using credentials supplied.
iis log file says:
/webapp/test.html - 80 - xxx.xxx.xxx.xxx mozilla/5.0+(windows;+u;+windows+nt+6.1;+en-us)+applewebkit/534.7+(khtml,+like+gecko)+chrome/7.0.517.44+safari/534.7 401 3 1326 22
edit: have other applications under same website configured same way , work fine.
you need sure account used connect unc path has write access web.config file on network share.
iis7 configuration saves/updates information web.config file, error message.
also, if application needs run in full trust, want use caspol modify trust permissions allow app run in full trust. (.net 2.0)
Comments
Post a Comment