SQL Server stops loading assembly

后端 未结 13 1482
花落未央
花落未央 2020-12-13 00:12

We have developed an assembly for SQL Server 2008 R2.

The assembly has been working for a week. The managed stored proc inside the assembly was working fine for the

13条回答
  •  执念已碎
    2020-12-13 00:28

    I experienced it. it seems when you restore a database TRUSTWORTHY set to OFF. so my solution was to turn it on :

    ALTER DATABASE [myDB] SET TRUSTWORTHY ON
    GO
    

    and after i turned it on, my triggers and stored procedures started to work like before.

提交回复
热议问题