Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Deployed Solution in SharePoint showing error --> Microsoft.SharePoint.SPListCollection.GetListByName(String strListName, Boolean bThrowException)

$
0
0

Hi,

I have a SharePoint solution deployed in our SharePoint 2013 staging server and the web application is working as expected. We have another SharePoint 2013 server where I tried deploying the same solution but I'm always getting this error:

7f85bfe5-b235-494f-b634-a0f1be9c9ff9 Stack trace:  
 at Microsoft.SharePoint.SPListCollection.GetListByName(String strListName, Boolean bThrowException)   
 at AMS13.Layouts.AMS13.CreateSystems.Systems(Int32 RequestNumber)   
 at AMS13.Layouts.AMS13.CreateSystems.Page_Load(Object sender, EventArgs e)   
 at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.OnLoad(EventArgs e)   
 at Microsoft.SharePoint.WebControls.LayoutsPageBase.OnLoad(EventArgs e)   
 at System.Web.UI.Control.LoadRecursive()   
 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
 at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
 at System.Web.UI.Page.ProcessRequest()   
 at System.Web.UI.Page.ProcessRequest(HttpContext context)   
 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()   
 at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)   
 at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)   
 at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)   
 at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)   
 at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)   
 at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)   
 at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)   
 at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)   
 at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)   
 at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)

Nothing is changed from the code. I'm getting this error message from the uls log as I'm not able to debug my code directly as well. I've tried modifying the code, put code inside run with elevated priviledges, tried accessing the list via GUID ID instead of List name but still getting error :(

Please help.

Thanks

the code:


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>