1) Does network service and iusr havde the proper permissions on the folder containing your umbraco instance? 2) Does the app pool run in integrated mode? 3) Try deleting the temporary ClientDependency files from the app_data/TEMP/ClientDependency folder
can't load css, js file in webpage
Hi,
I installed Umbraco 4.7.1.1 using Web Platform Installer 3.0 on my dev machine(win 7). It seems fine.
Then I create a website on Windows 2008 R2 machine and use xcopy to deploy umbrco website to that server.
then request the url. but i found no css and js files are loaded into the web page
I have verified following things.
1. the css and js files are there in physical path. e.g. /css/Designit_Green.css, it has 32k, I can open it in notepad
2. I use identity LocalSystem to run the application pool. It can r/w everything in this website.
3. Other websites hosted in this server work fine with css and js.
4. when I request a css file in browser. e.g
http://<servername>/css/Designit_Green.css
I get
404 - File or directory not found.
and the url in the address bar automatically changes to http://<servername>/login.aspx?ReturnUrl=/css/Designit_Green.css
It seems normal because /login.aspx not exits on server, it exists in /umbraco/login.aspx.
so change the url to http://<servername>/umbraco/login.aspx?ReturnUrl=/css/Designit_Green.css
I get a login screen.
question?
1. why request a css or js files needs authentication?
2.when needs a authentication, why rout to /login.aspx and it is not existing
hoe can I solve this problem?
Thanks & Reagards,
Hi Ziping and welcome to the community :)
A few things to check
1) Does network service and iusr havde the proper permissions on the folder containing your umbraco instance?
2) Does the app pool run in integrated mode?
3) Try deleting the temporary ClientDependency files from the app_data/TEMP/ClientDependency folder
If none if the above suggestion seem to do the trick for you try consult this blogpost by Sebastiaan Janssen http://cultiv.nl/blog/2011/7/18/how-to-install-umbraco-manually/ and see if you have missed a step or something like that.
Hope this helps.
/Jan
The problem solved. It was related to ACL
I have also tested Umbraco 5 RC3 , and it works fine.
Thanks
Hi Ziping
Good to hear you managed to get this solved - allthough I'm a bit unsure what ACL is short for? :)
/Jan
Hi Jan,
I mean access control list (ACL) which specifies the permissions on the file system.
Regards,
Ziping
is working on a reply...