Being asked to login when requesting /css/ folder in HTML?
New site I've inheritied and its doing something odd, it keep redirecting me to login when I try to request any of the assets in my HTML. So when requesting css, javascript, images etc. in my HTML the requests are getting redirected to:
Being asked to login when requesting /css/ folder in HTML?
New site I've inheritied and its doing something odd, it keep redirecting me to login when I try to request any of the assets in my HTML. So when requesting css, javascript, images etc. in my HTML the requests are getting redirected to:
http://mysite.local/login.aspx?ReturnUrl=%2fcss%2ffonts.css
Whats that all about?
Gotta be an IIS permissions issue on the /css folder, right?
App Pool has modify access, so whats missing?
Never really got to the bottom of this one, but sometimes I need to set read permissions for the IIS_IUSRS group too.
Added it. Nope still no luck. What a pig, lost an hour on this already.
Hmmm... anything funky in the Web.config? e.g. <location> type stuff, that's restricting access to that folder?
Ok, out of frustration added "everyone" and now it works, not ideal though...
Removed that account and then gave IIS_USRS modify rights to the whole site, still nothing.
Lots of trial and error and its the IIS_WPG account that needed account. By the way this is for IIS7.5 on Win 7.
Sorted, what a nasty little bit of set up.
I'm feeling your frustration Pete! Glad you figured out who the magic user/group was!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.