![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
On a new PC I've installed Win XP Pro with SP2 and SQL Express 2005. According to the registry (and Microsoft) this should include the latest MDAC 2.8. I also have an SQL Server 2000 on the network. However when I use Microsoft Data Link and select the "Microsoft OLE DB Provider for SQL Server" I can't connect to any of the SQL Servers. |
#3
| |||
| |||
|
|
Peter Hemmingsen (Only_use_phe (AT) softco (DOT) dk) writes: On a new PC I've installed Win XP Pro with SP2 and SQL Express 2005. According to the registry (and Microsoft) this should include the latest MDAC 2.8. I also have an SQL Server 2000 on the network. However when I use Microsoft Data Link and select the "Microsoft OLE DB Provider for SQL Server" I can't connect to any of the SQL Servers. What error did you get? I don't really know about the MDAC mess you got yourself into, but I like to point out that with SQL Express you got SQL Native Client, a single DLL which containts both an updated OLE DB provider and an updated ODBC driver for SQL Server. So, I recommend that you use SQLNCLI rather than SQLOLEDB. -- Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se Books Online for SQL Server 2005 at http://www.microsoft.com/technet/pro...ads/books.mspx Books Online for SQL Server 2000 at http://www.microsoft.com/sql/prodinf...ons/books.mspx |
#4
| |||
| |||
|
|
Thanks for your reply. I got error: Microsoft OLE DB Provider for SQL Server error '80004005' [DBNETLIB][ConnectionOpen (Createfile()).] I don't have access to the source so I have to use the OLE DB for SQL Server. |
#5
| |||
| |||
|
|
Peter Hemmingsen (phe (AT) softco (DOT) dk) writes: Thanks for your reply. I got error: Microsoft OLE DB Provider for SQL Server error '80004005' [DBNETLIB][ConnectionOpen (Createfile()).] I don't have access to the source so I have to use the OLE DB for SQL Server. I don't know what you mean with "don't have access to the source". When you installed SQL Express on the machine, SQL Native Client was installed as part of that installation, so you have it. Since I don't really know what Microsoft Data Link is, what happens if you try to connect with SQLCMD from the command line? -- Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se Books Online for SQL Server 2005 at http://www.microsoft.com/technet/pro...ads/books.mspx Books Online for SQL Server 2000 at http://www.microsoft.com/sql/prodinf...ons/books.mspx |
![]() |
| Thread Tools | |
| Display Modes | |
| |