Re: Problem accessing SQL Express Server with ADO-Lib



TGL wrote:
Hello!

I'm currently working on a Delphi-Application which needs access to
different databases. I found a nice component for using ADO, but i
fail to access the SQL Express server.

The server was installed when i installed Visual C# Express and is
usable in the Visual C# IDE without any problems.

The Delphi-ADO-component uses the official MS-dialog to choose
db-provider and database. The access to a mdb-database works perfect,
so i suppose, that the component works correctly.

If i choose "Microsoft OLE DB Provider for SQL Server" and server
"localhost" and then try to access the database-list, nothings
happend until timeout. The created access string looks correct, but
runs into a timeout every time:

Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security
Info=False;Initial Catalog=test;Data Source=localhost

The SQL Express server is on its default settings, what can i do to
get access?

You probably need to enable the network library protocols (tcpip) for
your server. I know how to do it in SSMS but I don't know how to do it
in SQL Express. You should post to a sqlserver newsgroup. Please post
the resolution here if you find it.


--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.


.



Relevant Pages

  • Re: Side-by-side upgrade - moving master, msdb and model
    ... MVP - Windows Server - Clustering ... "In some cases, you may want to copy the system databases, including ... from the source SQL Server 2000 instance to the SQL ...
    (microsoft.public.sqlserver.clustering)
  • Re: BizTalk Server 2004 ConfigFramework.exe error
    ... one BizTalk is installed on? ... machines (both for SQL and DTC) is not blocked by firewalls and new MSDTC ... Multi-computer configuration using Windows Server 2003 or Windows XP ... >>all associated databases. ...
    (microsoft.public.biztalk.general)
  • RE: Clustering a standalone SQL server + storage array
    ... working as expected with out error your ready to install sql server. ... log files to the data and log shared drives you setup as part of the cluster. ... Our apps team look after a trading system that uses an HP DL360 server ... running SQL 2000 SP3a with a few small databases on it. ...
    (microsoft.public.sqlserver.clustering)
  • Re: Side-by-side upgrade - moving master, msdb and model
    ... MVP - Windows Server - Clustering ... "In some cases, you may want to copy the system databases, including the ... from the source SQL Server 2000 instance to the SQL ...
    (microsoft.public.sqlserver.clustering)
  • Re: SQL 2005 servers with multiple instances
    ... Microsoft SQL Server MVP ... given the same number of user databases. ... we've decided to use SQL 2005. ... SQL 2005 clustering? ...
    (microsoft.public.sqlserver.setup)