Re: Connection to SQL Server on Vista

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi

The installation of MSDE is setup to only accept NT Integrated Security
logins. Login with an NT account that has permissions to access the MSDE
instance.

e.g use

Dim strConnectionString as String
Dim objConn as ADODB.Connection

objConn = new ADODB.Connection

strConnectionString = "Driver={SQL Server};Server=(local);Database=Coordinator;Uid=myUsername;Pwd=myPassword;"
objConn.Open(objConn)

Regards
Daniel

"vovan" <v@xxxxx> wrote in message news:e%23jRhPhYIHA.4476@xxxxxxxxxxxxxxxxxxxxxxx
I have VB6 application which connects to SQL Server 2000 (installed on the developer machine) database.
I use this code to connect:
strConnectionString = "DRIVER=SQL Server;SERVER=(local);UID=;DATABASE=Coordinator;Trusted_Connection=Yes"
objConn.Properties("Extended Properties") = strConnectionString
objConn.Open

Everything works fine on Windows XP
I installed everything I need on my laptop with Vista Business and tried to run my application.
I'm getting an error saying 'Login failed for user 'NameOfMyLaptop\MyName'

I installed everything I need on the same laptop but I replaced Vista with XP. Everything works.

So, the only difference I see it's OS.

Any suggestion please

Thank you

vovan



.



Relevant Pages

  • Re: login error
    ... Curtisa, ... Is your Windows login an administrator? ... to gain access to a new installation of MSDE. ...
    (microsoft.public.sqlserver.security)
  • Login Error when accessing MSDE from C# Win Application
    ... I am experiencing a login problem when trying to access a named MSDE ... to access this MSDE instance via ODBC DSN Connections, SQL Enterprise ... The installation parameters that I used when ...
    (microsoft.public.sqlserver.msde)
  • Re: [SLE] SuSE Installation runs monitor Out of Range
    ... I was doing this on a 15" travel monitor at the local yesterday. ... > This is not a new problem for the 9.1 Installation; ... > the system configuration had been recognized as and set to VESA ... if one cannot do a graphical login because of running ...
    (SuSE)
  • Re: Question on Desktop Icon Universality
    ... When programs are installed from my login, set to administrator, ... desktop icons and start menu entries show up universally. ... When programs are installed from the other administrator login, ... However - each program and the corresponding installation was ...
    (microsoft.public.windowsxp.newusers)
  • Re: Login Loop
    ... The userinit value may have been corrupted by ... system registry, sometimes appending it, sometimes replacing it. ... This is particularly useful if you have an OEM installation ... > to the login screen asking me to press ctrl-alt-del to login. ...
    (microsoft.public.windowsxp.basics)