If you get 'AllowAutomaticASPXPageIndexing' attribute is not declared error while using SharePoint STSADM import and export or doing data migration using SharePoint content migration API, please make sure the service packs from the source and destination servers are same. Having different service packs could cause this problem.
There is also a hot fix from Microsoft to resolve this issue. Just use following steps:
- Go to this Microsoft link
“http://support.microsoft.com/default.aspx?scid=kb;EN-US;957691“
- Download the hotfix according to yours system (32 or 64 bit)
- Install the hotfix on the server but remember to run “SharePoint Products and Technologies Configuration Wizard” right after you apply the hotfix to your server or else your Central Administrator will not work.
That’s it.
Hope this helps!
d6a3c8de-e609-4b23-8fbb-d7db318c1dc6|0|.0