SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Enumerate SQL Servers using SQLDMO and T-SQL

By srdjan,

Microsoft reported BUG :
ListAvailableServers Method of the SQLDMO.Application Object Causes Error 0x800A000E .

When you execute the ListAvailableServers method of the SQLDMO.Application object from an ASP page, the following error message may occur:

Microsoft SQL-DMO (0x800A000E)
[SQL-DMO]Not enough storage is available to complete this operation.

However, there is some solution to get SQL servers using Client Side script on ASP .

Here is Stored Procedure , which will prepare List of available SQL servers , so you can easy show them in your Web Applications.

Total article views: 433 | Views in the last 30 days: 1