SPMT – A Web Issue when doing SP Query Invalid field name

One of the easiest ways to migrate your SharePoint On-Premise environment to SharePoint Online is the Microsoft SharePoint Migration Tool published by Microsoft. You can access the current version and details from the address below.

https://learn.microsoft.com/en-us/sharepointmigration/introducing-the-sharepoint-migration-tool

To briefly summarize, you can easily move your entire site collection, specific list or library to SharePoint Online. You can even carry existing perm versions and many other features with you while doing this.

I have been using this tool for a long time and have encountered almost no errors. However, recently, while migrating to an on-premise SharePoint 2013 environment, I encountered an error as follows:

Invalid site URL ‘http://sitename (ErrorCode: 0x0201000F) OriginalMessage: A Web Issue when doing SP Query Invalid field name. {dSe67 c73-deld-484e-8463-61a1f35d5612} http://sitename

The reason for the error is that some site columns are not loaded correctly. The main reason for this is probably the Publishing feature. Therefore, if you run the commands below in the order I wrote, you can continue the migration process without any problems.

stsadm -o deactivatefeature -name publishingresources -url "http://sitename" -force
stsadm -o deactivatefeature -name publishingweb -url "http://sitename" -force
stsadm -o deactivatefeature -name publishingsite -url "http://sitename" -force
stsadm -o deactivatefeature -name fields -url "http://sitename" -force


stsadm -o activatefeature -name fields -url "http://sitename" -force
stsadm -o activatefeature -name publishingsite -url "http://sitename" -force
stsadm -o activatefeature -name publishingweb -url "http://sitename" -force
stsadm -o activatefeature -name publishingresources -url "http://sitename" -force

Add a Comment

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