Applies to: On-premise Windows Client users connecting to a corporate SQL Server or SQL Express database. Not required for cloud site users.
1. Server Prerequisites
Ensure your server meets these minimum requirements before beginning:
- Microsoft SQL Express 2016 or above
- SQL Server Management Studio (SSMS)
- Microsoft .NET 4.8 or above
- Microsoft Windows 10 or Windows Server 2016
- 16 GB RAM minimum
- 500 GB hard drive minimum
- 100 Mbps Ethernet connection or faster
2. SQL Server Preparation
- Open SQL Server Management Studio (SSMS).
- Connect to your target server instance (e.g.,
SQLEXPRESS). - Right-click the top-level item and select Properties.
- Click Security.
- Select "SQL Server and Windows Authentication mode".
- Click Connections.
- Choose "Allow remote connections to this server".
- Click OK.
- Right-click the top-level item again and select Restart if prompted.
3. SQL Server Configuration Manager
- Run SQL Server Configuration Manager (
SQLServerManager16.msc). - Expand SQL Server Network Configuration.
- Click SQLEXPRESS or SQLSERVER.
- Right-click TCP/IP and select Properties.
- Set Enable to Yes.
- Click Apply.
- Click the IP Addresses tab.
- Scroll to the bottom and enter
1433in the IPAll TCP Port field. - Click OK.
- Click SQL Server Services.
- Right-click SQLSERVER and select Restart.
- Right-click SQL Server Browser and select Properties.
- Set service startup to Automatic.
- Right-click SQL Server Browser and select Start.
4. Windows Firewall Configuration
Open port 1433 (TCP) and 1434 (UDP) to allow network connections to SQL Server.
TCP Rule (Port 1433)
- Open Windows Firewall.
- Click Advanced Settings.
- Click Inbound Rules.
- Click New Rule.
- Select Port and click Next.
- Choose TCP.
- Enter
1433in the Specific local ports field. Click Next. - Select "Allow the connection". Click Next.
- Check all profile options. Click Next.
- Name the rule SQL TCP 1433. Click Finish.
UDP Rule (Port 1434)
Repeat the above steps selecting UDP and port 1434.
5. Create "Standard Time" Database
- Return to SQL Server Management Studio (SSMS).
- Right-click Databases.
- Select New Database.
- Enter Standard Time as the database name.
- Click OK.
6. Create SQL Login
- Expand Security and Logins in SSMS.
- Right-click Logins and select New Login.
- Create a login named
stwith passwordst(lowercase). - Set the default database to Standard Time.
- Click User Mapping.
- Check the Standard Time database.
- Assign db_owner rights.
- Click OK.
7. Create Credentials File (ODBC DSN)
The credentials file (Standard Time SQL.dsn) tells Standard Time® how to connect to your database.
- Open Control Panel > System and Security > Administrative Tools.
- Open Data Sources (ODBC).
- Click the File DSN tab.
- Click Add.
- Choose SQL Server driver and click Next.
- Name it Standard Time SQL and click Next.
- Click Finish.
- Select your correct server and instance. Click Next.
- Choose Windows authentication or SQL Server authentication. Enter credentials with db_owner rights. Click Next.
- Check "Change the default database to" and select Standard Time. Click Next.
- Click Finish and test the connection.
- Click OK.
- Locate Standard Time SQL.dsn in your Documents folder.
PWD=yourpassword. Windows Authentication avoids exposing cleartext passwords.8. Connect Standard Time® to SQL Server
- Install Standard Time® on the client workstation.
- Copy the credentials file to the workstation's Documents folder.
- Run Standard Time®.
- Select File > Database (optional menu).
- Click the "..." browse button.
- Navigate to the Documents folder.
- Select Standard Time SQL.dsn.
- Verify connection with no errors. Click OK.
- The application restarts and connects to SQL Server.
- Confirm the title bar displays: "SQL Server: Standard Time".
9. Copy Credentials to Additional Workstations
- Open the Documents folder in File Explorer.
- Find Standard Time SQL.dsn.
- Copy it to the Documents folder of each additional workstation.
- Install Standard Time® on each workstation and repeat Step 8.
10. Install the BC Barcode Client
- Copy Standard Time SQL.dsn to the workstation's Documents folder.
- Navigate to:
C:\Program Files (x86)\Standard Time\Utilities\ - Copy the entire BC folder to the workstation's desktop.
- Double-click bc.exe to run.
- Verify no errors appear at startup.
Support: 719-488-8697 x2 — Sales: 719-488-8697 x1 — support@strdtime.com