2
Vote

unhandled exception un-setting hidden attribute

description

************** Exception Text **************
Microsoft.SharePoint.SPException: Cannot change Hidden attribute for this field
at Microsoft.SharePoint.SPField.set_Hidden(Boolean value)
at WSS3ListConfigurator.frmMain.chkFieldHidden_CheckedChanged(Object sender, EventArgs e)
at System.Windows.Forms.CheckBox.OnCheckedChanged(EventArgs e)
at System.Windows.Forms.CheckBox.set_CheckState(CheckState value)
at System.Windows.Forms.CheckBox.OnClick(EventArgs e)
at System.Windows.Forms.CheckBox.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 
 
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

WSS3ListConfigurator
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0

CodeBase: file:///C:/Program%20Files/WSS3ListConfigurator/WSS3ListConfigurator.exe

System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

Microsoft.SharePoint
Assembly Version: 12.0.0.0
Win32 Version: 12.0.6316.5000

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SharePoint/12.0.0.0__71e9bce111e9429c/Microsoft.SharePoint.dll

System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll

Microsoft.SharePoint.Library
Assembly Version: 12.0.0.0
Win32 Version: 12.0.6300.5000

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SharePoint.Library/12.0.0.0__71e9bce111e9429c/Microsoft.SharePoint.Library.dll

System.Web
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll

System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll

Microsoft.SharePoint.Security
Assembly Version: 12.0.0.0
Win32 Version: 12.0.4518.1016

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SharePoint.Security/12.0.0.0__71e9bce111e9429c/Microsoft.SharePoint.Security.dll

System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll

Microsoft.Office.Server
Assembly Version: 12.0.0.0
Win32 Version: 12.0.6211.1000

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.Office.Server/12.0.0.0__71e9bce111e9429c/Microsoft.Office.Server.dll

Microsoft.Office.Server.Intl
Assembly Version: 12.0.0.0
Win32 Version: 12.0.4518.1014

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.Office.Server.intl/12.0.0.0__71e9bce111e9429c/Microsoft.Office.Server.intl.dll

microsoft.office.server.intl.resources
Assembly Version: 12.0.0.0
Win32 Version: 12.0.4518.1014

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.Office.Server.Intl.resources/12.0.0.0_sv_71e9bce111e9429c/Microsoft.Office.Server.Intl.resources.dll

Microsoft.SharePoint.Search
Assembly Version: 12.0.0.0
Win32 Version: 12.0.6315.5000

CodeBase: file:///C:/WINDOWS/assembly/GAC_32/Microsoft.SharePoint.Search/12.0.0.0__71e9bce111e9429c/Microsoft.SharePoint.Search.dll

msvcm80
Assembly Version: 8.0.50727.3053
Win32 Version: 8.00.50727.3053

CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_B80FA8CA/msvcm80.dll

System.Design
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll

System.Web.Mobile
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Mobile/2.0.0.0__b03f5f7f11d50a3a/System.Web.Mobile.dll

Microsoft.SharePoint.intl
Assembly Version: 12.0.0.0
Win32 Version: 12.0.6300.5000

CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.SharePoint.intl/12.0.0.0__71e9bce111e9429c/Microsoft.SharePoint.intl.dll

comments

DBedarf wrote Dec 8, 2008 at 5:09 PM

Which Field are you trying to change?

wrote Dec 3, 2009 at 3:31 PM

wrote Feb 4, 2010 at 9:07 PM

Beuden wrote Feb 4, 2010 at 9:21 PM

I am running into the same error. I'm trying to un-hide multiple fields in a calendar list. In the Advanced Mode an error pops up when I select the dropdown on the Hidden attribute and then select False. IT states "Property value is not valid" In the details it states "Cannot change Hidden attribute for this field"

wrote Feb 13, 2013 at 6:57 PM