CLR 错误及解决

来源:互联网 发布:2016网络语言大全 编辑:程序博客网 时间:2024/05/17 02:44

CLR 错误及解决

1、 错误: 禁止在   .NET   Framework   中执行用户代码。启用   "clr   enabled"   配置选项。

En : error: Execution of user code in the .NET Framework is disabled. Enable clr enabled configuration option.
Caused : By default .NET Framwork is disabled in SQL2005.

How to fix:

1. Explore "SQL Server 2005/Configuration Tools/Surface Area Configuration" in your Start menu.
2. Select "Surface Area Configuration for Features"
3. You will find "CLR Integration" option, activate it and save.