Home All Groups Group Topic Archive Search About

SMO can't connect to 7.0?

Author
11 Nov 2005 10:48 PM
Johnny Ortega
I've installed SQL Server 2005 RTM and using Microsoft's sample on
connecting using SMO, I tried connecting to a SQL Server 7.0 server. I
received this error:

"This SQL Server version (7.0) is not supported".

Huh?! BOL says SMO supports 7.0.

Author
11 Nov 2005 11:41 PM
Mike Epprecht (SQL MVP)
Hi

Are you on the SP4 for SQL Server 7.0?
I don't have a version I can test on, but it might be that SP4 is required
for it to work with SQL Server 7.0

Also check that you are not using functionality that is not supported:
BOL:
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/smo9/html/6527388b-26b5-4ebb-8a52-0cf4415f9134.htm

Regards
--------------------------------
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland

IM: m***@epprecht.net

MVP Program: http://www.microsoft.com/mvp

Blog: http://www.msmvps.com/epprecht/

Show quote
"Johnny Ortega" <john.ort***@quest.com> wrote in message
news:uS0cPIx5FHA.2560@TK2MSFTNGP12.phx.gbl...
> I've installed SQL Server 2005 RTM and using Microsoft's sample on
> connecting using SMO, I tried connecting to a SQL Server 7.0 server. I
> received this error:
>
> "This SQL Server version (7.0) is not supported".
>
> Huh?! BOL says SMO supports 7.0.
>
>
Author
12 Nov 2005 10:00 AM
Erland Sommarskog
Johnny Ortega (john.ort***@quest.com) writes:
> I've installed SQL Server 2005 RTM and using Microsoft's sample on
> connecting using SMO, I tried connecting to a SQL Server 7.0 server. I
> received this error:
>
> "This SQL Server version (7.0) is not supported".
>
> Huh?! BOL says SMO supports 7.0.

Sounds bad. But exactly which sample did you use? Most of the samples I
could find for SMO looks like the explore features only in SQL 2005? I'm
not into SMO myself, so I cannot just write a quick script that works on
SQL 7. (And neither can I rule out that documentation and implementation
are out of sync.)

--
Erland Sommarskog, SQL Server MVP, esq***@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

AddThis Social Bookmark Button