本文介绍了不支持此SQL Server版本(10.50)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





目前我正在申请更新现有数据库。

为此我正在使用Microsoft的服务器类。 SqlServer.Smo.dll。

它适用于sql 2005,sql 2008和sql 2012

但是当我尝试升级sql server 2008 R2时它会引发异常失败连接到服务器。

不支持此SQL Server版本(10.50)。



注意: - 重新安装sql server 2008 r2问题解决了,但重新安装不是一个选项。我尝试过一个多系统在一个系统上没问题。

我正在使用服务器类的Transaction()方法。



如何管理2005年和2008年的smo.dll r2?





谢谢你,问候,

Kunal Shah

Hi,

Currently i am working on application to update existed database.
For that i am using server class of Microsoft.SqlServer.Smo.dll.
It works fine for sql 2005, sql 2008 and sql 2012
But when i try to upgrade sql server 2008 R2 it throws exception "Failed to connect to server .
This SQL Server version (10.50) is not supported."

NOTE:- On re installing sql server 2008 r2 the problem was solved, but re installing is not an option here. And i have tried one multiple systems it was not problem at one systems.
I am using Transaction() method of server class.

how to manage smo.dll for 2005 and 2008 r2?


Thank you and Regards,
Kunal Shah

推荐答案


这篇关于不支持此SQL Server版本(10.50)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-07 06:59