SQL Server stops loading assembly

后端 未结 13 1475
花落未央
花落未央 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:47

    A combination of things were required in my case where I had copied a database from a different server and the user who created the database was not present on the new server.

    myDB is the database that I am trying to access validDbUser is the user name on the new database server that I wish to change the owner ship of the transplanted database to.

    USE myDB
    GO
    ALTER DATABASE [myDB] SET TRUSTWORTHY ON
    GO
    EXEC sp_changedbowner [validDbUser]
    
    0 讨论(0)
提交回复
热议问题