One of our departments created a choice column for a document library. Now when you try to edit the column you get an "Unknown Error". Is there any way to remove a column other than selecting it from the list of columns defined for a doc library? Thanks, Steve
Here is the actual error message after debugging. Object reference not set to an instance of an object. at Microsoft.SharePoint.ApplicationPages.BasicFieldEditPage.get_ContentTypeId() at ASP._layouts_fldedit_aspx.__Render__control433(HtmlTextWriter __w, Control parameterContainer) in c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\FldEdit.aspx:line 2974 at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Page.Render(HtmlTextWriter writer) at Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase.Render(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
The error was caused by adding list columns with the name "doctype". Even though SharePoint allowed the name to be used it is reserved by SharePoint. I was able to remove the list type by using SharePoint Manager 2007 (free) found at http://www.codeplex.com/spm Steve "Steve Gould" <steven.gould at seattle.gov> wrote in message news:ecXiezZJKHA.1488@TK2MSFTNGP03.phx.gbl... > One of our departments created a choice column for a document library. Now > when you try to edit the column you get an "Unknown Error". > > Is there any way to remove a column other than selecting it from the list > of columns defined for a doc library? > > Thanks, > > Steve >