Tuesday , November 19 2024

Generating user instances in SQL Server is disabled. Use sp_configure ‘user instances enabled’ to generate user instances.

 

ERROR MESSAGE:

Generating user instances in SQL Server is disabled. Use sp_configure ‘user instances enabled’ to generate user instances.

 

EXPLANATION:

You may experience this error when you try to create a database by using Visual Studio or in another database-related job.

 

SOLUTION:

Execute the following script from SQL Server Management Studio.

This script will enable the “User Instances” option. So you won’t get this error.

Loading

About Ekrem Önsoy

The original article was written in Turkish by Ekrem Önsoy and translated to English by dbtut with the consent of the author. The copyright of the article belongs to the author. The author shall not be liable in any way for any defect caused by translation.

Leave a Reply

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