error populating fields

Jul 15, 2011 at 10:55 AM

I get an unhandled exception when clicking populate fields:



See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
Microsoft.SharePoint.SPException: Cannot complete this action.

Please try again. ---> System.Runtime.InteropServices.COMException (0x80004005): Cannot complete this action.

Please try again.
   at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFieldsSchemaXml(String bstrUrl, String bstrListName, ISP2DSafeArrayWriter p2DWKProps, ISP1DSafeArrayWriter p1DFullXML)
   at Microsoft.SharePoint.Library.SPRequest.GetFieldsSchemaXml(String bstrUrl, String bstrListName, ISP2DSafeArrayWriter p2DWKProps, ISP1DSafeArrayWriter p1DFullXML)
   --- End of inner exception stack trace ---
   at Microsoft.SharePoint.Library.SPRequest.GetFieldsSchemaXml(String bstrUrl, String bstrListName, ISP2DSafeArrayWriter p2DWKProps, ISP1DSafeArrayWriter p1DFullXML)
   at Microsoft.SharePoint.SPFieldCollection.EnsureFieldsSafeArray(Boolean bGetFullXML)
   at Microsoft.SharePoint.SPFieldCollection.Undirty(Boolean bGetFullXML)
   at Microsoft.SharePoint.SPFieldCollection.Undirty()
   at Microsoft.SharePoint.SPBaseCollection.System.Collections.IEnumerable.GetEnumerator()
   at Community.SharePoint.Tools.SPLookupLinker.SPOperations.GetFields(SPList list)
   at Community.SharePoint.Tools.SPLookupLinker.Form1.PopulateFieldCombos()
   at Community.SharePoint.Tools.SPLookupLinker.Form1.button5_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.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.Button.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)



Jul 15, 2011 at 11:27 AM

user error fixed it