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 20:             @"(iemobile|iphone|ipod|android|nokia|sonyericsson|blackberry|samsung|sec\-|windows ce|motorola|mot\-|up.b|midp\-)",
Line 21:              RegexOptions.IgnoreCase | RegexOptions.Compiled);
Line 22:             if ((!string.IsNullOrEmpty(Request.UserAgent) && RegexMobile.IsMatch(Request.UserAgent)) || Request.Browser.IsMobileDevice)
Line 23:             {
Line 24:                 string obj_url = TS.Config.BaseConfig.wap_url;

Source File: d:\web\TS.WebSite\company\index.aspx.cs    Line: 22

Stack Trace:


[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
   Go162(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
   company_index.Page_Load(Object sender, EventArgs e) in d:\web\TS.WebSite\company\index.aspx.cs:22
   System.Web.UI.Control.LoadRecursive() +71
   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