Im having trouble rendering the bundles that I've created throu Optimus in the backoffice.
I get the following error in Chrome: http://localhost:7636/bundles/styles Failed to load resource: the server responded with a status of 404 (Not Found)
And this is from the Umbraco tracelog:
2015-07-13 13:44:05,855 [14] ERROR System.Web.Optimization.BundleCollection - [Thread 1] Error adding bundles: System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.
vid BundleTransformer.Core.BundleTransformerContext..ctor()
vid BundleTransformer.Core.BundleTransformerContext.<.cctor>b_0()
vid System.Lazy1.CreateValue()
vid System.Lazy1.LazyInitValue()
vid System.Lazy1.get_Value()
vid BundleTransformer.Core.BundleTransformerContext.get_Current()
vid BundleTransformer.Core.Transformers.StyleTransformer..ctor(IMinifier minifier, IList1 translators, IList1 postProcessors, String[] ignorePatterns)
vid BundleTransformer.Core.Transformers.StyleTransformer..ctor()
vid Optimus.BundleConfig.RegisterBundles(BundleCollection bundles)
System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.
vid BundleTransformer.Core.BundleTransformerContext..ctor()
vid BundleTransformer.Core.BundleTransformerContext.<.cctor>b__0()
vid System.Lazy1.CreateValue()
vid System.Lazy1.LazyInitValue()
vid System.Lazy1.getValue()
vid BundleTransformer.Core.BundleTransformerContext.get_Current()
vid BundleTransformer.Core.Transformers.StyleTransformer..ctor(IMinifier minifier, IList1 translators, IList1 postProcessors, String[] ignorePatterns)
vid BundleTransformer.Core.Transformers.StyleTransformer..ctor()
vid Optimus.BundleConfig.RegisterBundles(BundleCollection bundles)
I have tried almost everything from the other threads but still cant get it to work.
Cannot render bundles
Hi guys,
Im having trouble rendering the bundles that I've created throu Optimus in the backoffice.
I get the following error in Chrome: http://localhost:7636/bundles/styles Failed to load resource: the server responded with a status of 404 (Not Found)
And this is from the Umbraco tracelog:
I have tried almost everything from the other threads but still cant get it to work.
Here is stuff from my web.config :
And here is my bundle.config:
And this is the code for rendering:
@Styles.Render("~/bundles/styles")
Did you find a solution to this?
Yes, I did but I don't recall the solution. I think it had something to do with write-permissions to the server.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.