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:
![[20260422-vsc-connect.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;