Error 6875 in the event log?
I keep getting this in the event log, anyone familiar with it?
--
Event Type: Error
Event Source: Windows SharePoint Services 3
Event Category: General
Event ID: 6875
Date: 2007-07-26
Time: 08:17:13
User: N/A
Computer: <servername>
Description:
Error loading and running event receiver
Microsoft.SharePoint.Publishing.Internal.ScheduledItemEventReceiver in
Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c. Additional information is below.
: Invalid List Item. The List Item provided is not compatible with a
Scheduled Item.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
--
//Anders
[897 byte] By [
supremo] at [2008-1-10]
Ok i got the solution for this
In my case i am publishing the items in "Pages" library using sharepoint OM
After digging into this issue i found that PublishingPage.ListItem.File.Publish() behind the scenes is checking if SPListItem has Scheduling enabled on SPList using "GetIsSchedulingEnabledOnList(sourceListItem.ParentList));" now this function was returning true value even if my "Content Approval" was disable
This was causing the issue because List Settings > Manage item scheduling > "Enable scheduling of items in this list" checkbox was checked [even if it is disabled]
So i enabled the "Content Approval" then uncheck the "Enable scheduling of items in this list" checkbox and disable the "Content Approval"
Now my event log is clean
Hope this help