Local SQL Server Express Instance not showing up when getting datasource list
- From: EvansJunk@xxxxxxxxx
- Date: 21 Mar 2006 10:29:27 -0800
Hi
I'm using System.Data.Sql.SqlDataSourceEnumerator in C# to get the
available servers. It doesn't seem to find any local servers but picks
up 4 others on the local network. I have both SQL Server 2005 and
Express running on my system. The Express is instance named SQLExpress
by default and I can administer the server through SQL Server
Management Studio so I know it's running and whatnot. Any idea why I'm
not seeing my local servers?
code snippet of how I'm retrieving the list:
System.Data.Sql.SqlDataSourceEnumerator m_SqlEnumerator =
System.Data.Sql.SqlDataSourceEnumerator.Instance;
System.Data.DataTable dtblDBList = new System.Data.DataTable();
dtblDBList = m_SqlEnumerator.GetDataSources();
Thanx in advance,
Evan Brown
.
- Follow-Ups:
- Re: Local SQL Server Express Instance not showing up when getting datasource list
- From: William \(Bill\) Vaughn
- Re: Local SQL Server Express Instance not showing up when getting datasource list
- Prev by Date: Re: Can someone please tell me...
- Next by Date: Re: displaying table count in label
- Previous by thread: Slow server performance causes ASP page to Insert duplicate record
- Next by thread: Re: Local SQL Server Express Instance not showing up when getting datasource list
- Index(es):
Relevant Pages
|