Monday, June 30, 2008

Set Trustworthy On

Assemblies usually require that the TRUSTWORTHY condition is set to ON. The default is OFF.

Here's the simple script to change it:

ALTER DATABASE MyDatabaseName
SET TRUSTWORTHY ON;
GO

Simple.

No comments: