I have now in a longere periode of time had this below error occuring, when interacting with one of the WebParts in the SP environment. I have searched the google, this site and other sites, but I cannot finde any good reason to how to solve it.
For some users it works fine, for others it crash, with the
An unexpected error has occurred.
Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator. "
And the log description for the error is below.
System.ArgumentNullException: Value cannot be null. Parameter name: uriString at System.Uri..ctor(String uriString) at Microsoft.SharePoint.SPSite..ctor(String requestUrl) at MyWebPart.Core.ListConfiguration.<>c__DisplayClass1.b__0() at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.b__2() at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode) at MyWebPart.Core.ListConfiguration.GetKeyValue(String key) at MyWebPart.VisualWebPart1.VisualWebPart1UserControl.FillFilterBoxes(... 6dd24153-ec4e-4610-b8de-61b4e2fae993
08/08/2014 11:10:55.41* w3wp.exe (0x014C)
0x0560 SharePoint Foundation Runtime
tkau Unexpected ...) at MyWebPart.VisualWebPart1.VisualWebPart1UserControl.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at MyWebPart.VisualWebPart1.VisualWebPart1.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderR... 6dd24153-ec4e-4610-b8de-61b4e2fae99308/08/2014 11:10:55.41* w3wp.exe (0x014C)
0x0560 SharePoint Foundation Runtime
tkau Unexpected ...ecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 6dd24153-ec4e-4610-b8de-61b4e2fae993
I have tried to troubleshoot it, but I cannot come any closer to the solution. It has worked fine for some years, but suddenly it begins to crash. And again it is yet not for all users only some.
So far it works in-house, but crash for some on the VPN/APN, but I do not think that this could be a reason, for it has worked fine until this week.
Any ideas?
----- Addition new error fixed by kicking the WFE out of the LoadBalancer-----
Unexpected System.ArgumentNullException: Value cannot be null. Parameter name: uriString at System.Uri..ctor(String uriString)
at Microsoft.SharePoint.SPSite..ctor(String requestUrl) at MyWebPart.Core.ListConfiguration.<>c__DisplayClass1.b__0() at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.b__2() at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param) at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode) at MyWebPart.Core.ListConfiguration.GetKeyValue(String key) at MyWebPart.VisualWebPart1.VisualWebPart1UserControl.FillFilterBoxes(... 9e7d36a2-67e7-4b4d-ad7f-93e92a89750108/11/2014 09:09:53.83* w3wp.exe (0x0FE8)
0x0F98 SharePoint Foundation Runtime
tkau Unexpected ...) at MyWebPart.VisualWebPart1.VisualWebPart1UserControl.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.AddedControl(Control control, Int32 index)
at MyWebPart.VisualWebPart1.VisualWebPart1.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderR... 9e7d36a2-67e7-4b4d-ad7f-93e92a89750108/11/2014 09:09:53.83* w3wp.exe (0x0FE8)
0x0F98 SharePoint Foundation Runtime
tkau Unexpected ...ecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 9e7d36a2-67e7-4b4d-ad7f-93e92a89750108/11/2014 09:09:53.85 w3wp.exe (0x0FE8)
0x0F98 SharePoint Foundation Monitoring
b4ly Medium Leaving Monitored Scope (Request (GET:http://xxxx.com:80/subiste/subsite/Pages/MyStartPage.aspx)). Execution Time=110,412426719038 9e7d36a2-67e7-4b4d-ad7f-93e92a897501