KB Article administrator on-premise only
Overview
This article covers the end-to-end process of setting up FactoryLogix on a single computer, including creating the database, configuring security, structuring the schema, granting stored procedure permissions, and installing and connecting the client applications.
Prerequisites
-
FactoryLogix Server.exe is installed and the Application Service is running.
-
Microsoft SQL Server is installed.
-
Microsoft SQL Server Management Studio (SSMS) is installed.
-
The FactoryLogix Applications.exe setup program is available.
-
A Windows account with local administrative rights is available.
Create the FactoryLogix database
-
Log on to SQL Server with a Windows account that has local administrative rights.
-
Open SQL Server Management Studio.
-
In the Object Explorer, expand the appropriate SQL Server computer/instance name, right-click Databases, then select New Database.
-
In the New Database dialog, enter FactoryLogix in the Database name field.
-
Under Path, enter the path to use for data and log files.
-
Under Autogrowth/Maxsize, select the Browse button.
-
In the Change Autogrowth dialog, confirm that the Enable Autogrowth check box is selected (this is the default), then set File Growth to 10%.
-
Under Maximum File Size, select Unlimited, then select OK.
-
Select OK to return to the New Database dialog, then select Add to create the database.
Set up database security with Windows authentication
-
Open SQL Server Management Studio.
-
In the Object Explorer, expand the appropriate SQL Server computer/instance name, right-click Security, then select New > Login.
-
In the Login - New dialog, select Windows Authentication.
-
In the Login name text box, enter the appropriate Windows domain logon account.
-
From the Default database drop-down, select FactoryLogix, then select OK.
Set up database security with SQL authentication
-
Open SQL Server Management Studio.
-
In the Object Explorer, expand the appropriate SQL Server computer/instance name, right-click Security, then select New > Login.
-
In the Login - New dialog, select SQL Server Authentication.
-
Enter aegis in the Login name field.
-
Enter a password in the Password field, then re-enter it in the Confirm password field.
-
Clear the Enforce password expiration check box.
-
From the Default database drop-down, select FactoryLogix, then select OK.
-
Under Select a page, select User Mapping.
-
Under Users mapped to this login, select FactoryLogix.
-
Under Database role membership for: FactoryLogix, select db_datareader, db_datawriter, and db_ddladmin. (Public is selected by default and should remain selected.)
Structure the database
-
Log onto the server or a machine where FactoryLogix Server Management is already installed.
-
Open FactoryLogix Server Management from the Windows Start menu.
-
Select the Database Connections button.
-
In the upper-right corner of the Database Connections window, select Add new database connection.
-
In the Add New Database Connection dialog, enter FactoryLogix in the Database Connection Name field.
-
Under Server Name, enter or select the FactoryLogix SQL Server.
-
Under Log on to the server, select the applicable authentication type (Windows or SQL).
-
In the Select or enter a Database Name field, select FactoryLogix, then select OK.
-
In the Database Connections window, select the FactoryLogix connection, select Set Default to make it the default database connection, then select Save.
-
Select the Home button at the top of the window, then select Database Utilities.
-
In the Database Utilities window, select FactoryLogix from the Select Target Database drop-down, then select Create New Target Database Schema.
-
When the message The Target FactoryLogix database was created successfully appears, select OK.
Grant permissions for FactoryLogix stored procedures
-
Open SQL Server Management Studio.
-
In the Object Explorer, expand Databases > FactoryLogix > Programmability > Stored Procedures.
-
Right-click the DeleteECAD procedure, then select Properties.
-
In the Stored Procedure Properties - DeleteECAD dialog, select the Permissions page.
-
To grant permissions to a user, select Search.
-
Select Browse (...) to display the list of users or roles.
-
Select the previously configured Aegis user account to which permissions should be granted, then select OK twice.
-
On the Explicit Permissions tab, select the Execute check box in the Grant column, then select OK.
-
Repeat steps 3–8 for each of the following stored procedures:
-
CheckoutBatchDataCollectionDocumentLink
-
CreateArchiveQueue
-
DeleteECAD
-
FinishBatchRouteTransaction
-
FinishRerouteProcessFlowTransactionStatuses
-
GenerateSerialNumberDefinition
-
StartBatchRouteStatus
-
StartBatchRouteTransaction
-
StartRerouteProcessFlowTransactionStatuses
-
Install FactoryLogix Office, Production, and Logistics
-
Locate and run the FactoryLogix Applications.exe setup program.
-
On the Welcome page, accept the default installation location or select Browse to specify a different location, then select Next.
-
Read the EULA, select I accept the terms of the license agreement, then select Next.
-
Enter your user name and company name.
-
Select the client applications you want to install, then select Next.
-
Select Install to begin installation.
-
When installation is complete, select Finish.
Configure FactoryLogix Office, Production, Analytics, and Logistics
-
Open the FactoryLogix Office, Operations, Analytics, or Materials Management client application from the Windows Start menu.
-
When the Login screen appears, select Settings.
-
In the Server Settings dialog, enter the address of a FactoryLogix Application Server, or select Discover to auto-discover FactoryLogix Application Servers on the local network.
-
Select a server name from the Server Addresses list, then select OK.
-
On the Login screen, enter your FactoryLogix user name and password, then select Login.