Re: Access 2007 ADP (Runtime) and SQL Express 2005
- From: Hans <Hans@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 29 Aug 2008 10:22:10 -0700
Okay, point taken. As a learner i'm bound to make mistakes.
most of what I have learn't comes from information collected over the
internet.
I have removed trusted connection from the connection syntax.
Do you know of any resources on the internet where I can progress further
with ADP and SQL express 2005. I especially would like guidence on getting
SQL express on a network with the ADP clients connecting to it (LAN setup) .
My attempts at trying with two pc connected via a network hub seems to be
failing. I have a default installation of SQL express on one Pc, mixed mode.
The second PC cannot see the sql instance on first Pc.
Any pointer would be appreciated.
"Norman Yuan" wrote:
.
"Hans" <Hans@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BF35DB0C-2864-455A-81F5-C9482B5CD7F0@xxxxxxxxxxxxxxxx
Thanks for that bit of information, as you know i'm on a steep learning
curve
to educated my self on this.
Okay, managed to setup the alias, I was wondering if you knew the
connection
syntax for connecting to SQL Exresss from within ADP using alias, I
currently
use:-
dbConn = "Provider=SQLOLEDB.1" _
+ ";Server=OVSL-2\QiSSystem" _
+ ";Database=2iQ-QiS" _
+ ";User ID=" & Forms![Global]!username _
+ ";Password=" & Forms![Global]!Password _
+ ";Trusted_Connection=True" _
+ ";Integrated Security=SSPI;"
The above works fine, please advise if you can improve on the above.
No, the above DOES not work fine (even it may work on your computer fo r
some reason). The ConnectionString's security part simply does not make
sense: if you use Trusted_Connection (Integrated Security, they are the same
thing here), you never need to pass User ID/Password. Also, since you use
SQL Server Express, you can only use UserID/Password when SQL Server's mixed
security mode is enabled (it is not by default).
This indicates that more study on SQL Server security is needed before you
can deal with user logging into the database correctly.
- Follow-Ups:
- Re: Access 2007 ADP (Runtime) and SQL Express 2005
- From: Sylvain Lafontaine
- Re: Access 2007 ADP (Runtime) and SQL Express 2005
- References:
- Access 2007 ADP (Runtime) and SQL Express 2005
- From: Hans
- Re: Access 2007 ADP (Runtime) and SQL Express 2005
- From: Hans
- Re: Access 2007 ADP (Runtime) and SQL Express 2005
- From: Norman Yuan
- Access 2007 ADP (Runtime) and SQL Express 2005
- Prev by Date: Re: Access 2007 ADP (Runtime) and SQL Express 2005
- Next by Date: Re: Resync problem
- Previous by thread: Re: Access 2007 ADP (Runtime) and SQL Express 2005
- Next by thread: Re: Access 2007 ADP (Runtime) and SQL Express 2005
- Index(es):
Relevant Pages
|