Running the CreateSecurityTokenCacheDb.sql script

This task explains where to run the CreateSecurityTokenCacheDBDGS.sql file prior to using Document Generation Services. Note the following:

Run DBInstall.ps1 script. As input parameters, add the server name(s) where DGS database is installed (for example: .\DBInstall.ps1<server name>.
Note: The user running this script will need to have access to the AppSecurityTokenCache database.