在SQL Server 2005中存储过程使用.NET Framework 3.5 [英] Using .NET Framework 3.5 in a SQL Server 2005 Stored Procedure

查看:232
本文介绍了在SQL Server 2005中存储过程使用.NET Framework 3.5的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个SQL Server 2005服务器,我想在其上运行一个.NET CLR存储过程。不过,我想使用的.NET Framework 3.5。

如果我试试这个现在,我得到这个错误:

 错误:大会System.Core程序,版本= 3.5.0.0,文化=中性公钥= b77a5c561934e089。在SQL目录中没有被发现。
 

有人告诉我,这是有可能在SQL Server 2008中,因为SQL Server 2008和.NET Framework 3.5的。但是,我不知道是否有一种方法,以.NET Framework 3.5的添加到我的SQL Server 2005安装,这样我就可以在其上运行.NET 3.5的存储过程。

解决方案

这可能是一个愚蠢的问题,但...如果System.Core程序无法找到,你有安装在数据库服务器上的框架3.5 <? / P>

I have an SQL Server 2005 server, and I'd like to run a .Net CLR stored procedure on it. However, I'd like to use .NET Framework 3.5.

If I try this right now, I get this error:

Error: Assembly 'system.core, version=3.5.0.0, culture=neutral, publickeytoken=b77a5c561934e089.' was not found in the SQL catalog.

I'm told this is possible in SQL Server 2008, because SQL Server 2008 ships with .NET Framework 3.5. However, I'm wondering if there's a way to add .NET Framework 3.5 to my SQL Server 2005 installation, so that I can run .NET 3.5 stored procedures on it.

解决方案

This might be a stupid question but... If system.core can't be found, do you have the framework 3.5 installed on the database server?

这篇关于在SQL Server 2005中存储过程使用.NET Framework 3.5的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆