How to Update the Admin Portal Manually?

To update the Admin Portal manually ask for a link of the Admin Portal's latest version
That link will contain a ZIP that contains only Admin Portal related files.
In the ZIP there are two folders which we are planning to use:
  1. The Admin Portal folder contains a version of the Installation files of the Admin Portal
  2. The SQL Scripts contain 3 Folders (Fresh Install , Maintenance, Upgrade), For the Upgrade process, we will use the "Upgrade" folder.


Database Upgrade

Note: We recommended backing up the database before this process

In the Upgrade folder, there are multiple SQL scripts named in an "X.XtoX.X.sql" format, The X's represent version numbers. 
In order to upgrade the database, they must run in order starting with the current version installed.  

For Example:
If the current AP Version installed is 3.6.5 then we will need to run:
3.6.5to3.6.5.1.sql
3.6.5.1to3.6.5.2.sql
Make sure to run these scripts against the Admin Portal DB ( however you named it) and not 'MasterDB'. 


Access Portal Upgrade

1. Stop the IIS service by typing the following command in an elevated CMD:

iisreset /stop


2. Replace all the files and folders except for the 'configuration'  folder with new files from the extracted ZIP, to the Admin Portal installation folder. Its default location should be

C:\inetpub\AccessPortal

Note: If you edited the Custom.css or the Web.config please back them up and replace them after the upgrade


3. Start the IIS service by typing the following command in an elevated CMD:

iisreset /start