I am trying to update a site column on my content. When I save the changes, I get the error "The object has been updated by another user since it was last fetched." When I searched the issue, I found a lot of references to an issue with the schemaXML property of the column having a version number in. When I checked the column, it did indeed have a version attribute. The posts further said to remove the version attribute and then redeploy the column. This is where I'm struggling. I am running the following powershell script
$web = get-spweb http://site.domain.com $column = $web.Fields["Escrow"]; $xml = $column.schemaXML; $xml = $xml -replace " Version=`"1`"",""; $column.schemaXML = $xml; $xml = $column.schemaXMLWithResourceTokens; $xml = $xml -replace " Version=`"1`"",""; $column.schemaXMLWithResourceTokens = $xml; $column.update();The script immediately spits out the same error. How do I resolve this?









