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
Copy file name to clipboardExpand all lines: support/sql/database-engine/startup-shutdown/sql-server-agent-crashes-upon-start.md
+4-32Lines changed: 4 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,52 +97,24 @@ For information about the ODBC driver requirements for different versions of SQL
97
97
### Solution
98
98
99
99
1. To check if the SQL Server ODBC driver is missing, run one of the following commands in an elevated Command Prompt window or PowerShell:
100
-
1. Command prompt:
100
+
1. Command prompt to launch ODBC Data Source Administrator:
101
101
102
102
```cli
103
103
odbcad32.exe
104
104
```
105
105
106
-
1. Check if the expected SQL Server ODBC driver is there by comparing to the following table [SQL Server versions and ODBC and OLE DB drivers](/sql/connect/connect-history#sql-server-versions-and-odbc-and-ole-db-drivers). The table lists the SQL Server ODBC driver version shipped with each SQL Server engine and used by SQL Server Agent to connect to SQL Server engine.
107
-
108
-
1. PowerShell:
106
+
1. PowerShell cmd-let:
109
107
110
108
```powershell
111
109
Get-OdbcDriver
112
110
```
113
111
114
-
This command returns an output that resembles the following example:
1. Check if the expected SQL Server ODBC driver is there by comparing to the following table [SQL Server versions and ODBC and OLE DB drivers](/sql/connect/connect-history#sql-server-versions-and-odbc-and-ole-db-drivers). The table lists the SQL Server ODBC driver version shipped with each SQL Server engine and used by SQL Server Agent to connect to SQL Server engine.
141
113
142
114
If the SQL Server ODBC driver isn't listed in the output of the `Get-OdbcDriver` command, then the driver is missing.
143
115
144
116
1. Check if the ODBC driver for SQL Server is present
145
-
1. If the driver is missing, go to the next step.
117
+
1. If the driver is missing, go to the next step [ODBC driver is present](#sql-server-odbc-driver-is-present)
146
118
1. If the driver is missing, go to [ODBC driver is missing](#sql-server-odbc-driver-is-missing)
0 commit comments