This question is locked. New answers and comments are not allowed.
I am recieving the following exception when using .Combined(true) on both the stylesheet and script registrar:
Anyone else having this issue or know how to resolve this? Here is my usage:
The code works fine when I remove .Combined(true). This is the version I am using: 2010.3.1318
[ArgumentNullException: Value cannot be null.
Parameter name: stream]
System.IO.Compression.DeflateStream..ctor(Stream stream, CompressionMode mode, Boolean leaveOpen) +6095539
System.IO.Compression.GZipStream..ctor(Stream stream, CompressionMode mode, Boolean leaveOpen) +45
System.IO.Compression.GZipStream..ctor(Stream stream, CompressionMode mode) +10
Telerik.Web.Mvc.Infrastructure.Implementation.HttpResponseCompressor.Compress(HttpContextBase context) +188
Telerik.Web.Mvc.WebAssetHttpHandler.ProcessRequest(HttpContextBase context) +428
Telerik.Web.Mvc.Infrastructure.HttpHandlerBase.ProcessRequest(HttpContext context) +63
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
Anyone else having this issue or know how to resolve this? Here is my usage:
@Html.Telerik().ScriptRegistrar().Scripts(scripts =>
scripts.AddGroup(
"Jquery"
, group =>
group.Add(
"~/Scripts/jquery-1.4.4.js"
)
.Add(
"~/Scripts/jquery-ui.js"
)
.Add(
"~/Scripts/jquery.validate.js"
)
.Add(
"~/Scripts/jquery.unobtrusive-ajax.js"
).Combined(true)))
The code works fine when I remove .Combined(true). This is the version I am using: 2010.3.1318