Server Error in '/' Application.

The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator.<nativehr>0x80070024</nativehr><nativestack></nativestack>

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.Runtime.InteropServices.COMException: The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator.<nativehr>0x80070024</nativehr><nativestack></nativestack>

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:


[COMException (0x80070024): The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator.<nativehr>0x80070024</nativehr><nativestack></nativestack>]
   Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) +0
   Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) +375

[SPQueryThrottledException: The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator.]
   Microsoft.SharePoint.SPGlobal.HandleThrottleException(COMException comEx) +475
   Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) +1206
   Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData() +5486
   Microsoft.SharePoint.SPListItemCollection.GetEnumerator() +109
   EdinburghNapier.Intranet2009.LTA.EdinburghNapier.Intranet2009.LTA.MonthlyTopTen.MonthlyList.Main() +184
   EdinburghNapier.Intranet2009.LTA.EdinburghNapier.Intranet2009.LTA.MonthlyTopTen.MonthlyList..ctor(Int32 month, String year) +161
   EdinburghNapier.Intranet2009.LTA.MonthlyList.LoadMonthlyList() +290
   EdinburghNapier.Intranet2009.LTA.MonthlyList.Page_Load(Object sender, EventArgs e) +92
   System.Web.UI.Control.OnLoad(EventArgs e) +86
   System.Web.UI.Control.LoadRecursive() +129
   System.Web.UI.Control.LoadRecursive() +226
   System.Web.UI.Control.LoadRecursive() +226
   System.Web.UI.Control.LoadRecursive() +226
   System.Web.UI.Control.LoadRecursive() +226
   System.Web.UI.Control.LoadRecursive() +226
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3712


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