SharePoint: Exercise to Redmond guys

Those who have read Shvejk adventures may find this exercise a little bit familiar. Just want to point out how unuseful logs can be if they miss mandatory information about exact reasons of error.

Take a look at these two lines copied from SharePoint log file.

Application error when access /editprofile.aspx, Error=Value does not fall within the expected range.   at Microsoft.SharePoint.SPFieldCollection.GetFieldByInternalName(String strName, Boolean bThrowException)     at Microsoft.SharePoint.SPFieldCollection.GetFieldByInternalName(String strName)     at ProfilePages.ProfileEditPage.GetFieldId(String internalName)     at ProfilePages.ProfileEditPage.saveButton_Click(Object sender, EventArgs e)     at System.Web.UI.WebControls.Button.OnClick(EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceCont…   

…rol, String eventArgument)     at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   

Find the names of missing field and list from where missing field was searched. You can post a correct answer to my e-mail. 🙂


Leave a Reply

Your email address will not be published. Required fields are marked *