954,557 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Connecting to SQL server DB from VB.NET app

Hi,

I have this app running fine on my pc with connecting to SQL server on my localhost using windows authentication. Now I am going to deploy it on my client's server where SQL Server 2K DB is on server "abcd" with SQL Server credientials (No windows authentication) My problem is when I changed my connection string to "Server=abcd;uid=username;pwd=password" in web.config and try to run the app I get following error,
Exception Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
:sad:
Can you help ?

tia,

tejashree.

Texpert
Newbie Poster
14 posts since Jan 2006
Reputation Points: 10
Solved Threads: 0
 

Hi,

I have this app running fine on my pc with connecting to SQL server on my localhost using windows authentication. Now I am going to deploy it on my client's server where SQL Server 2K DB is on server "abcd" with SQL Server credientials (No windows authentication) My problem is when I changed my connection string to "Server=abcd;uid=username;pwd=password" in web.config and try to run the app I get following error, Exception Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection. :sad: Can you help ?

tia,

tejashree.

Issue resolved. I'd forgotten to take 'Integrated Security=SSIP" from my web.config.

Texpert
Newbie Poster
14 posts since Jan 2006
Reputation Points: 10
Solved Threads: 0
 

Dagnachew Minda[I][U][QUOTE]

dagne
Newbie Poster
1 post since Sep 2005
Reputation Points: 10
Solved Threads: 1
 

Guys i need help in vb application, am making an RSS News Ticker But i want this application to make user authentication from SQL Server to run, can anyone help me?

police01040
Newbie Poster
1 post since Aug 2006
Reputation Points: 10
Solved Threads: 1
 

can you please send me your code I too want to connect SQL but in vain.
So please do hlp me...
Waiting for your quick reply......

bcm
Junior Poster in Training
64 posts since Aug 2007
Reputation Points: 18
Solved Threads: 0
 

[QUOTE=dagne;191422]Dagnachew Minda[I][U]
i have same problem when i choose server authentication in sqlserver connection
what to do

nandalanranjith
Newbie Poster
1 post since Jan 2008
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You