This is a migrated thread and some comments may be shown as answers.

[Solved] asset.axd gives 404 response

3 Answers 63 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
David
Top achievements
Rank 1
David asked on 14 Mar 2012, 10:43 PM
Hi,
I am using the newest version of Telerik MVC Extensions in my ASP.NET MVC 4 Beta. Everything works fine until I try to combine the css files using the following call:
@(Html.Telerik().StyleSheetRegistrar().DefaultGroup(group => group.Add("telerik.common.css").Add("telerik.windows7.css").Combined(true).Compress(true))

When doing this is get the asset.axd link, but the link returns a 404 code. If I remove the ".Combined(true)" my code works fine.

I have followed these two guides:
http://blogs.telerik.com/blogs/posts/12-03-08/using-the-telerik-extensions-in-asp-net-mvc4-today---a-first-look.aspx
http://www.telerik.com/help/aspnet-mvc/web-assets-working-with-javascript-web-assets.html

But the Combined part is still not working. How can I make this work?

Thanks,
David


 

 

 

3 Answers, 1 is accepted

Sort by
0
Glenn
Top achievements
Rank 2
answered on 30 Jul 2012, 02:21 AM
Were you ever able to find a solution?  I see a few forum posts where people have had the same issue, but no response from Telerik on the cause or what to do to get it to work.  I was curious if you had found a solution....other than to manually add <link> elements to the stylesheets.
0
David
Top achievements
Rank 1
answered on 31 Jul 2012, 03:23 PM
Unfortunately I never found a solution other than removed the ".Combined(true)" part.
0
Glenn
Top achievements
Rank 2
answered on 31 Jul 2012, 10:52 PM
Thanks, that's pretty much what I found.  Everyone seems to have it working, but I was never able to.
Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Answers by
Glenn
Top achievements
Rank 2
David
Top achievements
Rank 1
Share this question
or