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
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.