Site icon Database Tutorials

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.

Exit mobile version