“/”应用程序中的服务器错误。

chinese sex|Chinese Sex,Chinese boys

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.OutOfMemoryException: chinese sex|Chinese Sex,Chinese boys

源错误:


行 125:            templateCreation.TemplateAttributes = templateAttributes;
行 126:            templateCreation.TemplateContents = templateContents;
行 127:            var eachtext = templateCreation.CreateTemplate(TemplateCreation.ToDisplayItem(homepage));
行 128:            <div class="@homepage.ClassName">
行 129:                @if (homepage.IsShowHeader && (templateCreation.DisplayType == DisplayType.FixedContent || !string.IsNullOrEmpty(eachtext)))

源文件: d:\m201app\iweb_v2\Views\Home\Index.cshtml    行: 127

堆栈跟踪:


[OutOfMemoryException: chinese sex|Chinese Sex,Chinese boys]
   System.Data.SqlClient.TdsParser.TryReadPlpUnicodeChars(Char[]& buff, Int32 offst, Int32 len, TdsParserStateObject stateObj, Int32& totalCharsRead) +117
   System.Data.SqlClient.TdsParser.TryReadSqlStringValue(SqlBuffer value, Byte type, Int32 length, Encoding encoding, Boolean isPlp, TdsParserStateObject stateObj) +5316390
   System.Data.SqlClient.TdsParser.TryReadSqlValue(SqlBuffer value, SqlMetaDataPriv md, Int32 length, TdsParserStateObject stateObj) +158
   System.Data.SqlClient.SqlDataReader.TryReadColumnData() +65
   System.Data.SqlClient.SqlDataReader.TryReadColumnInternal(Int32 i, Boolean readHeaderOnly) +549
   System.Data.SqlClient.SqlDataReader.TryReadColumn(Int32 i, Boolean setTimeout, Boolean allowPartiallyReadColumn) +165
   System.Data.SqlClient.SqlDataReader.GetValueInternal(Int32 i) +31
   System.Data.SqlClient.SqlDataReader.GetValue(Int32 i) +73
   System.Data.SqlClient.SqlDataReader.get_Item(Int32 i) +10
   NHibernate.Driver.NHybridDataReader.System.Data.IDataRecord.get_Item(Int32 i) +11
   NHibernate.Type.AbstractStringType.Get(IDataReader rs, Int32 index) +13
   NHibernate.Type.NullableType.NullSafeGet(IDataReader rs, String name) +135
   NHibernate.Type.NullableType.NullSafeGet(IDataReader rs, String[] names, ISessionImplementor session, Object owner) +21
   NHibernate.Type.AbstractType.Hydrate(IDataReader rs, String[] names, ISessionImplementor session, Object owner) +19
   NHibernate.Persister.Entity.AbstractEntityPersister.Hydrate(IDataReader rs, Object id, Object obj, ILoadable rootLoadable, String[][] suffixedPropertyColumns, Boolean allProperties, ISessionImplementor session) +950
   NHibernate.Loader.Loader.LoadFromResultSet(IDataReader rs, Int32 i, Object obj, String instanceClass, EntityKey key, String rowIdAlias, LockMode lockMode, ILoadable rootPersister, ISessionImplementor session) +279
   NHibernate.Loader.Loader.InstanceNotYetLoaded(IDataReader dr, Int32 i, ILoadable persister, EntityKey key, LockMode lockMode, String rowIdAlias, EntityKey optionalObjectKey, Object optionalObject, IList hydratedObjects, ISessionImplementor session) +139
   NHibernate.Loader.Loader.GetRow(IDataReader rs, ILoadable[] persisters, EntityKey[] keys, Object optionalObject, EntityKey optionalObjectKey, LockMode[] lockModes, IList hydratedObjects, ISessionImplementor session) +296
   NHibernate.Loader.Loader.GetRowFromResultSet(IDataReader resultSet, ISessionImplementor session, QueryParameters queryParameters, LockMode[] lockModeArray, EntityKey optionalObjectKey, IList hydratedObjects, EntityKey[] keys, Boolean returnProxies) +150
   NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +653
   NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +126
   NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) +135

[GenericADOException: could not execute query
[ SELECT TOP (@p0)  this_.ID as ID9_0_, this_.SiteID as SiteID9_0_, this_.CategoryID as CategoryID9_0_, this_.Ordinal as Ordinal9_0_, this_.Title as Title9_0_, this_.TitleStyle as TitleStyle9_0_, this_.Alias as Alias9_0_, this_.Url as Url9_0_, this_.PageTitle as PageTitle9_0_, this_.Keywords as Keywords9_0_, this_.Description as Descrip11_9_0_, this_.PublishedDate as Publish12_9_0_, this_.Source as Source9_0_, this_.Author as Author9_0_, this_.Pno as Pno9_0_, this_.Price as Price9_0_, this_.Target as Target9_0_, this_.MemberGrade as MemberG18_9_0_, this_.Intro as Intro9_0_, this_.Content as Content9_0_, this_.ImageUrl as ImageUrl9_0_, this_.AttachmentUrl as Attachm22_9_0_, this_.IsApproved as IsApproved9_0_, this_.IsTop as IsTop9_0_, this_.IsHot as IsHot9_0_, this_.IsRecommended as IsRecom26_9_0_, this_.Hits as Hits9_0_, this_.CreatedUserID as Created28_9_0_, this_.CreatedDate as Created29_9_0_, this_.LastModifiedUserID as LastMod30_9_0_, this_.LastModifiedDate as LastMod31_9_0_, this_.Rowversion as Rowversion9_0_, this_.BigImageUrl as BigImag33_9_0_, this_.ImagesBakDir as ImagesB34_9_0_, this_.Mobile_Intro as Mobile35_9_0_, this_.Mobile_Content as Mobile36_9_0_ FROM ibw_ContentItems this_ WHERE this_.CategoryID in (@p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22, @p23, @p24, @p25, @p26, @p27, @p28) ORDER BY this_.IsTop desc, this_.IsRecommended desc, this_.IsHot desc, this_.Ordinal desc ]
  Name:cp0 - Value:57031  Name:cp1 - Value:57032  Name:cp2 - Value:57033  Name:cp3 - Value:57034  Name:cp4 - Value:57035  Name:cp5 - Value:57036  Name:cp6 - Value:57037  Name:cp7 - Value:57038  Name:cp8 - Value:57039  Name:cp9 - Value:57040  Name:cp10 - Value:57041  Name:cp11 - Value:57042  Name:cp12 - Value:57043  Name:cp13 - Value:57044  Name:cp14 - Value:57045  Name:cp15 - Value:57046  Name:cp16 - Value:57047  Name:cp17 - Value:57048  Name:cp18 - Value:57049  Name:cp19 - Value:57050  Name:cp20 - Value:57051  Name:cp21 - Value:57052  Name:cp22 - Value:57053  Name:cp23 - Value:57054  Name:cp24 - Value:57055  Name:cp25 - Value:57056  Name:cp26 - Value:57057  Name:cp27 - Value:15931
[SQL: SELECT TOP (@p0)  this_.ID as ID9_0_, this_.SiteID as SiteID9_0_, this_.CategoryID as CategoryID9_0_, this_.Ordinal as Ordinal9_0_, this_.Title as Title9_0_, this_.TitleStyle as TitleStyle9_0_, this_.Alias as Alias9_0_, this_.Url as Url9_0_, this_.PageTitle as PageTitle9_0_, this_.Keywords as Keywords9_0_, this_.Description as Descrip11_9_0_, this_.PublishedDate as Publish12_9_0_, this_.Source as Source9_0_, this_.Author as Author9_0_, this_.Pno as Pno9_0_, this_.Price as Price9_0_, this_.Target as Target9_0_, this_.MemberGrade as MemberG18_9_0_, this_.Intro as Intro9_0_, this_.Content as Content9_0_, this_.ImageUrl as ImageUrl9_0_, this_.AttachmentUrl as Attachm22_9_0_, this_.IsApproved as IsApproved9_0_, this_.IsTop as IsTop9_0_, this_.IsHot as IsHot9_0_, this_.IsRecommended as IsRecom26_9_0_, this_.Hits as Hits9_0_, this_.CreatedUserID as Created28_9_0_, this_.CreatedDate as Created29_9_0_, this_.LastModifiedUserID as LastMod30_9_0_, this_.LastModifiedDate as LastMod31_9_0_, this_.Rowversion as Rowversion9_0_, this_.BigImageUrl as BigImag33_9_0_, this_.ImagesBakDir as ImagesB34_9_0_, this_.Mobile_Intro as Mobile35_9_0_, this_.Mobile_Content as Mobile36_9_0_ FROM ibw_ContentItems this_ WHERE this_.CategoryID in (@p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22, @p23, @p24, @p25, @p26, @p27, @p28) ORDER BY this_.IsTop desc, this_.IsRecommended desc, this_.IsHot desc, this_.Ordinal desc]]
   IBW.IWeb.Orm.NHHelper.CriteriaList(ICriteria criteria) +89
   IBW.IWeb.Orm.NHHelper.ExecProceduced(ISessionFactory GetCurrentFactory, IList`1 expressions, Int32& recordCount, List`1 orders, Int32 start, Int32 rows) +547
   IBW.IWeb.Orm.StructureTemplateDataFactory.GetContentItemsByMenuID(Int32 id) +846
   IBW.IWeb.Server.TemplateCreation.CreateTemplate(DisplayItem displayItem, IEnumerable`1 displayDetails, PlatFormType platFormType) +129
   ASP.<>c__DisplayClass3.<showContent>b__0(TextWriter __razor_helper_writer) in d:\m201app\iweb_v2\Views\Home\Index.cshtml:127
   System.Web.WebPages.HelperResult.WriteTo(TextWriter writer) +10
   System.Web.WebPages.WebPageBase.Write(HelperResult result) +80
   ASP._Page_Views_Home_Index_cshtml.Execute() in d:\m201app\iweb_v2\Views\Home\Index.cshtml:53
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +198
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +105
   System.Web.WebPages.StartPage.RunPage() +17
   System.Web.WebPages.StartPage.ExecutePageHierarchy() +64
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +78
   System.Web.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance) +256
   System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer) +107
   IBW.IWeb.Server.Filters.PageFilterAttribute.CacheResult(ResultExecutedContext filterContext) +613
   IBW.IWeb.Server.Filters.PageFilterAttribute.OnResultExecuted(ResultExecutedContext filterContext) +129
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +409
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +420
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +52
   System.Web.Mvc.Async.<>c__DisplayClass2b.<BeginInvokeAction>b__1c() +173
   System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +100
   System.Web.Mvc.Async.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult) +10
   System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +49
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +27
   System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +13
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +36
   System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +54
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +41
   System.Web.Mvc.Controller.<BeginExecute>b__15(IAsyncResult asyncResult, Controller controller) +12
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +28
   System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +54
   System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +31
   System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +10
   System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +21
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +36
   System.Web.Mvc.Async.WrappedAsyncResultBase`1.End() +54
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +31
   System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9651480
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.0.30319.34274