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.
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.
...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.
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...
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.
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
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.
...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
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
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...
Hi Peter
Ok then - Glad you figured it out and thanks for sharing :)
/Jan
is working on a reply...