Error message when you try to log on to Microsoft Dynamics GP: “This login failed. Attempt to log in again or contact your system administrator”

blog3

 

 

 

 

 

 

After installing Dynamics GP on a client, you may receive this error when trying to login: “This login failed. Attempt to log in again or contact your system administrator”.  You are using the ‘sa’ login and the ‘sa’ user can login successfully on the server, so why is it not working on the client?

 

Microsoft Article ID 919345 offers 8 troubleshooting suggestions.  But before you venture down the troubleshooting road, first be sure to specify inbound and outbound ports with GP default port 1433.  I find that enabling port 1433 resolves this error the majority of the time.  To enable port 1433, follow the steps below:

 

INBOUND PORT

1. In the Windows Firewall with Advanced Security, in the left pane, right-click Inbound Rules, and then click New Rule in the action pane.

2. In the Rule Type dialog box, select Port, and then click Next.

3. In the Protocol and Ports dialog box, select TCP. Select Specific local ports, and then type the port number of the instance of the Database Engine, such as 1433 for the default instance. Click Next.

4. In the Action dialog box, select Allow the connection, and then click Next.

5. In the Profile dialog box, select any profiles that describe the computer connection environment when you want to connect to the Database Engine, and then click Next.

6. In the Name dialog box, type a name and description for this rule, and then click Finish.

 

OUTBOUND PORT

1. In the Windows Firewall with Advanced Security, in the left pane, right-click Outbound Rules, and then click New Rule in the action pane.

2. In the Rule Type dialog box, select Port, and then click Next.

3. In the Protocol and Ports dialog box, select TCP. Select Specific local ports, and then type the port number of the instance of the Database Engine, such as 1433 for the default instance. Click Next.

4. In the Action dialog box, select Allow the connection, and then click Next.

5. In the Profile dialog box, select any profiles that describe the computer connection environment when you want to connect to the Database Engine, and then click Next.

6. In the Name dialog box, type a name and description for this rule, and then click Finish.

Tonya Boyce, Sr. Consultant ACE Microtechnology, Inc.