Error Cannot Generate Sspi
Contents |
360 games PC games cannot generate sspi context fix Windows games Windows phone games Entertainment All Entertainment cannot generate sspi context ssms Movies & TV Music Business & Education Business Students & educators cannot generate sspi context sql server 2008 r2 Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security Internet
Cannot Generate Sspi Context. (.net Sqlclient Data Provider) Sql 2008
Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Lumia All cannot generate sspi context sql 2012 Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft
account to run the SQL service. I’m sure you do too! However, once you do the right thing and change the SQL Service account, you may start cannot generate sspi context sql 2005 getting the following error message when attempting to connect to the sql server:
Cannot Generate Sspi Context Sql 2000
“The target principal name is incorrect. Cannot generate SSPI context.” The explanation, as given by Microsoft in this KB
The Target Principal Name Is Incorrect. Cannot Generate Sspi Context
article If you run the SQL Server service under the LocalSystem account, the SPN is automatically registered and Kerberos authentication interacts successfully with the computer that is running SQL Server. However, if you https://support.microsoft.com/en-us/kb/811889 run the SQL Server service under a domain account or under a local account, the attempt to create the SPN will fail in most cases because the domain account and the local account do not have the right to set their own SPNs. When the SPN creation is not successful, this means that no SPN is set up for the computer that is running SQL https://cmatskas.com/fixing-error-cannot-generate-sspi-context-after-changing-sql-service-account/ Server. If you test by using a domain administrator account as the SQL Server service account, the SPN is successfully created because the domain administrator-level credentials that you must have to create an SPN are present. There are 3 ways to fix the problem: Revert to using the Network Service or Local System account (NOT RECOMMENDED) Assign the domain account to the Domain Admins group (NOT IDEAL – due to the elevated permissions) Fix the problem by giving the domain account just the appropriate permissions in Active Directory. Permissions required are ServicePrincipalName: Read ServicePrincipalName: Write We will use the 3rd option to fix the error. First, it is good practice to verify that the problem is actually due to permission issues. Log in to the server where you SQL Instance is running. Go to the error logs and look for the last time that the SQL service was restarted. You should find an error message similar to this: Date 10/17/2013 9:29:50 AM Log SQL Server (Archive #1 - 10/17/2013 10:53:00 AM) Source Server Message The SQL Server Network Interface library could not register the Service Principal Name (SPN) [ MSSQLSvc/servername.domainname.net:1433 ] for th
log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the http://dba.stackexchange.com/questions/93389/error-cannot-generate-sspi-context workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Database Administrators Questions Tags Users Badges Unanswered Ask Question _ Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others cannot generate in the community. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Error: Cannot Generate SSPI context up vote 4 down vote favorite 1 When someone tries to connect to a SQL Server instance, the error shows cannot generate sspi up: It's not possible do generate SSPI context. Yesterday we had a blackout (don't know how to say this expression in English) and I had to shut down our servers. Looking for answers, I found this: SQL Server 2008 connectivity issue : cannot generate SSPI context But it doesn't help me, because they're working fine until yesterday. I don't want to change anything. But if a have to, I will change it. Obs: I can't restart the server now. Edit: Since I my answer, we haven't had any errors. sql-server sql-server-2008 authentication errors connectivity share|improve this question edited Aug 30 '15 at 13:06 Paul White♦ 29.4k11164263 asked Feb 20 '15 at 11:14 Rafael Piccinelli 1,486630 I've had this problem sorted by forcing a time reset from the server, all machines in the group policy span will go back to server time and then error its gone... Although thats my particular case, you can try =). –Nelson Casanova Feb 20 '15 at 11:37 Hello. Thats the problem. I can't restart the server, we have more