Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Not associated with a trusted SQL Server connection
I have two dev boxes, a Dell and an HP and I develop asp.net apps on both
and run sql server on both.  For some time now I have been accessing the
database on the opposite machine from which I develop (runs better that
way).

All of a sudden, however, I'm getting "Logon failed for user "sa" Reason:
Not associated with a trusted SQL Server connection" when I run on the Dell
and use the HP for a server.  My connection string hasen't changed and both
servers are configured for Mixed Mode (the registry login parameter is set
to 2).  Still, Query Analyzer and EM can access the HPmachine just fine from
the Dell.  My connection string has always been the same ......

Connect  Timeout=40;workstati
on id=HPBox;packet size=4096;user id=sa;data
 source=HPBox;persist
 security info=True;initial
 catalog=DataBaseOne;
password=xxxxxx
-- Any idea what could be causing this - all of a sudden?
Regards,
Gary



Report this thread to moderator Post Follow-up to this message
Old Post
Gary Blakely
09-28-05 01:23 AM


Re: Not associated with a trusted SQL Server connection
Gary,

Can you connected to the server using "sa" from Query Analyzer?  Also, as a
side note, I wouldn't recommend developing your aps using the sa password.

HTH

Jerry
"Gary Blakely" <seemywebsite@nospam.com> wrote in message
news:%23VXd0q7wFHA.720@TK2MSFTNGP10.phx.gbl...
>I have two dev boxes, a Dell and an HP and I develop asp.net apps on both
>and run sql server on both.  For some time now I have been accessing the
>database on the opposite machine from which I develop (runs better that
>way).
>
> All of a sudden, however, I'm getting "Logon failed for user "sa" Reason:
> Not associated with a trusted SQL Server connection" when I run on the
> Dell and use the HP for a server.  My connection string hasen't changed
> and both servers are configured for Mixed Mode (the registry login
> parameter is set to 2).  Still, Query Analyzer and EM can access the
> HPmachine just fine from the Dell.  My connection string has always been
> the same ......
>
> Connect  Timeout=40;workstati
on id=HPBox;packet size=4096;user id=sa;data
>  source=HPBox;persist
 security info=True;initial
>  catalog=DataBaseOne;
password=xxxxxx
> -- Any idea what could be causing this - all of a sudden?
> Regards,
> Gary
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Jerry Spivey
09-28-05 01:23 AM


Re: Not associated with a trusted SQL Server connection
Yes, as I said in my message, I can connect with Query analyzer.  That is
what is very puzzling but my connectstring has not  changed.

we just use sa for testing.

--
Regards,
Gary Blakely
Dean Blakely & Associates
www.deanblakely.com
"Jerry Spivey" <jspivey@vestas-awt.com> wrote in message
news:e1mXQ67wFHA.3644@TK2MSFTNGP11.phx.gbl...
> Gary,
>
> Can you connected to the server using "sa" from Query Analyzer?  Also, as
> a side note, I wouldn't recommend developing your aps using the sa
> password.
>
> HTH
>
> Jerry
> "Gary Blakely" <seemywebsite@nospam.com> wrote in message
> news:%23VXd0q7wFHA.720@TK2MSFTNGP10.phx.gbl... 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Gary Blakely
09-28-05 01:23 AM


Re: Not associated with a trusted SQL Server connection
This is an authentication issue.
Please check the time for both the machine logging in, the server and the
domain controller. If they are more than 5 minutes apart authentication will
fail.

--
Nik Marshall-Blank MCSD/MCDBA

"Gary Blakely" <seemywebsite@nospam.com> wrote in message
news:%23VXd0q7wFHA.720@TK2MSFTNGP10.phx.gbl...
>I have two dev boxes, a Dell and an HP and I develop asp.net apps on both
>and run sql server on both.  For some time now I have been accessing the
>database on the opposite machine from which I develop (runs better that
>way).
>
> All of a sudden, however, I'm getting "Logon failed for user "sa" Reason:
> Not associated with a trusted SQL Server connection" when I run on the
> Dell and use the HP for a server.  My connection string hasen't changed
> and both servers are configured for Mixed Mode (the registry login
> parameter is set to 2).  Still, Query Analyzer and EM can access the
> HPmachine just fine from the Dell.  My connection string has always been
> the same ......
>
> Connect  Timeout=40;workstati
on id=HPBox;packet size=4096;user id=sa;data
>  source=HPBox;persist
 security info=True;initial
>  catalog=DataBaseOne;
password=xxxxxx
> -- Any idea what could be causing this - all of a sudden?
> Regards,
> Gary
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Nik Marshall-Blank \(delete fcom for my email addr
09-28-05 08:23 AM


Re: Not associated with a trusted SQL Server connection
my two machines are in a workgroup not a domain.  The clocks are identical
on the two systems.


--
Regards,
Gary Blakely
Dean Blakely & Associates
www.deanblakely.com
"Nik Marshall-Blank (delete fcom for my email address)"
<NikMB@fcomiNodefcom.afcomt> wrote in message
news:WCr_e.15919$o11.5329@fe01.news.easynews.com...
> This is an authentication issue.
> Please check the time for both the machine logging in, the server and the
> domain controller. If they are more than 5 minutes apart authentication
> will fail.
>
> --
> Nik Marshall-Blank MCSD/MCDBA
>
> "Gary Blakely" <seemywebsite@nospam.com> wrote in message
> news:%23VXd0q7wFHA.720@TK2MSFTNGP10.phx.gbl... 
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Gary Blakely
09-29-05 01:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 12:50 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006