Sqlserver允许C# dll exec sp_configure 'clr enabled',1 go reconfigure ALTER DATABASE databasename SET TRUSTWORTHY on; exec sp_changedbowner 'sa'