BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Need some help with connecting MSSQL Server Express Beta2 to

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
Guest
Guest





PostPosted: Fri Oct 29, 2004 12:38 pm    Post subject: Need some help with connecting MSSQL Server Express Beta2 to Reply with quote



I have Delphi v7 Ent. and I wonn to connect to MS SQL Server 2005 express beta 2
Since I'm just beggining in this area I've figured that I need to register database ( in BDE Administrator or SQL Explorer ) with
MSSQL or SQL Native Client or SQL Server driver.
I definitely can't connect to MSSQL with any of these drivers.
Trying to connect over:

***MSSQL driver raises exception:
"Vendor initialization failed. Can not load an IDAPI Service library. File: NTWDBLIB.DLL"

***SQL Native Client:
"Invalid configuration parameter. BDE Error: 12550"

***SQL Server
raises same exception as SQL Native client

I must note that I don't know which user name I should use when trying to connect over any of these drivers.
Also in 'ODBC Administrator', I can't connect to any of drivers.
Exceptions are "...can't connect to SQL Server: server does not exists or access denied..." and "..client could not establish connection..."
'sqlcmd.exe' does not work with any user names I try :sa, admin, sysdba,db_sysadmin, sysadmin, db_owner and I do use same password with each one of them(One i've entered during the installation).

OS: WinXP

Please any suggestions are welcome
Thanks


User submitted from AEWNET (http://www.aewnet.com/)
Back to top
Viatcheslav V. Vassiliev
Guest





PostPosted: Fri Oct 29, 2004 1:11 pm    Post subject: Re: Need some help with connecting MSSQL Server Express Beta Reply with quote



Which components do you use?

Quote:
***SQL Native Client:
"Invalid configuration parameter. BDE Error: 12550"

Is it BDE?

Try to use ADO. Connection string is the same as for MS SQL Server 2000 but
Provider=SQLNCLI instead of Provider=SQLOLEDB. For example:

Provider=SQLNCLI;Integrated Security=SSPI;Initial catalog=master

Try to connect to master at first. Did you enabled Windows authentication
(for Integrated Security=SSPI)? If not, use user name/password. Later you
will be able to create more databases.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)

"Guest" <Guest (AT) aew_nospam (DOT) com> ???????/???????? ? ???????? ?????????:
news:418239cd$1 (AT) newsgroups (DOT) borland.com...
Quote:
I have Delphi v7 Ent. and I wonn to connect to MS SQL Server 2005 express
beta 2
Since I'm just beggining in this area I've figured that I need to register
database ( in BDE Administrator or SQL Explorer ) with
MSSQL or SQL Native Client or SQL Server driver.
I definitely can't connect to MSSQL with any of these drivers.
Trying to connect over:

***MSSQL driver raises exception:
"Vendor initialization failed. Can not load an IDAPI Service library.
File: NTWDBLIB.DLL"

***SQL Native Client:
"Invalid configuration parameter. BDE Error: 12550"

***SQL Server
raises same exception as SQL Native client

I must note that I don't know which user name I should use when trying to
connect over any of these drivers.
Also in 'ODBC Administrator', I can't connect to any of drivers.
Exceptions are "...can't connect to SQL Server: server does not exists or
access denied..." and "..client could not establish connection..."
'sqlcmd.exe' does not work with any user names I try :sa, admin,
sysdba,db_sysadmin, sysadmin, db_owner and I do use same password with each

one of them(One i've entered during the installation).
Quote:

OS: WinXP

Please any suggestions are welcome
Thanks


User submitted from AEWNET (http://www.aewnet.com/)



Back to top
Bill Todd
Guest





PostPosted: Fri Oct 29, 2004 2:56 pm    Post subject: Re: Need some help with connecting MSSQL Server Express Beta Reply with quote



Do not use the BDE. It is no longer being developed and the SQL Server
driver uses Microsoft's DBLIB client library which MS has not updated
since SQL Server 6.5. Use the ADO components.

--
Bill (TeamB)
TeamB cannot answer questions received via email
Back to top
Euan Garden
Guest





PostPosted: Fri Oct 29, 2004 5:53 pm    Post subject: Re: Need some help with connecting MSSQL Server Express Beta Reply with quote

In addition to Bills comment about not using DBLIB, and the other comment on
changing the connection string, see if this helps;

http://blogs.msdn.com/sqlexpress/archive/2004/07/23/192044.aspx

-Euan

"Guest" <Guest (AT) aew_nospam (DOT) com> wrote

Quote:
I have Delphi v7 Ent. and I wonn to connect to MS SQL Server 2005 express
beta 2
Since I'm just beggining in this area I've figured that I need to register
database ( in BDE Administrator or SQL Explorer ) with
MSSQL or SQL Native Client or SQL Server driver.
I definitely can't connect to MSSQL with any of these drivers.
Trying to connect over:

***MSSQL driver raises exception:
"Vendor initialization failed. Can not load an IDAPI Service library.
File: NTWDBLIB.DLL"

***SQL Native Client:
"Invalid configuration parameter. BDE Error: 12550"

***SQL Server
raises same exception as SQL Native client

I must note that I don't know which user name I should use when trying to
connect over any of these drivers.
Also in 'ODBC Administrator', I can't connect to any of drivers.
Exceptions are "...can't connect to SQL Server: server does not exists or
access denied..." and "..client could not establish connection..."
'sqlcmd.exe' does not work with any user names I try :sa, admin,
sysdba,db_sysadmin, sysadmin, db_owner and I do use same password with each

one of them(One i've entered during the installation).
Quote:

OS: WinXP

Please any suggestions are welcome
Thanks


User submitted from AEWNET (http://www.aewnet.com/)



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.