SQL Server Error Msg Errors were encountered in the %S_MSG ‘%.*ls’ during compilation of the object. Either the containment option of the database ‘%.*ls’ was changed, or this object was present in model db and the user tried to create a new contained database. – 16

In this blog post, let’s learn about the error message “Errors were encountered in the %S_MSG ‘%.*ls’ during compilation of the object. Either the containment option of the database ‘%.*ls’ was changed, or this object was present in model db and the user tried to create a new contained database. – 16” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

Errors were encountered in the %S_MSG ‘%.*ls’ during compilation of the object. Either the containment option of the database ‘%.*ls’ was changed, or this object was present in model db and the user tried to create a new contained database. – 16

Reason for the Error

To be update soon…

Solution

To be update soon…