---
title: "Visual Studio Code"
description: "This example illustrates how a connection is established from Visual Studio Code to an Invantive UniversalSQL database on Invantive Cloud."
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/docs/invantive-universalsql-server/examples/visual-studio-code
original: https://documentation.invantive.eu/en/docs/invantive-universalsql-server/examples/visual-studio-code
updated: 2026-08-09T00:00:00Z
license: https://documentation.invantive.eu/en/
---

This example illustrates how a connection is established from Visual Studio Code to an Invantive UniversalSQL database on Invantive Cloud.

Invantive UniversalSQL Server has been tested with Visual Studio Code with the `mssql` extension v1.41.0.

## Prerequisites
Ensure the following prerequisites are met:
- A database has been registered on Invantive Cloud.
- The IP address from which Visual Studio Code connects is whitelisted.

## Login
The SQL Server compatible server name is entered into the Connection Dialog window available with the `mssql` extension, together with the Invantive Cloud credentials. Encryption is activated, since Invantive Cloud uses Invantive UniversalSQL Server with a certificate:
![The "Connect to Database" dialog of Visual Studio Code with server name, SQL login, database name and encryption.](/img/c74601680fd635892a0b4cbe5a00ad624df0bacb8e794072930c113e1b31fa88/964x741.png)

## Limitations
As of release 26.0, the following are known limitations when used with Visual Studio Code:
- No connection possible due to (issue 6588):
> Connection Timeout Expired. The timeout period elapsed during the post-login phase. The connection could have timed out while waiting for server to complete the login process and respond; Or it could have timed out while attempting to create multiple active connections. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=16; handshake=41; [Login] initialization=0; authentication=0; [Post-Login] complete=29004;

## Release Notes

- [Invantive UniversalSQL Server](/en/release-notes/products/invantive-universalsql-server)
  - [26.0 to 27.0](/en/release-notes/products/invantive-universalsql-server?step=26.0-to-27.0)
  - [25.0 to 26.0](/en/release-notes/products/invantive-universalsql-server?step=25.0-to-26.0)

