Re: More on that login problem - found the logs -



Many thanks for your help; I changed the password on the sa account, and it
now works , along, strangely , with the the other accounts I had set up.
Clearly I need to learn more about this part of the program; so far I;ve
just experimented with making it a backend for
Access -





"Ben Nevarez" <bnevarez@xxxxxxx> wrote in message
news:OGo3LKa7FHA.1020@xxxxxxxxxxxxxxxxxxxxxxx
>
> If your server registration is using Windows authentication and also you
can
> see the server properties that means that you are a member of the system
> administrators groups. Do not change the registration properties.
>
> Also, your server is running as the system account (Security tab). Do not
> change that either.
>
> Which account is not working? sa? Is it possible that the password was
> changed?
>
> Can you create, for testing purposes, another SQL Server login and connect
> with Query Analyzer using that login?
>
> Ben Nevarez
>
>
>
> "Barrett Bonden" <arthur@xxxxxxxxxxxxxxx> wrote in message
> news:jCQff.26341$rc7.2259@xxxxxxxxxxx
> > Ben:
> >
> > I see that I'm using both SQL Server and Windows authentication; I see
> > too
> > that under
> > "Startup service account" (also in the security tab) startup runs the
> > System Account. WHen I choose "This account" it defaults to
"LocalSystem"
> > and a password I don't now - I'm scared to try this -
> > Under "registered SQL server properties" "Use windows NT authentication"
> > is checked. WHen I try to use SQL authenticaton nothing works - no
matter
> > what
> > combo of login name and password I try ....
> > Should I try to make a new SQL server registration ?
> >
> > All this is clear as mud - if anyone from MS reads this; boys, why do
you
> > have
> > to make it so hard, so confusing , so badly documented ? It's hard
enough
> > using it
> > productivly when you can get it in in the first place ...
> >
> >
> >
> >
> >
> >
> > "Ben Nevarez" <bnevarez@xxxxxxx> wrote in message
> > news:#cQs$CX7FHA.3684@xxxxxxxxxxxxxxxxxxxxxxx
> >>
> >> Hi,
> >>
> >> Verify that you are using both SQL Server and Windows authentication
> >> using
> >> server Properties and look in the Security tab (I believe that you are
> >> really using both SQL Server and Windows authentication since log
> >> messages
> >> for Windows only authentication would show "Login failed for user 'sa'.
> >> Reason: Not associated with a trusted SQL Server connection").
> >>
> >> Which account are you using to connect to the database? Has the
password
> > for
> >> this account been changed?
> >>
> >> Ben Nevarez
> >>
> >>
> >> "Barrett Bonden" <arthur@xxxxxxxxxxxxxxx> wrote in message
> >> news:sIJff.13085$ha2.13022@xxxxxxxxxxx
> >> > 2005-11-18 12:50:12.09 logon Login failed for user 'sa'.
> >> > 2005-11-18 12:50:36.85 logon Login succeeded for user 'NT
> >> > AUTHORITY\SYSTEM'. Connection: Trusted.
> >> >
> >> > and some more that might be useful -
> >> >
> >> > 2005-11-18 12:50:40.92 logon Login succeeded for user 'NT
> >> > AUTHORITY\SYSTEM'. Connection: Trusted.
> >> > 2005-11-18 12:51:01.35 logon Login succeeded for user 'NT
> >> > AUTHORITY\SYSTEM'. Connection: Trusted.
> >> > 2005-11-18 12:51:53.71 logon Login failed for user 'sa'.
> >> > 2005-11-18 12:57:55.45 logon Login succeeded for user 'ART\art'.
> >> > Connection: Trusted.
> >> > 2005-11-18 12:58:01.80 logon Login failed for user 'sa'.
> >> > 2005-11-18 12:58:07.73 logon Login failed for user 'a'.
> >> > 2005-11-18 12:58:16.75 logon Login failed for user 'a'.
> >> > 2005-11-18 12:58:23.83 logon Login succeeded for user 'ART\art'.
> >> > Connection: Trusted.
> >> > 2005-11-18 12:58:37.46 logon Login succeeded for user 'ART\art'.
> >> > Connection: Trusted.
> >> > 2005-11-18 12:58:37.46 spid9 Starting up database 'test'.
> >> > 2005-11-18 12:58:37.46 spid9 Opening file C:\MSSQL7\DATA\test.mdf.
> >> > 2005-11-18 12:58:37.49 spid9 Opening file C:\MSSQL7\DATA\test.ldf.
> >> > 2005-11-18 12:58:39.34 logon Login succeeded for user 'ART\art'.
> >> > Connection: Trusted.
> >> > 2005-11-18 12:58:42.93 logon Login succeeded for user 'ART\art'.
> >> > Connection: Trusted.
> >> > 2005-11-18 12:59:00.99 logon Login succeeded for user 'ART\art'.
> >> > Connection: Trusted.
> >> > 2005-11-18 13:55:32.21 logon Login succeeded for user 'ART\w
> >> > tilman'.
> >> > Connection: Trusted.
> >> > 2005-11-18 13:55:34.14 logon Login succeeded for user 'ART\w
> >> > tilman'.
> >> > Connection: Trusted.
> >> > 2005-11-18 13:55:35.05 spid10 Using 'xpsql70.dll' version
> >> > '1998.11.13'
> >> > to
> >> > execute extended stored procedure 'xp_msver'.
> >> >
> >> >
> >> > Can connect with Windows NT authentication, but not with SQL server
> > auth.
> >> > So
> >> > all my
> >> > code has stopped working ...
> >> > When I try to make a new SQL Server registration
> >> > I get server does not exist or access denied...
> >> >
> >> >
> >> >
> >>
> >>
> >
> >
>
>


.



Relevant Pages

  • RE: IIS 6 and Windows Authentication to SQL Server 2000
    ... If you are truly using Windows Authentication, ie a user has an account on ... You may mean "bastardized windows authentication", meaning SQL Server uses ... I've read where mirroring the> ASPNET account and password on the web server and SQL server would> work. ...
    (microsoft.public.sqlserver.connect)
  • RE: IIS 6 and Windows Authentication to SQL Server 2000
    ... If you are truly using Windows Authentication, ie a user has an account on ... You may mean "bastardized windows authentication", meaning SQL Server uses ... I've read where mirroring the> ASPNET account and password on the web server and SQL server would> work. ...
    (microsoft.public.dotnet.framework.aspnet)
  • RE: Login failed for user (null). Reason: Not associated with a
    ... > Windows Authentication, but then I changed it to the sa account to connect my ... make sure that both BOTH SQL Server and Windows Authentication are ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: connecting to sql remote database
    ... You can connect to a remote SQL Server using Windows Authentication, ... account can not connect to any resources that are on other computers. ...
    (microsoft.public.sqlserver.connect)
  • Re: Error 15401 using sp_grantlogin (not addressed by current KB articles)
    ... Restarting Windows 2000 resolved the problem for this particular account, ... confused when it sees a duplicate SID. ... > One way to get SQL Server to agree with the renamed NT ... > Preview (to ensure the script was created), ...
    (microsoft.public.sqlserver.security)

Quantcast