Margin Master Handbook
- Prerequisites
- Firewall and Network Requirements
- Microsoft Edge Download Block
- SQL Server Authentication Setup for IT Administrators
- Antivirus and Endpoint Security Exclusions
- SQL Server Tools
- Install or Upgrade SQL Server Express
- Install or Upgrade SQL Server Management Studio
- Database Connection Setup
- Database Creation
- Database Restore
- Transfer Settings from Database
- Connecting a Second Computer
- A Tour of the Main Window
- The Menus
- The Button Row
- The Main Data Grid
- The Summary Section
- Banners and Badges
- The Options Window
- Store Configuration
- Miscellaneous
- Export Options
- Vendor Settings
- POS / Connections Tabs
- Background Service
- AI Assistant (Experimental)
- How POS Import Works
- Supported Point-of-Sale Systems
- Data Import Workflows
- RockSolid POS Import
- Epicor Eagle FTP Import
- Epicor MySQL Compass Import
- Transact POS Import
- Paladin POS Import
- Falcon POS Import
- Spruce POS Import
- Bistrack POS Import
- RockSolid Max POS Import
- ECS POS Import
- Prosperity POS Import
- Catalyst POS Import
- Westlake POS Import
- MI9 POS Import
- AS/400 POS Import
- CounterWorks POS Import
- Dimension POS Import
- PacSoft POS Import
- ProStix POS Import
- Sympac POS Import
- Propello POS Import
- EagleVision POS Import
- MySQL/Compass Connection Configuration
- ECI VPN Requirement (Spruce, RockSolid MAX)
- Propello POS Integration Guide
- Troubleshooting: Epicor Import Brought In 0 SKUs
- PACE POS Import
- Advantage POS Import
- General Store POS Import
- J-3 POS Import
- KeyStroke POS Import
- AutBusSystem POS Import
- Tomax POS Import
- Enterprise POS Import
- Computakey POS Import
- Redisell POS Import
- DART POS Import
- MIB POS Import
- Substruct POS Import
- DMAS POS Import
- RODS POS Import
- Procom POS Import
- Agility POS Import
- Acumen POS Import
- Cruise POS Import
- LSandE POS Import
- Retalix POS Import
- DIBCorp POS Import
- GMROI POS Import
- ECi Advantage POS Import
- Sunray POS Import
- ActivantAutomotive POS Import
- IBS POS Import
- Versys POS Import
- RMS POS Import
- TAMS POS Import
- Integrasoft POS Import
- Dynamic POS Import
- Microsoft ARS POS Import
- CDS POS Import
- Spartan POS Import
- Nitterhouse POS Import
- Jeds POS Import
- Theisens POS Import
- Emery Jensen POS Import
- SMS Pro POS Import
- Burdens POS Import
- Intact POS Import
- Bloom Retail POS Import
- NCR Counterpoint POS Import
- Horizon POS Import
- Cloud Vendor Data Sync
- Data Aging and Freshness Warnings
- Resetting Vendor and POS Data
- Rebuild Data and Rebuild Selection Lists
- Troubleshooting Vendor Sync
- Understanding the Strategy Hierarchy
- Pricing Strategies
- Creating a Strategy Step
- Updating and Deleting Steps
- Reviewing a Strategy and Running It
- Shared (Premade) Strategies
- SKU-Level Exceptions
- Manage Custom Groups
- Strategy Execution Cloud Tracking
- Importing from Excel
- Cost Break Analysis
- Cost Break Strategies
- Min/Max Strategies
- Strategy Backup & Restore
- Add Items from Catalog
- Store Grouping
- Data Diagnostics and Missing Index Recommendations
- System Diagnostics
- Margin Master Cannot Save Settings
- SQL Server 2025 Express vs. Full License
- Support Issue Management
- Catalog Lookup
- What's New After an Update
- Version History
- Documentation and the Help Buttons
- Chat with Support
- CTLD — Do It Best Catalog File
- MARGIN_MASTER — Ace Catalog File
- PCDITEMXREF — Do It Best SKU Classification File
- SAP_ZONE_PRICE_MARGIN_MASTER — Ace Zone Pricing File
- PCDPRODCLASS — Do It Best Product Classification Hierarchy File
- SAP_STORE_DEPT_ZONE_MARGIN_MASTER — Ace Store Zone Assignment File
- Taxonomy — Ace Product Classification File
- Mapp_Pricing — Ace MAP & IMAP Pricing File
- margin_mstr_plano — Ace Planogram File
On This Page
Connecting a Second Computer
What is this?
A store has Margin Master working on one computer. They want to use it on a second computer too, with both looking at the same data. This walks you through it start to finish.
No SQL Server knowledge is assumed. Every step says what to click, what to type, and how to tell it worked. Every step uses Margin Master's own screens or the standard Windows and SQL Server tools, described by the labels you see on screen.
You will work on two computers, and it matters which one you are on at each step:
| What it is | How to spot it | |
|---|---|---|
| HOST | The computer that already runs Margin Master and holds the data | Margin Master is installed and working on it today |
| WORKSTATION | The second computer, the one being added | Margin Master is either not installed yet or cannot see a database |
Every step below is marked HOST or WORKSTATION. If you are remoting into both, keep two sessions open and check the marker before each step.
Budget about twenty minutes the first time.
Before you start
Have these ready:
- Remote access to both computers. You will be clicking on each in turn.
- Local administrator rights on the HOST. Several steps change Windows and SQL Server settings and will not work from a standard account.
- The password for the shared
MarginMasterlogin, if you use the numbered steps. Margin Master support provides it. - Both computers on the same store network. This does not work over the internet and should not be made to.
One reassurance to have ready if the store's IT person asks what you are changing: nothing here
opens the store to the internet, no router change is involved, and the sa account is not enabled
or touched. If they want the detail, send them
SQL Server Authentication Setup for IT Administrators,
which is written for them.
The quick way: Check Connection Settings
Margin Master can do most of this for you. Try it first. The numbered steps further down are the fallback for when it cannot finish.
New in the next Margin Master update. If Tools in SQL Server Tools does not list Check Connection Settings... yet, skip to Step 1.
HOST
- Open File > Utilities > SQL Server Tools, then Tools > Check Connection Settings... It opens inside the SQL Server Tools window; Back, next to the title, returns you to the setup screen when you are finished.
- On This computer is the host, click Check. Windows asks for permission; choose Yes. Each row shows a green ✓ when that setting is already right.
- If any row shows ✗, click Fix Problems and choose Yes again. SQL Server restarts, which drops anyone using Margin Master for a few seconds.
- Click Create Login. Margin Master creates a login named
MarginMaster_LANwith its own random password, gives it access to every Margin Master database on this computer, and shows a connection block. - Click Copy to Clipboard, or Save to File..., and get the block to the workstation: paste it into the remote session or a chat, or copy the file across.
WORKSTATION
- Open SQL Server Tools > Tools > Check Connection Settings... On a computer that has no database yet, the SQL Server Tools... button in the Connect to Database window gets you there.
- On This computer connects to a host, click Paste from Clipboard (or Open File...).
- Choose the Database, then click Check Connection. Every row says what it checked, and a row marked ✗ says what to do about it, usually on the host.
- When it says Ready, click Use This Connection. Connect to Database opens with everything filled in. Click Connect.
Treat the connection block like a password. The password inside is not readable, but any copy of Margin Master can open the block. If one goes astray, click Create New Password... on the host. Every computer that used the old block then needs the new one.
If any of that does not finish, work through the steps below instead. They use a shared login named
MarginMaster, which Margin Master creates itself every time it starts; support provides its
password. Keep the firewall rules in Step 2 scoped to Domain and Private, and never forward the SQL
Server port through a router. A store that would rather not depend on a shared login can use one of
its own instead, covered in
If a store's IT does not want the shared login.
Step 1 — Write down the connection name
HOST. Everything later depends on getting this one piece of text right, so do it first and write it down.
1a. Get the computer name
Right-click the Start button, choose System, and read the Device name. It might be
something like STORE-PC or FRONTOFFICE.
1b. Find out which SQL Server is Margin Master's
Open SQL Server Configuration Manager from the Start menu, and click SQL Server Services on
the left. You will see one or more entries that look like SQL Server (SOMETHING).
The word in brackets is the instance name. What you see tells you what to write down:
| What you see | What it means | Connection name |
|---|---|---|
SQL Server (MARGINMASTER) |
Margin Master's own SQL Server. This is the usual case | STORE-PC\MARGINMASTER |
SQL Server (SQLEXPRESS) |
A stock SQL Server Express install | STORE-PC\SQLEXPRESS |
SQL Server (MSSQLSERVER) |
The default instance, which has no name of its own | STORE-PC on its own, with no backslash |
More than one entry? That is normal and important. Stores often run a point of sale that brings its own SQL Server, so you may see
SQL Server (ROCKSOLID)or similar alongside Margin Master's. Only configure Margin Master's instance and leave the others completely alone. If you are not sure which is which, open Margin Master on the HOST and go to File > Database > Manage Database Connections. The SQL Server box shows the instance it is connected to right now. Close the window without changing anything.
Write the connection name down. From here on, wherever this document says
STORE-PC\MARGINMASTER, type yours instead.
Step 2 — Let the HOST accept connections from other computers
HOST. Out of the box, SQL Server only accepts connections from the computer it is installed on, and only from Windows accounts. Six things have to change.
The manual way
Six items, in this order. The order matters: item 3 is what makes items 1 and 2 take effect.
1. Allow username-and-password logins.
Open SQL Server Management Studio (SSMS) on the HOST and connect to Margin Master's instance. In the Object Explorer panel on the left, right-click the very top entry (the server itself), choose Properties, then Security on the left of the dialog. Select SQL Server and Windows Authentication mode and click OK.
You will get a message saying the change takes effect after a restart. That is item 3. Click OK.
How you know it worked: re-open Properties > Security and the new option is still selected.
2. Turn on network connections.
In SQL Server Configuration Manager, expand SQL Server Network Configuration on the left, then click Protocols for MARGINMASTER (or whatever your instance is called). In the right-hand panel, right-click TCP/IP and choose Enable.
How you know it worked: the Status column for TCP/IP reads Enabled.
Do not change the port. Whatever is there already is correct.
3. Restart SQL Server.
Still in Configuration Manager, click SQL Server Services on the left. Right-click SQL Server (MARGINMASTER) and choose Restart.
Items 1 and 2 do nothing until you do this. It takes a few seconds and briefly disconnects anyone using the database, so if the store's point of sale shares this computer, do it outside business hours.
How you know it worked: the State column returns to Running.
4. Start the service that helps other computers find this one.
Only needed if your connection name has a backslash in it. If it is just STORE-PC with no
backslash, skip this item.
In SQL Server Services, right-click SQL Server Browser and choose Properties. On the Service tab, set Start Mode to Automatic and click OK. Then right-click SQL Server Browser again and choose Start.
How you know it worked: State reads Running and Start Mode reads Automatic.
5. Let the connection through the Windows firewall.
Open Windows Defender Firewall with Advanced Security from the Start menu. You will add two rules.
The first rule lets SQL Server itself through:
- Click Inbound Rules on the left, then New Rule... on the right.
- Choose Program and click Next.
- Choose This program path and click Browse.... Go to
C:\Program Files\Microsoft SQL Server, open the folder whose name ends in your instance name (for exampleMSSQL17.MARGINMASTER), then MSSQL > Binn, and select sqlservr.exe. Click Next. - Choose Allow the connection and click Next.
- Leave Domain and Private ticked, untick Public, and click Next.
- For the name, type
Margin Master - SQL Server (TCP)and click Finish.
The second rule lets the Browser service from item 4 through. Skip it if you skipped item 4.
- Click New Rule... again.
- Choose Port and click Next.
- Choose UDP, choose Specific local ports, type
1434, and click Next. - Choose Allow the connection and click Next.
- Leave Domain and Private ticked, untick Public, and click Next.
- For the name, type
Margin Master - SQL Browser (UDP 1434)and click Finish.
How you know it worked: both rules appear in the Inbound Rules list with a green tick. If you
cannot find sqlservr.exe in step 3, SQL Server is installed somewhere else on this computer;
Margin Master support can find it for you.
Always untick Public. Keeping these rules to Domain and Private is what limits them to the store's own network.
6. Check the login exists.
Margin Master creates a login named MarginMaster by itself, so this is usually just a
confirmation. If Step 3 reports that the login failed, Margin Master support can check it for you.
Step 3 — Prove it works from the WORKSTATION
WORKSTATION. Do this before touching Margin Master. It is the same connection, so if this works Margin Master will work, and if it fails you learn exactly which item in Step 2 to go back to. Starting in Margin Master instead tells you far less.
You need SSMS on this computer. If it is not installed, see Installing SQL Server Management Studio.
Open SSMS. The Connect to Server box appears. Fill it in:
| Field | What to enter |
|---|---|
| Server name | The connection name from Step 1, e.g. STORE-PC\MARGINMASTER |
| Authentication | Change the dropdown to SQL Server Authentication |
| Login | MarginMaster |
| Password | The shared login's password (Margin Master support provides it) |
| Trust server certificate | Tick this box |
Trust server certificate catches almost everyone. Recent versions of SSMS refuse the connection with a long certificate error unless it is ticked. It reads like something is wrong with the HOST, and nothing is. If you do not see the checkbox, click Options at the bottom of the box and look on the Connection Properties tab.
Margin Master has no equivalent setting and needs none. This is an SSMS quirk only.
Click Connect.
How you know it worked: the Connect box closes and the server appears in Object Explorer on the left.
Now expand Databases and write down the Margin Master database name. It is usually the store
name or number. You need it in Step 4.
If it would not connect
Match the message to the row, then go back and redo that item in Step 2.
| Message on screen | What it means | Go back to |
|---|---|---|
| Login failed for user 'MarginMaster' | The HOST still only accepts Windows logins, or it was never restarted | Step 2, items 1 and 3 |
| A network-related or instance-specific error | The HOST cannot be reached at all | Step 2, items 2, 4 and 5 |
| Anything about a certificate or a chain | Trust server certificate is not ticked | This step, the note above |
| It cannot find the server name | The name is wrong, or the Browser service is stopped | Step 1, then Step 2 item 4 |
Do not guess at the password. Three wrong attempts do not lock this login, but a wrong password produces the same "Login failed" message as a genuine setup problem, which will send you chasing the wrong thing. Confirm the password with support before re-running Step 2.
Step 4 — Connect Margin Master
WORKSTATION. Everything here is what you just typed into SSMS, so this part is quick.
Open Margin Master. If it has never connected to a database, the Connect to Database window appears on its own. If it is already connected to something, go to File > Database > Manage Database Connections.
- In the SQL Server box, type the connection name from Step 1. Type it rather than scanning for it; you already know it is correct because SSMS just used it.
- Untick Use Windows Authentication. A Username and Password box appear.
- Enter
MarginMasterand the password. - Click Test Connection. A green checkmark means success and a red X means failure. If you get a red X here but SSMS connected fine, re-check the username and password for typing mistakes.
- Open the Available Databases list and choose the database name you wrote down in Step 3. The store details underneath fill in on their own, which confirms it is a real Margin Master database.
- Click Connect.
If the Network scan button finds nothing, ignore it. Scanning relies on a broadcast that Windows Firewall routinely discards, so it often comes up empty on networks that are working perfectly. Typing the name is the reliable way, and Step 3 already proved the name is right.
Confirm it stuck
Close Margin Master completely and open it again. It should go straight to the main window without asking for the database or the password. The credentials are saved, encrypted, on this computer.
If it prompts again, the connection did not save. Repeat Step 4 and make sure you click Connect rather than closing the window after Test Connection.
When you are finished
- SSMS on the WORKSTATION connects to the HOST
- Margin Master on the WORKSTATION opens to the main window with the store's real data
- Closing and reopening Margin Master does not prompt for anything
- Margin Master on the HOST still works exactly as before
That last one is worth actually checking before you end the call. Nothing in Step 2 should have affected the HOST, but item 3 restarts SQL Server, and it is better to find a problem while you are still connected.
If a store's IT does not want the shared login
Some sites prefer a login they create and control. That is fine and changes nothing about Steps 3
and 4, except that you enter their username and password instead of MarginMaster.
Pass them two requirements. The login needs owner-level access to the Margin Master database, because Margin Master builds and changes tables as it works and read-only access is not enough. And password expiry should be switched off, because an expired password stops Margin Master on every computer at once, with no obvious cause. Their IT person will find both covered in SQL Server Authentication Setup for IT Administrators.
Related
- SQL Server Authentication Setup for IT Administrators — the same task written for a store's own IT person, safe to forward
- Database Connection Setup — the Connect to Database window, field by field
- Installing SQL Server Management Studio — if SSMS is missing from the workstation
- Firewall and Network Requirements — the outbound addresses every store needs
