Sage 100 Unable to Connect to Server
Description
Sage 100 “Unable To Connect To Server ‘[Servername]’. The server cannot be found.”
Network Warning
This solution requires advanced knowledge of your network. Contact your system administrator for assistance. Modifying Windows security incorrectly can severely affect system operations. Sage is not responsible for operational issues caused by incorrectly modifying your Windows security. Always create a backup of your data before proceeding with advanced solutions.
Cause
Permissions on the Application Server’s firewall is not allowing communication through from the workstation.
- Incorrect Server Name, IP Address, or Port
- Network DNS issues
- Firewall Security
- “Session.pvk” is corrupted (does not apply to Sage 100 ERP Standard edition)
Resolution
Verify that the correct IP address or server name was entered during workstation setup.
- Browse to the “..\MAS90\Launcher” folder on the workstation.
- Open the Sota.ini file.
- Locate the [Servers] section. The IP address or server name is listed after the following text: “1=”
Example: 1=ServerName;10000;APS=SAGE;APPLICATION=Sage 100 ERP;Path=\\ServerName\ShareName\MAS90 - If the IP address or server name is incorrect, Enter the correct Server Name or IP address or uninstall and then reinstall Workstation Setup.
- Verify the port is open (not blocked by a firewall).
- Verify the IP address or server name and port were entered correctly in the icon properties
- Right Click Sage 100 ERP workstation client icon and select properties
- In the Target confirm the server name or IP address and port are correct
Example: “..\MAS90\Home\pvxwin32.exe ../launcher/sota.ini *Client -ARG “ServerName or IP address” “Port” “Sage 100 ERP”
(“..\MAS90\Home\pvxwin32.exe ../launcher/sota.ini *Client -ARG “MyServer” “10000” “Sage 100 ERP”)
(“..\MAS90\Home\pvxwin32.exe ../launcher/sota.ini *Client -ARG “192.168.1.1” “10000” “Sage 100 ERP”)
If Port, ServerName, or IP Address have been verified correctly in the above steps, this message can occur if an Inbound Rule and Outbound Rule has not been created for the Sage 100 (formerly Sage 100 ERP) port on the Windows 2008 or 2012 Server, under Windows Firewall Advanced Security.
- Open Administrative Tools, Windows Firewall with Advanced Security console
- In the left pane of the console, select Inbound Rules
- Right-click select New Rule
- Select Port click Next
- Select Specific Local ports and enter the port number for Sage 100 and click Next.
- Note: The default port is 10000. However, port numbers are often selected during installation of Sage 100
- Select Allow Connection click Next
- Select Domain, Private, Public and click Next
- Name the new rule a name of your choice. Add a description identifying the rule is used for Sage 100 and click Finish
- Create an OutBound Rule following steps above.
Replace the “Locate.pvk” and “Sessions.pvk” files (for Sage 100 Advanced or Premium editions only):
- Have all users exit Sage 100 ERP Advanced or Premium
- Stop the Application or Service running Sage 100 ERP
- On the Sage 100 Advanced server, rename the “Locate.pvk” and “Sessions.pvk” files found within “..\MAS90\Home\ Lib\_Appserv“, the folder where Sage 100 ERP is installed.
- Open Application Server Configuration from the Windows Start Menu
- New “Locate.pvk” and “Sessions.pvk” files are automatically recreated and the original grid restored
- If Sage 100 ERP is run as:
- an Application, log back into Sage 100 ERP
- Stop the Application, Start the Service, and log back into Sage 100 ERP
Support
If necessary, seek the assistance of Acute Data Systems to help provide assistance with this process.