iis - ASP.NET page getting Windows Authentication Prompt -
i have asp.net website uses c#. uses forms authentication logging users in. switched hosting providers , moved windows server 2000 windows server 2012 r2, iis has changed considerably. since moving, website works expected exception 1 area. whenever try access .aspx page that's in particular directory, prompted enter our windows credentials.
this only happens in "reports" directory. have other pages in other directories , don't prompt when accessing those.
i made sure "reports" directory had same permissions other directories:
and made sure anonymous , forms authentication enabled "reports" directory.
my web.config simple , looks this:
<authentication mode="forms"> <forms loginurl="webportal.aspx" protection="all" timeout="50000000" name=".aspxauth" path="/" requiressl="false" slidingexpiration="true" defaulturl="webportal.aspx" cookieless="usedeviceprofile" enablecrossappredirects="false" /> <allow users="*"/>
here authentication options on "reports" folder:
i'd note windows authentication feature isn't installed on server:
any or guidance can given appreciated.
after seemed endless google searches on various keywords, found link http://forums.iis.net/t/1163972.aspx held answer.
in short, if report services installed on server (in case, is), cannot have sub-folder called "reports"...because server thinks it's reports services folder, requiring windows credentials. renamed folder , works.
Comments
Post a Comment