Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Peter Duncanson 430 posts 1360 karma points c-trib
    Dec 12, 2011 @ 12:59
    Peter Duncanson
    0

    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?

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Dec 12, 2011 @ 13:03
    Lee Kelleher
    0

    Gotta be an IIS permissions issue on the /css folder, right?

  • Peter Duncanson 430 posts 1360 karma points c-trib
    Dec 12, 2011 @ 13:04
    Peter Duncanson
    0

    App Pool has modify access, so whats missing?

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Dec 12, 2011 @ 13:07
    Lee Kelleher
    0

    Never really got to the bottom of this one, but sometimes I need to set read permissions for the IIS_IUSRS group too.

  • Peter Duncanson 430 posts 1360 karma points c-trib
    Dec 12, 2011 @ 13:11
    Peter Duncanson
    0

    Added it. Nope still no luck. What a pig, lost an hour on this already.

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Dec 12, 2011 @ 13:12
    Lee Kelleher
    0

    Hmmm... anything funky in the Web.config? e.g. <location> type stuff, that's restricting access to that folder?

  • Peter Duncanson 430 posts 1360 karma points c-trib
    Dec 12, 2011 @ 13:14
    Peter Duncanson
    0

    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.

  • Peter Duncanson 430 posts 1360 karma points c-trib
    Dec 12, 2011 @ 13:18
    Peter Duncanson
    0

    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.

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Dec 12, 2011 @ 13:19
    Lee Kelleher
    1

    I'm feeling your frustration Pete!  Glad you figured out who the magic user/group was!

  • 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.

Please Sign in or register to post replies