« Previous Next »

Answered Thread: How to give folder script permissions in IIS7?

Last post 10-08-2009 12:58 PM by kwyjibo. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 10-08-2009, 11:51 AM

    • kwyjibo
    • Not Ranked
    • Joined on 04-16-2008, 9:46 AM
    • Posts 2

    How to give folder script permissions in IIS7?

    My site works fine locally, but when put on Server 2008 R2, none of the javascripts work anymore. I run Fiddler and get 404 errors for all my javascript files, even though they are there. It must be a permission problem, I am assuming? How do you give a folder script permissions in IIS7?

  • 10-08-2009, 12:58 PM In reply to

    • kwyjibo
    • Not Ranked
    • Joined on 04-16-2008, 9:46 AM
    • Posts 2

    Answered Re: How to give folder script permissions in IIS7?

    Nevermind! I figured it out...it wasn't a permissions problem afterall. It's an ASP.NET MVC application deployed to a virtual folder...and so the script file links needed to be coded with Url.Content() instead of just the usual "../scripts/whatever.js".

    Now I know...and knowing is half the battle...

    Thanks anyway...

    --Alex

Page 1 of 1 (2 items)
Microsoft Communities