Home » Sql » The user instance login flag is not supported on this version of SQL Server

The user instance login flag is not supported on this version of SQL Server

When importing an existing project that you have not setup you may have when executing a SqlConnection this kind of error : flag is not supported.

Error Message: The user instance login flag is not supported on this version of SQL Server.

This can occur when the previous developer had in his connection string a reference to “User Instance“. This need to be removed.

A user instance is like a normal database instance but it is created on demand. Normally, instances are created during the creation of the database.

To remove this error, you just need to remove this configuration of the Sql connection string.

If you like my article, think to buy my annual book, professionally edited by a proofreader. directly from me or on Amazon. I also wrote a TypeScript book called Holistic TypeScript

2 Responses so far.

  1. Aish says:

    Please explain in detail.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.