Combinator Module and 404

Nov 24, 2012 at 6:28 PM
Edited Nov 24, 2012 at 6:29 PM

So as I understand it, if I put styles in a script block like so:

 

@{
     Style.Include("site.css")
     Style.Include("jquery-ui.css")
}

Then Combinator will package up these styles and output them into a link like: 

http://localhost:16822/Media/Default/Combinator/Styles/-59771834-1.css?timestamp=129982566028348759

However, when I run the site, I get a 404 error (screenshot below). What did I do wrong?

 

https://roomapp.imgix.net/posts/images/XWpqpwT-q34miPKK-1353784600444-orig.png

Coordinator
Nov 24, 2012 at 7:21 PM

Is the file there in the Media folder? Are there any Combinator-related entries in the log files?

Nov 26, 2012 at 4:32 AM

Okay, Piedone, this is the most bad-ass module I have ever seen. First off, I got it all fixed, and it all came from my site not deploying the Media folder's web.config file (isn't that odd?). Once I added that to the file so that read access could be given to the contents, then everything worked like a charm. Thanks for this fantastic piece of code!

Coordinator
Nov 26, 2012 at 5:27 AM

Glad you sorted it out and you like the module :-).