Server Error in '/' Application.

beplay体育投注_beplay 体育_beplay欢迎您

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: beplay体育投注_beplay 体育_beplay欢迎您

Source Error:


Line 17:                @"(iemobile|iphone|ipod|android|nokia|sonyericsson|blackberry|samsung|sec\-|windows ce|motorola|mot\-|up.b|midp\-)",
Line 18:                 RegexOptions.IgnoreCase | RegexOptions.Compiled);
Line 19:         if ((!string.IsNullOrEmpty(Request.UserAgent) && RegexMobile.IsMatch(Request.UserAgent)) || Request.Browser.IsMobileDevice)
Line 20:         {
Line 21:             if (Request.QueryString["type"] != null)

Source File: d:\web\TS.WebSite\usercontrol\page\header_top1.ascx.cs    Line: 19

Stack Trace:


[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
   Go387(RegexRunner ) +0
   System.Text.RegularExpressions.RegexRunner.Scan(Regex regex, String text, Int32 textbeg, Int32 textend, Int32 textstart, Int32 prevlen, Boolean quick, TimeSpan timeout) +510
   System.Text.RegularExpressions.Regex.Run(Boolean quick, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat) +421
   System.Text.RegularExpressions.Regex.IsMatch(String input) +80
   usercontrol_page_header_top2.Page_Load(Object sender, EventArgs e) in d:\web\TS.WebSite\usercontrol\page\header_top1.ascx.cs:19
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Control.LoadRecursive() +190
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3178


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