Upgrading to a Newer Version

  • 2 minutes to read

Since SharePoint maintains its files and modification history, it is necessary to perform the following steps to delete/upgrade deployed DevExpress Web Parts for SharePoint used in SharePoint Pages.

  1. If you have previously modified certain SharePoint Pages with the SharePoint Designer, then edit the corresponding page with the SharePoint Designer in Advanced Mode, and use the <%--…--%> expression to comment out the DevExpress Register directives and control markup.
  2. Remove Web Parts that use DevExpress controls from all pages.

    1) Use the Site Action -> Edit Page command to edit the corresponding page.

    2) Select the required Web Part.

    3) Click the Delete command within the Smart Tag menu.

  3. Remove all Web Parts from the Site Actions -> Site Settings -> Galleries -> Web Parts menu.
  4. Ensure that there are no DevExpress entries in the Web.config file.
  5. Clear the corresponding "Temporary ASP.NET Files" directory (the c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\ path for SharePoint 2013 and SharePoint 2016). You may need to use the following command to stop the IIS process.

    iisreset /stop

  6. Use the following command to restart IIS.

    iisreset

  7. Examine all problematic pages and check to see if they operate properly, and that there are no errors or warning messages.
  8. Register a new version of the DevExpress Web.config entries. See the following help topic for more information: Installation and Deployment.
  9. If you have modified certain SharePoint Pages directly, then use the SharePoint Designer in Advanced Mode to edit the corresponding page: remove comment expressions from DevExpress Register directives and control markup, and update DevExpress Register directives based upon the new DevExpress version.
  10. Use the Project Converter tool to upgrade the source folder of Web Part projects that use DevExpress controls. See the following help topic for more information: Upgrade Notes.
  11. Remove the Properties -> licenses.licx file, the Bin folder and the Obj folders.
  12. Rebuild and redeploy the upgraded Web Parts projects.
  13. Insert the required Web Part into the required page.

  14. Examine all problematic pages and check to see if they operate properly, and that there are no errors or warning messages.

See Also