Cannot Generate Sspi Context. Microsoft Sql Server Error 0
Contents |
360 games PC games sql 2005 cannot generate sspi context microsoft sql server error 0 Windows games Windows phone games Entertainment All Entertainment
Http Support Microsoft Com Kb 811889
Movies & TV Music Business & Education Business Students & educators title connect to server Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security Internet microsoft odbc sql server driver cannot generate sspi context 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
The Target Principal Name Is Incorrect Cannot Generate Sspi Context Sql Server
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 cannot generate sspi context fix Service account, you may start getting the following error message when attempting the target principal name is incorrect. cannot generate sspi context. (.net sqlclient data provider) to connect to the sql server: “The target principal name is incorrect. Cannot generate SSPI context.” The explanation,
The Target Principal Name Is Incorrect. Cannot Generate Sspi Context. Sharepoint 2013
as given by Microsoft in this KB article If you run the SQL Server service under the LocalSystem account, the SPN is automatically registered and Kerberos authentication interacts successfully with https://support.microsoft.com/en-us/kb/811889 the computer that is running SQL Server. However, if you 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, https://cmatskas.com/fixing-error-cannot-generate-sspi-context-after-changing-sql-service-account/ this means that no SPN is set up for the computer that is running SQL 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
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 workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about http://dba.stackexchange.com/questions/93389/error-cannot-generate-sspi-context hiring developers or posting ads with us Database Administrators Questions Tags Users Badges Unanswered Ask Question https://www.reddit.com/r/sysadmin/comments/3eb9z8/help_understanding_the_target_principal_name_is/ _ Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others 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 cannot generate SSPI context up vote 3 down vote favorite 1 When someone tries to connect to a SQL Server instance, the error shows 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 cannot generate sspi 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.2k11163262 asked Feb 20 '15 at 11:14 Rafael Piccinelli 1,471629 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 than 500+ users online. I really can't figure out what to do. There's nothing usefull on the internet. –Rafael Piccinelli Feb 20 '15 at 12:04 1 Set the group policy from the server itself to automatically change the time for the users. If you dont want to restart the server to force the changes in the group policy you can use gpupdate /force. More on this beautiful subject here But I would highly recommend this task to be handed to the server manager. –Nelson Casanova Feb 20 '15 at 12:13 add a comment| 3 Answers 3 active oldest votes up vote 7 down vote 'Cannot generate SSPI context' is a generic error. It can be
»sysadmincommentsWant to join? Log in or sign up in seconds.|Englishlimit my search to /r/sysadminuse the following search parameters to narrow your results:subreddit:subredditfind submissions in "subreddit"author:usernamefind submissions by "username"site:example.comfind submissions from "example.com"url:textsearch for "text" in urlselftext:textsearch for "text" in self post contentsself:yes (or self:no)include (or exclude) self postsnsfw:yes (or nsfw:no)include (or exclude) results marked as NSFWe.g. subreddit:aww site:imgur.com dogsee the search faq for details.advanced search: by author, subreddit...this post was submitted on 23 Jul 20153 points (100% upvoted)shortlink: remember mereset passwordloginSubmit a new linkSubmit a new text postsysadminsubscribeunsubscribe151,179 readers303 users here nowA reddit dedicated to the profession of Computer System Administration This is a professional subreddit so please lets keep the discourse polite. In an effort to reduce spam, accounts less than 24 hours old will be unable to post to /r/sysadmin. For IT career related questions, please visit /r/ITCareerQuestions Please check out our Frequently Asked Questions, which includes lists of subreddits, webpages, books, and other articles