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: 03/20/2024
6
+
ms.date: 04/21/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,66 +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 2000
32
+
2. In the **Connect to Server** window, follow these steps:
33
33
34
-
1. Click **Start**, point to **All Programs**, and then click **Enterprise Manager**.
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
-
3. Right-click the instance name of the SQL Server, click **Stop**, and then click **Start**.
47
+
2. In the login box, type _sa_.
45
48
46
-
- Microsoft SQL Server 2005 and SQL Server 2008
49
+
3. In the **Password** box, type the password for the sa user, and then select **OK**.
47
50
48
-
1. Click **Start**, point to **All Programs**, point to **Microsoft SQL Server 2005** or **Microsoft SQL Server 2008**, and then click **SQL Server Management Studio**.
51
+
## Resolution 3
49
52
50
-
2. In the **Connect to Server**window, 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.In the **Server name**box, type the name of the server that is running SQL Server.
55
+
1.Locate the **dex_req.sql**file in the installation folder.
53
56
54
-
2. In the **Authentication** box, click**SQL Authentication**.
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 **login** box, type sa .
57
-
58
-
4. In the Password box, type the password for the sa user, and then click **Connect**.
59
-
60
-
3. Right-click the instance name of the SQL Server, and then click **Restart**.
61
-
62
-
- Method 2
63
-
64
-
To resolve this issue, start Microsoft Dynamics GP or Microsoft Dynamics GP Utilities as the sa user. To do this, follow these steps:
65
-
66
-
1. On a computer that is running Microsoft Dynamics GP 10.0, point to **All Programs**, point to **Microsoft Dynamics**, point to **GP 10.0**, and then click **GP** OR click **Utilities**.
67
-
68
-
- If you are running Microsoft Dynamics GP 9.0, click **Start**, point to **All Programs**, point to **Microsoft Dynamics**, point to **GP 9.0**, and then click **GP** OR click **Utilities**.
69
-
70
-
- If you are running Microsoft Business Solutions Great Plains 8.0, click **Start**, point to **All Programs**, point to **Microsoft Business Solutions**, point to **Great Plains**, and then click **Great Plains** OR click **Great Plains Utilities**.
71
-
72
-
2. In the login box, type *sa*.
73
-
74
-
3. In the **Password** box, type the password for the sa user, and then click **OK**.
75
-
76
-
- Method 3
77
-
78
-
To resolve this issue, re-create the tables by using the dex_req.sql script. To do this, follow these steps:
79
-
80
-
1. Locate the dex_req.sql file that is located in the installation folder.
81
-
82
-
- If you are running Microsoft Dynamics GP 10.0 or 9.0, the default location is `C:\Program Files\Microsoft Dynamics\GP\SQL\Utililty\0`.
83
-
84
-
- If you are running Microsoft Business Solutions-Great Plains 8.0, the default location is located on a Server installation at `C:\Program Files\Microsoft Business Solutions\Great Plains\SQL\Util`.
85
-
86
-
2. Open the dex_req.sql file in Query Analyzer or 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