You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Error message when you start Microsoft Dynamics GP
2
+
title: Your attempt to log into the server failed because of an unknown error
3
3
description: This article provides a resolution for the problem that occurs when you start Microsoft Dynamics GP.
4
4
ms.reviewer: theley, kyouells
5
5
ms.topic: troubleshooting
6
-
ms.date: 04/15/2025
6
+
ms.date: 04/17/2025
7
7
ms.custom: sap:System and Security Setup, Installation, Upgrade, and Migrations
8
8
---
9
-
# Error message when you start Microsoft Dynamics GP (Your attempt to log into the server failed because of an unknown error. Attempt to log in again.)
9
+
# "Your attempt to log into the server failed because of an unknown error" when you start Microsoft Dynamics GP
10
10
11
11
This article helps you resolve the problem that occurs when you start Microsoft Dynamics GP.
12
12
@@ -21,46 +21,39 @@ When you start Microsoft Dynamics GP, you receive the following error message:
21
21
22
22
## Cause
23
23
24
-
This problem occurs when the `DEX_LOCK` and `DEX_SESSION` tables do not exist in the database TEMPDB Database in the SQL Server that is being used for Microsoft Dynamics GP.
24
+
This problem occurs when the `DEX_LOCK` and `DEX_SESSION` tables don't exist in the `TEMPDB` database in the SQL Server that's being used for Microsoft Dynamics GP.
25
25
26
-
## Resolution
26
+
## Resolution 1
27
27
28
-
- Method 1
28
+
Restart the instance for SQL Server that's being used with Microsoft Dynamics GP. To do this, follow these steps:
29
29
30
-
Restart the instance for SQL Server that is being used with Microsoft Dynamics GP. To do this, follow these steps depending on the SQL Server version you are using.
30
+
1. Select **Start**, point to **All Programs** > **Microsoft SQL Server**, and then select **SQL Server Management Studio**.
31
31
32
-
- Microsoft SQL Server
32
+
2. In the **Connect to Server** window, follow these steps:
33
33
34
-
1. Click **Start**, point to **All Programs**, point to **Microsoft SQL Server**, and then click **SQL Server Management Studio**.
34
+
1. In the **Server name** box, type the name of the server that is running SQL Server.
35
+
2. In the **Authentication** box, select **SQL Authentication**.
36
+
3. In the **login** box, type _sa_.
37
+
4. In the **Password** box, type the password for the sa user, and then select **Connect**.
35
38
36
-
2. In the **Connect to Server** window, follow these steps:
39
+
3. Right-click the instance name of the SQL Server, and then select **Restart**.
37
40
38
-
1. In the **Server name** box, type the name of the server that is running SQL Server.
41
+
## Resolution 2
39
42
40
-
2. In the **Authentication** box, click **SQL Authentication**.
43
+
Start Microsoft Dynamics GP or Microsoft Dynamics GP Utilities as the sa user. To do this, follow these steps:
41
44
42
-
3. In the **login**box, type sa .
45
+
1. On a computer that's running Microsoft Dynamics GP, point to **All Programs**> **Microsoft Dynamics**, and then select **GP** or **Utilities**.
43
46
44
-
4. In the Password box, type the password for the sa user, and then click **Connect**.
47
+
2. In the login box, type _sa_.
45
48
46
-
3. Right-click the instance name of the SQL Server, and then click**Restart**.
49
+
3. In the **Password** box, type the password for the sa user, and then select**OK**.
47
50
48
-
- Method 2
51
+
## Resolution 3
49
52
50
-
To resolve this issue, start Microsoft Dynamics GP or Microsoft Dynamics GP Utilities as the sa user. To do this, follow these steps:
53
+
Re-create the tables by using the **dex_req.sql** script. To do this, follow these steps:
51
54
52
-
1.On a computer that is running Microsoft Dynamics GP, point to **All Programs**, point to **Microsoft Dynamics**, and then click **GP** OR click **Utilities**.
55
+
1.Locate the **dex_req.sql** file in the installation folder.
53
56
54
-
2. In the login box, type *sa*.
57
+
- If you're running Microsoft Dynamics GP, the default location is **C:\Program Files\Microsoft Dynamics\GP\SQL\Utililty\0**.
55
58
56
-
3. In the **Password** box, type the password for the sa user, and then click **OK**.
57
-
58
-
- Method 3
59
-
60
-
To resolve this issue, re-create the tables by using the dex_req.sql script. To do this, follow these steps:
61
-
62
-
1. Locate the dex_req.sql file that is located in the installation folder.
63
-
64
-
- If you are running Microsoft Dynamics GP, the default location is `C:\Program Files\Microsoft Dynamics\GP\SQL\Utililty\0`.
65
-
66
-
2. Open the dex_req.sql file in SQL Server Management Studio, and then click **Execute** to run the script.
59
+
2. Open the **dex_req.sql** file in SQL Server Management Studio, and then select **Execute** to run the script.
0 commit comments