Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual Studio 2013 Login to SQL Server using UserName

Status
Not open for further replies.

sharonniles

Programmer
May 31, 2001
38
0
0
US
Hi Everyone,

I have a web application in Visual Studio 2013 that pulls data from an SQL Server. When for example I open a screen with a grid, I get the error
Login Failed for User ms\wapfsuser. This is a corporate database and doesn't accept anonymous entries. I want to push the user name, like ms\snil123.

How do I do this? Any help is appreciated.
 
Are you looking to pass the login/pw for the user who is trying to connect, or, did your DB team set up a common un/pw to use when connecting through your website.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top