EXEC sp_configure 'show advanced options','1';
reconfigure;
EXEC sp_configure 'clr enabled','1'
Alter Database Stat_ETL SET TRUSTWORTHY ON
CREATE ASSEMBLY [System.Web]
FROM 'C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\System.Web.dll'
WITH PERMISSION_SET = UNSAFE;
运行成功以后,在添加引用时,死活不出现System.Web.dll
我在32位的机器上,用 CREATE ASSEMBLY [System.Web] FROM 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Web.dll' WITH PERMISSION_SET = UNSAFE; 运行后,就可以出现,然后正常引用