Generate a unique machineKey value for your application.
- Download the PowerShell script. Download the script.
- Run the PowerShell console as an administrator.
- Specify the path to the root application folder and run the script. Script launch example:
As a result, a unique machineKey value will be generated in Web.config files located in the root application folder and the Terrasoft.WebApp folder.
Additional Web.config setup (Oracle only)
When deploying an Oracle-based Creatio application, altering the application configuration Web.config file is the next required step after configuring the ConnectionStrings.config file to ensure Creatio operates as intended.
To configure Web.config:
-
Go to the root directory of the Creatio application ~\WebAppRoot\Creatio.
-
Open the Web.config file in a text editor.
-
In the general parameter of the <db> block, change the value of the currentSchemaName attribute to the schema name that is specified in ConnectionStrings.config. This is to allow the website application to read the connection configuration parameters.
-
Make sure that the 4.112.1.2 library version is specified in the <DbProviderFactories> block. The parameter defines the data provider to connect the website to the database.
-
Specify the quartz.dataSource.SchedulerDb.provider key value in the <quartz> block. The parameter is required by the scheduler to interact with the database tables.
-
Save the changes.