I've migrated one portal to a new farm, using the Detach Database method.

Everything went ok until I started testing.

Visual Upgrade didn't return any error but, when viewing list contents (AllItems.aspx) or displaying/editing items (DispItem.aspx/EditItem.aspx) the layouts are rendered incorrectly, all broken, and with some yellow/blue colors of 2007.

Anyone knows how to force update these forms?

Best regards!

  • 1
    Have you checked that these pages hasn't been modified using SharePoint designer? That would cause them to be stored in the content database and not getting updated implementation. Or they could be custom implementations. Oct 31, 2012 at 16:44

1 Answer 1


Have you checked the UI version of the pages?

You can manually change the UI version from 3 to 4 in PowerShell. This is done in the same way as on an SPWeb, however the forms will be SPFile objects in the Forms library.

SPFile.UIVersion Property

Manage Visual Upgrade (SharePoint Server 2010)


To rectify this you have a few options:

If the forms were custom and you'd like to retain that look:

1) Open each form in SPD and edit until the form is back to how you wanted it.

If you'd like to revert to the default SharePoint forms:

2) In SPD, navigate to the site, click All Files, navigate to your list. If there is a blue/white exclamation point on the file icon you can right click and choose "Reset to site definition."

3) In the browser, navigate to the list > List Settings (in the ribbon under the List tab) > Form Settings > check "Use the default SharePoint form"

Use the default SharePoint form

  • I'll try it then, and then I'll give you some feedback on that. Thanks for the help. Nov 2, 2012 at 9:50
  • SPFile.UIVersion is Read-Only and cannot be set. Nov 2, 2012 at 11:07
  • Coincidentally, that option, in my installation, only has "Modify the existing InfoPath Form" listed on the options.... Nov 2, 2012 at 15:12
  • Don't know what to tell you to be honest. Have you compared the form code with the default form templates? You may be able to gain some insight that way. Nov 2, 2012 at 15:49
  • I've just found "<View>" elements on the Lists definitions. It might be it. The "<Forms>" elements are pointing to the default forms, but there is a lot of custom markup in the "<Views>" elements. Nov 2, 2012 at 16:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.