Copied to clipboard

Flag this post as spam?

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


  • Peter S 169 posts 587 karma points
    Apr 23, 2014 @ 16:39
    Peter S
    0

    Deployed site throws 404 on static content

    I just deployed a site and put up a site in IIS to try it out but all static content throws 404. Properties of Umbraco are fetched correctly but css, images, etc. all get 404's. Any idea why? Suppose this has more to do with IIS than Umraco but I thought I'd ask anyway.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 23, 2014 @ 16:43
    Jan Skovgaard
    0

    Hi Peter

    This could be a permissions issue - Make sure that permissions have been setup properly for the iusr and the network service.

    Also make sure that your IIS knows the mime-type for your static content.

    Hope these pointers help.

    /Jan

  • Peter S 169 posts 587 karma points
    Apr 23, 2014 @ 16:44
    Peter S
    0

    I managed to solve the front end by granting "Authenticated users" full access to the site folder but the problem still occurs in the back-end when logged in.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 23, 2014 @ 16:45
    Jan Skovgaard
    1

    ...Also go to the /app_data/TEMP/clientdependency folder and delete the files and then go to /config/clientdependency.config and increment the version number. Remember to recycle the app pool after this.

    /Jan

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 23, 2014 @ 16:47
    Jan Skovgaard
    1

    Hi Peter

    Ok, then strike my second post - You should probably make sure to setup permissions according to this http://our.umbraco.org/documentation/Installation/permissions

    Hope this helps.

    /Jan

  • Peter S 169 posts 587 karma points
    Apr 23, 2014 @ 16:49
    Peter S
    101

    Thanks for your reply, Jan. Turns out the deploy function in Visual Studio didn't copy all the files needed. When I copied the whole directory from the Visual Studio project to the site folder everything worked great. Strange...

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 23, 2014 @ 16:50
    Jan Skovgaard
    0

    Hi Peter

    Ok then - Glad you figured it out and thanks for sharing :)

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft