Welcome to MSDN Blogs Sign in | Join | Help

Failure Audit message in SQL Server - Event ID: 18456 every minute?

This is a event log error I have seen in Project Server 2007 on various farms going right back to the Beta and I finally found some time to track it down.  It didn't seem to be breaking anything on my server, but made it difficult to read the logs and see other "important" stuff.  This is the error:

Event Type:    Failure Audit
Event Source:    MSSQLSERVER
Event Category:    (4)
Event ID:    18456
Date:        1/17/2008
Time:        1:29:00 PM
User:        DOMAIN\User
Computer:    SERVERNAME
Description:
Login failed for user 'DOMAIN\user'. [CLIENT: <local machine>]

I did a SQL Profiler trace to see where it was coming from and discovered the cause was a SQL Server Agent job called SharedServices_DB_Job_DeleteExpiredSessions that was running every minute.  The reason for the failure was that I did not have a SharedServices_DB on that server.  I did once - but my test server gets changed around a fair bit and this was a remnant that didn't get cleaned up. Not sure if it would normally get removed and if I did something bad which left it hanging around. 

This could also happen with Microsoft Office SharePoint Server 2007 even if Project isn't installed as it relates to the Shared Services Provider.  To disable the job you can go to SQL Management Studio, and connect to your database engine, then expand SQL Server Agent - select the Disable option. 

image

There will likely be other valid jobs there too - for your real SharedServices databases that still exist.  The bad one will show that it has failed when last executed if you look in the Job Activity Monitor.

image

Not a big problem - but at least disabling will keep the logs looking clean, and will save a few CPU cycles for some real work.

Technorati Tags: Project Server 2007

Published Thursday, January 24, 2008 4:41 PM by BriSmith

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

Monday, February 11, 2008 9:18 PM by Robby D

# re: Failure Audit message in SQL Server - Event ID: 18456 every minute?

Great tip! I found that I had recreated an SSP in SharePoint and deleted the old SSP databases. I saw many Failure Audits coming in every minute. Disabling the Job stopped the errors.

Friday, April 04, 2008 4:40 PM by Rob

# re: Failure Audit message in SQL Server - Event ID: 18456 every minute?

Sweet! Thank you for your help, This was causing some annoyances and now is cleared up...

Tuesday, October 14, 2008 5:50 PM by Jess Kung

# re: Failure Audit message in SQL Server - Event ID: 18456 every minute?

This is great tips and helped  our problem in the similar situation.

Keep up th egood work

Friday, October 31, 2008 3:41 PM by bob e

# re: Failure Audit message in SQL Server - Event ID: 18456 every minute?

Yes my friend.  

Thanks, you have saved me lot of aggrevation.  I was getting the same heinous error every 15 minutes in my otherwise pristine log.

Sunday, January 11, 2009 10:42 PM by Mark

# re: Failure Audit message in SQL Server - Event ID: 18456 every minute?

Thanks, that was quite helpfull

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker