Server Error in '/' Application.

Exception of type 'System.OutOfMemoryException' was thrown.

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.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

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:


[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
   System.Text.RegularExpressions.RegexWriter..ctor() +70
   System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, TimeSpan matchTimeout, Boolean useCache) +490
   System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options) +54
   System.Web.Util.RegexUtil.CreateRegex(String pattern, RegexOptions option, Nullable`1 timeoutInMillsec) +73
   System.Web.Configuration.RegexWorker.ProcessRegex(String target, String regexExpression) +38
   System.Web.Configuration.BrowserCapabilitiesFactory.PlatformwinceProcess(NameValueCollection headers, HttpBrowserCapabilities browserCaps) +81
   System.Web.Configuration.BrowserCapabilitiesFactory.PlatformProcess(NameValueCollection headers, HttpBrowserCapabilities browserCaps) +9901086
   System.Web.Configuration.BrowserCapabilitiesFactory.DefaultProcess(NameValueCollection headers, HttpBrowserCapabilities browserCaps) +2512
   System.Web.Configuration.BrowserCapabilitiesFactory.ConfigureBrowserCapabilities(NameValueCollection headers, HttpBrowserCapabilities browserCaps) +23
   System.Web.Configuration.BrowserCapabilitiesFactoryBase.GetHttpBrowserCapabilities(HttpRequest request) +176
   System.Web.Configuration.HttpCapabilitiesDefaultProvider.EvaluateFinal(HttpRequest request, Boolean onlyEvaluateUserAgent) +28
   System.Web.Configuration.HttpCapabilitiesDefaultProvider.Evaluate(HttpRequest request) +222
   System.Web.Configuration.HttpCapabilitiesBase.GetBrowserCapabilities(HttpRequest request) +99
   System.Web.HttpRequest.get_Browser() +81
   System.Web.HttpResponse.ApplyRedirectQueryStringIfRequired(String url) +60
   System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent) +99
   System.Web.HttpResponse.Redirect(String url, Boolean endResponse) +18
   Web.MvcApplication.Application_BeginRequest(Object sender, EventArgs e) +4313
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +144
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +73


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