AppFrame

How to: Upgrade to Build 5

Prerequisites installed on your PC

Begin with taking a backup of you database

  1. Install AppFrameR3Build5 ClickOnce
  2. Restore R3CurrentBuild5 Database and ReCreate the User: R3CurrentBuild, if you dont have it allready as a user on in your SQL Server as SQL Login.
  3. Use Redgate SQL Compare and Compare your current database and R3CurrentBuild5. Do not DROP any tables, only update and import new.
    Run:
    - sstp_Database_Maintenance_RefreshAllViews
    - sstp_Database_Maintenance_ApplyPermissionsAll
    On your current PIMS database between importing Tables and views.
  4. Run this sstp_System_SourceFiles_MoveFromWinWeb on your database to copy files from the old tables holding Files for WinClient and WebClint to SourceFiles tables.
  5. Login to the your R3CurrentBuild5 database and use the new Import feature to transfere Sys.% projects from R3CurrentBuild5 to your database, Import all Assembly projects also.
  6. Login to your new Build 5 PIMS Solution with AppFrameR3Build5 ClickOnce and open CR3 Assemblies. Use the Import Feature and Import all Projects from R3CurrentBuild5 database.
  7. Open Web3 Projects and use the Import Feature and Import all Sys. projects from R3CurrentBuild5 database.
  8. Run sstp_Navigation_CopyFromOldMenuStructure, this will create Shortcuts for all users based on the last used forms from the old Menu concept.

At this point your database is at Build 5

Next step is to create a new ClickOnce project based on Sys.WinClient.Login. If you also want to modify the Main form do this at this point also.

Follow the steps to create a ClickOnce: Setting up Build 5 Environment.

AppFrame3 DLL's

We have changed the assembly version on AppFrameR3 Dlls to 1.5.933.0, this version will be the same throughout the whole Build 5. We will change the File Version for every hotfix or SP. For Example, 1.5.933.1

We have also setting the Specific Version property to True on all AppFrameR3 and DevExpress Assemblies. This we do in order to be sure that we obtain the correct versin of the dll from CR3 Assemblies and Click Once. Its recommended to set this also on other 3 party dll's for example Aspose.

Obsolete Components

The afComboBox has been set to obsolete in build 5, and will be removed completly in next build. In order to list the projects with obsolete components and projects that needs to be upgraded due to orhpan controls, like repositoryitems inside grids, you can use the "search for oboslete components" under the tools menu in CR3 Projects