Server Error in '/' Application.

parsing "w=700&h=500&crop=1)" - Too many )'s.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: parsing "w=700&h=500&crop=1)" - Too many )'s.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ArgumentException: parsing "w=700&h=500&crop=1)" - Too many )'s.]
   System.Text.RegularExpressions.RegexParser.ScanRegex() +1851
   System.Text.RegularExpressions.RegexParser.Parse(String re, RegexOptions op) +164
   System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, TimeSpan matchTimeout, Boolean useCache) +362
   System.Text.RegularExpressions.Regex.Replace(String input, String pattern, String replacement, RegexOptions options) +93
   ImageProcessor.Web.HttpModules.<ProcessImageAsync>d__31.MoveNext() +878
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +68
   System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +59
   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +510
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +220
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +134


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4690.0