Re: Logon failed for user '(null)'. Not associated with trusted co



You've hit the nail on the head Sue. I tried checking the MDAC versions on
the various PC's and the ones which gave the error had an earlier version
than the ones that worked. I've tried the later version of MDAC on a PC
which previously didnt work and now it works fine.

Thanks.
Andy

"Sue Hoegemeier" wrote:

> Check for differences in MDAC versions on the PCs. There was
> an issue with earlier MDAC versions where ODBC connections
> would ignore the authentication mode and just use windows
> authentication no matter what you selected. You can use the
> component check to check mdac installations. It's available
> at:
> http://msdn.microsoft.com/data/mdac/downloads/default.aspx
>
> -Sue
>
> On Wed, 4 May 2005 03:05:11 -0700, "Squirrel"
> <Squirrel@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> >Hi,
> >
> >I have set up system dsn's with an sql server driver on windows 2000 to use
> >SQL Server Authentication (NOT Windows Authentication) on a number of client
> >PC's. When I use these to connect to an sql server database (which allows
> >mixed mode authentication) via excel, I get the following message on some
> >(but not all) client PC's.
> >===============
> >Connection failed
> >SQLState 28000
> >SQL Server Error 18452
> >[Microsoft][ODBC SQL Server Driver][SQL Server] Login failed for user
> >'(null)'.
> >Reason: Not associated with a trusted SQL Server connection.
> >================
> >
> >When I click on OK, another SQL Server login pop-up box appears with the
> >"Use trusted connection" checkbox pre-checked. If I uncheck this then it
> >allows me to put in the correct user/password combination.
> >Why does this happen when the DSN was set up to use a User/password
> >combination in the first place?. It's as though it tries to connect with
> >Windows Authentication regardless of how it is originally set up.
> >Anybody have any ideas?.
> >
> >Thanks,
> >Andy
>
>
.



Relevant Pages

  • Re: NT authentication vs. SQL auth
    ... that Windows Authentication is more "demanding" than is SQL Server ... I would think that SQL Server, rather than just looking at its own (probably ...
    (microsoft.public.sqlserver.security)
  • Re: NT authentication vs. SQL auth
    ... that Windows Authentication is more "demanding" than is SQL Server ... I would think that SQL Server, rather than just looking at its own (probably ...
    (microsoft.public.sqlserver.security)
  • Re: Need Help w/ SQLServer Express Authentication
    ... Windows Authentication can not be disabled using Mixed Authentication. ... You can only disable SQL Server authentication and Microsoft recommends using Windows Authentication when possible. ... Logins make your users to connect and perform their tasks in SQL Server. ...
    (microsoft.public.sqlserver.setup)
  • Re: SBS 2000 + ASP.NET 1.1 + IIS Lockdown not working.
    ... Currently I am using Windows authentication. ... I will try SQL Server ... You can encrypt these string ...
    (microsoft.public.inetserver.iis.security)
  • Windows Authentication with SQL Server running on Workgroup server machine
    ... I'm currently trying to understand SQL Server Windows Authentication ... The server is a machine named 'databaseserver' that runs SQL Server ...
    (microsoft.public.sqlserver.connect)