We help IT Professionals succeed at work.
Get Started

How to make trusted connection via Windows 7 and SQL Server ?

Last Modified: 2012-05-09
Hi experts!

I’m developing application WinForm on NETFramework 2 with C# and I use trusted connection to connect to SQL Server 2005 locally. Till now, I’m using WInXp and Windows 2008 server and it work OK. But after I change my OS to Win 7 on my developer computer whit same this connection string
"Data Source=,4996;Initial Catalog=VP_VideoPlayerEU;Integrated Security=SSPI;Persist Security Info=True;MultipleActiveResultSets=True;Connection Timeout=5;Application Name=Reg Ads Cust;"

I gete error:

Login failed for user ''. The user is not associated with a trusted SQL Server connection.

It is clear that is somethink with SQL server, but what ? It is in mixed mode, Admin account is computer administartors, I give permmison of BultIn\Adminstrators to my databsese, but not help.  I use this connection string in many many computers. But now, under Win 7 somethink is changed, what I suould do ?
Watch Question
This problem has been solved!
Unlock 1 Answer and 7 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE