Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Troubleshooting JDBC connectivity and login to Microsoft SQL Server issues including SCCM Databases from MID Server - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Troubleshooting JDBC connectivity and login to Microsoft SQL Server issues including SCCM Databases from MID Server
KB0748820

Troubleshooting JDBC connectivity and login to Microsoft SQL Server issues including SCCM Databases from MID Server


13891 Views Last updated : Jul 24, 2025 public Copy Permalink English (Original)
  • English (Original)
  • Japanese
KB Summary by Now Assist

Issue

Importing data from Microsoft SQL Server via MID Server is very popular, but since this is an integration covering 2 endpoints (ServiceNow MID Server and MS SQL Server), it might be difficult to understand where the issue resides in case of an import failure.

This article will describe how you can validate the MS SQL Server connectivity from the MID Server host on Windows OS without the use of the ServiceNow platform. After following the steps described here, and if you have a successful connection, you will make sure that the SQL Server connection from the MID Server host is intact.

Resolution

1. Log in to your Windows MID Server host with the appropriate credentials.

If your SQL Server is enforcing "Integrated Windows Authentication" against your MS SQL Server, then login with the Windows user account that your MID Server is running under. You can gather this information from Windows Services applet after logging into Windows with admin privileges and by opening the MID Server service details:

Windows Integrated Authentication option on ServiceNow data source is indicated with the flag "Use integrated authentication", but you should engage your SQL Server administrator to learn about the actual configuration on installed SQL Server.

If you have confirmed that you're not using integrated authentication, you can log in with any valid Windows user account.


2. Make sure you have enabled viewing filename extensions on File Explorer:


3. Create a new text file on your desktop by right-clicking on an empty area and navigating to New > Text Document:


4. Rename the file to have .udl extension:

 

Windows will show a warning that the file might be unusable, but proceed with Yes:

The file icon will change to a Data Link definition:


5. Double-click on this file, and open the Data Link Properties dialog box. Populate the DB connection information that you have specified on the ServiceNow Data Source record.

If your SQL Server is enforcing Windows Authentication and you have logged into the MID Server host with the Windows credentials of the MID server process as mentioned in the 1st point, then you should select "Use Windows NT Integrated security":

If your SQL Server is in Mixed Mode for authentication and you have specified a SQL Server account on the ServiceNow data source, then you should select "Use a specific user name and password":


6. Click on Test Connection. If the connection successful, you should observe "Test connection succeeded.":

This test concludes that your database connection information and credential validity are correct on the Microsoft SQL Server end.


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.