|
-
Aug 1st, 2003, 02:03 PM
#1
Thread Starter
Lively Member
SQL Server Conn String login failure
I have a connection string that is allowing me to return a data set from a SQL Server. Here is my connection string:
"Data Source=SERVER101;Integrated Security=SSPI;Initial Catalog=HPLX3;User ID=dnbftpsvc;Password=dbflatftp"
That user is correctly set up on the server, yet when I run the application, I get an exception stating that the login failed for "user (NULL)."
Any advice?
-
Aug 1st, 2003, 02:24 PM
#2
You can't use Integrated Security=SSPI and the username and password in the same connection string. The Integrated Security=SSPI part tells it to use the currently logged in windows account for the username and password so there is no need to provide one. Either that or take the Integrated Security part out.
Actually don't take out Integrated Security just change it to Integrated Security=False.
Last edited by Edneeis; Aug 1st, 2003 at 03:10 PM.
-
Aug 1st, 2003, 02:45 PM
#3
Thread Starter
Lively Member
If that fixes it I will be super frustrated with myself! I'll let ya know Monday.
Thanks!
-
Aug 4th, 2003, 08:45 AM
#4
Thread Starter
Lively Member
Now my application is just giving me a WebException and is timing out. Yuck.
-
Aug 4th, 2003, 10:02 AM
#5
And the Web Exception is.....
Also the whole stack trace would be better.
-
Aug 4th, 2003, 12:52 PM
#6
Thread Starter
Lively Member
I didn't even have the correct user set up in SQL Server...that was my problem...
~Mike
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|