Event 17806 SQL 2008 from Sharepoint 2010 DB Need Help

Windows 2012 R2 Standard 64 Bit
SharePoint 2010 SP2 run on The windows 2012 Server
Windows 2008 R2 Standard 64 Bit
SQL 2008 SP3 64 Bit 3 instances  SharePoint has it own instance.

Just installed SharePoint 2010 and finally got it working a few days ago.

Today I notices this on the SQL server in the Windows 2008 Server application log

A ton of 17806 errors.


The error

Log Name:      Application
Source:        MSSQL$SHAREPOINT
Date:          5/19/2015 12:14:07 PM
Event ID:      17806
Task Category: Logon
Level:         Error
Keywords:      Classic
User:          N/A
Computer:     SERVER10.FQDN.com
Description:
SSPI handshake failed with error code 0x8009030c, state 14 while establishing a connection with integrated security; the connection has been closed. Reason: AcceptSecurityContext failed. The Windows error code indicates the cause of failure.  [CLIENT: <named pipe>].
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="MSSQL$SHAREPOINT" />
    <EventID Qualifiers="49152">17806</EventID>
    <Level>2</Level>
    <Task>4</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2015-05-19T16:14:07.000000000Z" />
    <EventRecordID>149917</EventRecordID>
    <Channel>Application</Channel>
    <Computer>TGCS010.our.network.tgcsnet.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data>8009030c</Data>
    <Data>14</Data>
    <Data>AcceptSecurityContext failed. The Windows error code indicates the cause of failure.</Data>
    <Data> [CLIENT: &lt;named pipe&gt;]</Data>
    <Binary>8E450000140000001300000054004700430053003000310030005C005300480041005200450050004F0049004E005400000000000000</Binary>
  </EventData>
</Event>


Any thoughts

Everything seems to work with sharepoint can add items to tasks calendars upload documents etc

But I think every time I do that I get this error.

Can it be turned off or am I missing something ?

Thanks for your help

Tom
LVL 23
Thomas GrassiSystems AdministratorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rainer JeschorCommented:
Hi,
question is: does your site use Kerberos authentication?
Looks like a SPN for SQL server / SharePoint is not set/configured (but that's just one of multiple possible issues).
HTH
Rainer
Mohammed KhawajaManager - Infrastructure:  Information TechnologyCommented:
There are multiple possibilities:

1.  SPNs are not correctly set
2.  Password for the account configured for the SharePoint and/or SQL services may have been changed.  Change the service password and restart again
3.  Ensure there are no issues with your DCs in your environment.  You may wish to run dcdiag to validate

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Thomas GrassiSystems AdministratorAuthor Commented:
Guys  thanks for replying.

Late last night I added the computer name of the server running SharePoint (Server13) as server13$ to the sql security logins for the sharepoint instance on the sql server.  Have not seen any errors as of yet but users are off for the remaining weekend/holiday.

1.  SPNs are not correctly set     Is this how you check?
question is: does your site use Kerberos authentication?
I ran this query on my sql server

select distinct auth_scheme from sys.dm_exec_connections

Results

NTLM
SQL


I tried to run this from a command prompt

setspn -l <domain\sqlserviceaccount>

Not sure about that command I found that one my research

It gives me the help info every time I try to run it.

Have an example ?

Looks like a SPN for SQL server / SharePoint is not set/configured (but that's just one of multiple possible issues).
How do I find which account is used for sql?


2.  Password for the account configured for the SharePoint and/or SQL services may have been changed.  Change the service password and restart again

We never change passwords for these types of accounts maybe the account was changed where do I find that?

 3.  Ensure there are no issues with your DCs in your environment.  You may wish to run dcdiag to validate
We run DCDIAG weekly I review regularly No issues to report there AD is working fine.


Thoughts?
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Vitor MontalvãoMSSQL Senior EngineerCommented:
I wrote an article about SPN error. Please give a read to see it helps.
Thomas GrassiSystems AdministratorAuthor Commented:
Vitor

Thanks  is there a command example just to query what the settings are?

I have three SQL instances

1. Default
2. SharePoint
3. Production

is that the -l ?

example please
Vitor MontalvãoMSSQL Senior EngineerCommented:
Yes. Use it to list the entries for the SQL Server account (not the computer name but the account that runs the SQL Server service):
setspn –l accountname

Open in new window

Thomas GrassiSystems AdministratorAuthor Commented:
Thank you all for responding

Adding the computer account to the SQL logins was the answer on this one.

Looking into the SPN now
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.