Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
Administering
»
Cannot generate SSPI
Cannot generate SSPI
Rate Topic
Display Mode
Topic Options
Author
Message
sanjeev_krs2004
sanjeev_krs2004
Posted Tuesday, August 05, 2008 2:29 AM
SSC Journeyman
Group: General Forum Members
Last Login: Monday, May 20, 2013 6:07 AM
Points: 78,
Visits: 171
Error message shown in the logs is :
Approva.ApplicationBlocks.ExceptionManagement.BaseApplicationException: Error occurred in Openconnection in SQLServer. ---> System.Data.SqlClient.SqlException: Cannot generate SSPI context.
at System.Data.SqlClient.SqlInternalConnection.OpenAndLogin()
at System.Data.SqlClient.SqlInternalConnection..ctor(SqlConnection connection, SqlConnectionString connectionOptions)
at System.Data.SqlClient.SqlConnection.Open()
at Approva.BizRights.Core.DBSQLServer.SQLServer.OpenConnection(String i_sConnectionString)
--- End of inner exception stack trace ---
at Approva.BizRights.Core.DBSQLServer.SQLServer.OpenConnection(String i_sConnectionString)
at Approva.BizRights.Core.DatabaseImplementation.Database.Connect(Boolean i_bUseXML)
--- End of inner exception stack trace ---
at Approva.BizRights.Core.DatabaseImplementation.Database.Connect(Boolean i_bUseXML)
at Approva.BizRights.ApprovalServiceOperations.ApprovalRequestOperationsManager.MonitorDraftRequests(Object o)"
Post #546566
indu_teja
indu_teja
Posted Tuesday, August 05, 2008 2:47 AM
Forum Newbie
Group: General Forum Members
Last Login: Tuesday, August 05, 2008 3:22 AM
Points: 1,
Visits: 1
If you get this "SSPI Context Error".
The issues we face are:-
1. We will not be able to connect to SQL Server remotely.
2. How ever we will connect to server with local account.
CAUSE: The issue might be becasue of no proper sync happenign fro the SPNs in Active directory.
RESOLUTION:
1. You need to reset SPN.use the synytax "SET SPN" u can check the syntax in net once.
2. change your sql server service account from domain account to Local account recycle sql and the n reset again with your domain account and recycel sql server.
hope this resolves.
Post #546572
marles
marles
Posted Monday, September 24, 2012 1:47 PM
Grasshopper
Group: General Forum Members
Last Login: Monday, September 24, 2012 1:47 PM
Points: 10,
Visits: 7
Excelent!!! Thanks!!!
Post #1363705
Joy Smith San
Joy Smith San
Posted Saturday, January 19, 2013 11:51 PM
Ten Centuries
Group: General Forum Members
Last Login: Today @ 1:13 AM
Points: 1,371,
Visits: 2,299
.. I know it's pretty old post..
Did the above solution work for anyone else here ?
Asked since we are facing this issue on one of the remote server which is not managed by us and we don't sufficient rights too ofcourse. Just wanted to give some suggestions to the responsible DBAs at remote location.
Thanks in advance.
Post #1409259
rajkumarmandava
rajkumarmandava
Posted Monday, January 21, 2013 7:42 AM
SSC-Addicted
Group: General Forum Members
Last Login: Yesterday @ 1:42 PM
Points: 467,
Visits: 382
recycle SQL also fix the issue, with out changing the service account top local and service account
Post #1409555
Joy Smith San
Joy Smith San
Posted Monday, January 21, 2013 9:04 PM
Ten Centuries
Group: General Forum Members
Last Login: Today @ 1:13 AM
Points: 1,371,
Visits: 2,299
rajkumarmandava (1/21/2013)
recycle SQL also fix the issue, with out changing the service account top local and service account
Do you mean RESTART ing SQL will solve the issue ? No, it doesn't fix the problem in our scenario.
Post #1409770
anthony.green
anthony.green
Posted Tuesday, January 22, 2013 1:43 AM
SSCertifiable
Group: General Forum Members
Last Login: Friday, April 12, 2013 3:51 AM
Points: 5,075,
Visits: 4,831
Usually happens when trying to use Kerberos auth but it fails back to NTLM auth
http://support.microsoft.com/kb/811889
Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1
&
Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger
Post #1409862
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.