|
-
Sep 9th, 2006, 10:59 AM
#1
Thread Starter
New Member
VB error 2147467259
hi i have created a login form using VB 6 and SQL server 2000 but i on run time i get an error
ERROR -2147467259(80004005)
[Microsoft][ODBC Driver Manager] Data Source name not found
The connection strting used is
Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Data Source=projects;Initial Catalog=login
-
Sep 9th, 2006, 11:50 AM
#2
Re: VB error 2147467259
Moved to Database forum
Welcome to VBForums! 
The error message means that either your connection string is incomplete, or you do not have the correct driver installed.
Assuming that "projects" is the name of your server, and that "login" is the name of your database, the connection string should be ok.
If you have a version of Windows earlier than XP (such as Windows 2000) it is probably a good idea to install MDAC (which includes drivers for SQL Server), you can find a link to the download in my signature.
-
Sep 10th, 2006, 02:18 AM
#3
Thread Starter
New Member
Re: VB error 2147467259
hi thaks for the reply.
I downloaded the MDAC and i installed but i still seem to get the same problem...
-
Sep 10th, 2006, 12:00 PM
#4
Re: VB error 2147467259
Ok.. in that case your connection string needs to be checked, eg:
Is the computer that SQL Server is installed on called "projects"?
Is "login" the name of your database?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|