Comments
6 comments
-
Hello Eric,
Can you please tell us if it still happens when you log off and on again? I think there could be an issue with ADO .NET Connection Pooling and caching expired credentials. This seems to be an issue in ADO .NET if you're using connection pooling and it's been a long time between SQL Server SSPI logins. -
Brian,
Still happens. I tried the 'Clear Cache' and 'Close All Current Connections' and I still get prompted. And it's right at the initial connection point. I can reboot the box, start the MSSQL service, start Management Studio, type 'ssf<tab>', get the login box, and blammo, nothing.
Are there any system settings I can check?
Thanks for all your help.
Eric -
Hi Eric
You need to specify the server name and the instance name. I have tried Local (local) and that didnt work but when I specified the servername\instance name it was all fine.
Let me know if that works.
Thanks
Glen -
Glen,
So what would I put for the instance name when I'm using the default instance on localhost? I did not install a named instance on my machine.
Eric -
I believe it would be the servername\local
Failing that I am all out of ideas.......
Thanks
Glen -
It was a firewall issue that was causing my authentication issues. Once I shut down the firewall (have to figure that part out next) everything worked fine.
Thanks for your help.
Eric
Add comment
Please sign in to leave a comment.
I'm getting an error when trying to use Windows Auth to connect. I get the cryptic 'Unable to connect. Please verify the information you have entered'. Furthermore, when I try selecting the database dropdown, I get the following error: 'The list of databases for the specified SQL Server could not be retrieved: Cannot generate SSPI context.'
Is there anywhere to adjust the default connection string SQL Prompt is using? I do have a dash ('-') in my servername. I have tried both 'localhost' and '(local)' for the server as well with no luck. Any ideas?
Thanks
Eric