Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL server 2005 Connection Error: Cannot generate SSPI context

Tags:

sql-server

Provide Used: Microsoft OLE DB Provider for SQL Server. Can anyone help me with this.. I was trying to connect with LLBLgen

like image 511
jbcedge Avatar asked Oct 18 '25 15:10

jbcedge


2 Answers

In my case, I found the account was locked. Reason was I previously, on another machine more than 3 times tried to login. It did not recognise me - and tthen finally it locked my account.

Reopening account made all work fine.

br Jan

like image 90
JanAndersne Avatar answered Oct 21 '25 04:10

JanAndersne


The error you get is almost always caused by a problem with using Windows Authentication. Please try switching to a SQL server login (username/password), or make sure your current Windows login has access to the SQL server and database you're trying to connect to.

-Edoode

like image 33
edosoft Avatar answered Oct 21 '25 04:10

edosoft



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!