ADO (VB6 to SQLExpress2005
- From: "Alan Gillott" <argillott.x@xxxxxxxxx>
- Date: Mon, 11 Feb 2008 12:25:00 -0500
I suspect that this has been answered 1000 times but...
I am connecting from an older VB6 program running on Vista with SQLExpress2005 installed. it was a standard install and everything can't be completely wrong because the Management Studio works. I added the database (but no tables as the first thing the app does is deletes them all and readds them). However, as creating a mixed mode instance is beyond the abilities of my tiny mind (or rather MS has made it exceptionally inconvenient) I have to recast my connection string (yes, naughty me was using sa with no password), and, as is usual when messing with something that works, it doesn't any more.
clearly I have misstepped somewhere: can any one lead me by the nose to nirvana...
The latest attempt at connection is:
Provider=SQLOLEDB.1;Data Source=.;Initial Catalog=Circles;Integrated Security=SSPI;Persist Security Info=False
According to my info Data source can be either . or (local) if i am just using the default memory management option.
Error is [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.
80004005
Any advice gratefully received: hair transplant also required <grin>
A
.
- Follow-Ups:
- RE: ADO (VB6 to SQLExpress2005
- From: Tarh ik
- Re: ADO (VB6 to SQLExpress2005
- From: William Vaughn
- RE: ADO (VB6 to SQLExpress2005
- Prev by Date: sql server 2005 database in restore mode
- Next by Date: Can't join tables from two databases using linked servers when DBs on same SQL instance
- Previous by thread: sql server 2005 database in restore mode
- Next by thread: Re: ADO (VB6 to SQLExpress2005
- Index(es):
Relevant Pages
|
Loading