Skip to content

Commit cfc6276

Browse files
authored
Merge pull request #1859 from theley502/patch-79
Update error-message-start-microsoft-dynamics-gp.md
2 parents 800e35c + 965d371 commit cfc6276

File tree

1 file changed

+23
-50
lines changed

1 file changed

+23
-50
lines changed
Lines changed: 23 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: Error message when you start Microsoft Dynamics GP
2+
title: Your attempt to log into the server failed because of an unknown error
33
description: This article provides a resolution for the problem that occurs when you start Microsoft Dynamics GP.
44
ms.reviewer: theley, kyouells
55
ms.topic: troubleshooting
6-
ms.date: 03/20/2024
6+
ms.date: 04/21/2025
77
ms.custom: sap:System and Security Setup, Installation, Upgrade, and Migrations
88
---
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
1010

1111
This article helps you resolve the problem that occurs when you start Microsoft Dynamics GP.
1212

@@ -21,66 +21,39 @@ When you start Microsoft Dynamics GP, you receive the following error message:
2121
2222
## Cause
2323

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.
2525

26-
## Resolution
26+
## Resolution 1
2727

28-
- Method 1
28+
Restart the instance for SQL Server that's being used with Microsoft Dynamics GP. To do this, follow these steps:
2929

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**.
3131

32-
- Microsoft SQL Server 2000
32+
2. In the **Connect to Server** window, follow these steps:
3333

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**.
3538

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**.
3740

38-
1. In the **Server name** box, type the name of the server that is running SQL Server.
41+
## Resolution 2
3942

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:
4144

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**.
4346

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_.
4548

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**.
4750

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
4952

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:
5154

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.
5356

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**.
5558

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

Comments
 (0)