andrewdavey/cassette — Issue #203: background url resource not found on live server
Author: joakimfischer
Created: 2012-03-02 10:48:38+00:00
State: open

I think I have two connected issues here.

1) Locally both debug=true and debug=false works fine. On the server, only debug=false works. When having debug=true I get 404 errors accessing all bundles.

2) When I add css "background: url(/images/bg.png) repeat;" It works fine locally in both debug modes but on the server I get 404 on the generated reference (/_cassette/file/images/bg_b009fab58d6c18cef80fa21f67c4e8df191054a7.png)

Is this some kind of permission issue on the server maybe? or is this a common error. I first had my project as a Asp.Net Website but changed it to a Asp.Net Web Application to check if that was causing the issue some way.

I have a third issue that I dont think is related but there is a small chance so I will post it in this same thread.

3) If I change a javascript file or css and upload it to the server, noting happens at first. The bundles isnt updated. My solution have been to change in web.config to debug=true, call site, change back to degug=false, then call site and it works again. I figure the project need a web.config-change to know it needs to recompile or something.. is there a simplier way to do this? I have tryied restarting in IIS but that didnt work.. and isn't really a better solution either.

Thanks for a great project so far though. Its a bit hard to debug issues that appears but otherwise it seems really promising.