buunguyen / combres

ASP.NET and MVC performance optimization library ⛺
Other
123 stars 37 forks source link

CombresHandler.ProcessRequest throwing ArgumentException with no discernible pattern. #43

Closed CodeFinSoup closed 9 years ago

CodeFinSoup commented 9 years ago

The exact message of the Exception as viewable in the event handler is Combres.CombresHandler.ProcessRequest failed with System.ArgumentException: Requested value 'CrunchAll' was not found.

I, unfortunately, have very little information other than that. It does not seem to have any discernible impact on the functionality of the website, but it is happening regardless.

The problem seems to be related to TypeExtensions.cs

combres

buunguyen commented 9 years ago

CrunchAll is possible value of the enum LocalRenaming in MSAjaxJSMinifier.

Which version of Combres and MSAjaxMin you have?

CodeFinSoup commented 9 years ago

I am not sure how to check what version I have. It was added to the project in July of 2012 and has barely been touched.

Thanks.

mrunalbrahmbhatt commented 9 years ago

Check Dll property and then details. On 14 Aug 2015 7:44 am, "AlphaWhelp" notifications@github.com wrote:

I am not sure how to check what version I have. It was added to the project in July of 2012 and has barely been touched.

Thanks.

— Reply to this email directly or view it on GitHub https://github.com/buunguyen/combres/issues/43#issuecomment-130855008.

CodeFinSoup commented 9 years ago

It is version 2.1.0.0

buunguyen commented 9 years ago

I remember that version got compiled with a version of MS Ajax Min that doesn't have LocalRenaming.CrunchAll option. So either upgrade Combres or modify combres.xml to get rid of that option. For the list of available options, check out MS Ajax Min documentation matching the version being used.

CodeFinSoup commented 9 years ago

Does this version allow for any LocalRenaming options that I can change in the XML and just not CrunchAll, or should I delete the LocalRenaming option altogether?

buunguyen commented 9 years ago

idk, please check the documentation of MS Ajax Min.