Error 6875 in the event log?
I keep getting this in the event log, anyone familiar with it?
--------------------------------------Event Type:ErrorEvent Source:Windows SharePoint Services 3Event Category:General Event ID:6875Date:2007-07-26Time:08:17:13User:N/AComputer:<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
July 26th, 2007 11:55am
Hi,
I have the same problem (ID 6875):
Code Snippet
Erreur lors du chargement et de l'excution du rcepteur d'vnements Microsoft.SharePoint.Publishing.Internal.PublishingWebEventReceiver dans Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Informations complmentaires ci-dessous.
: Accs refus.
I don't understand.....
Please Help !
Thanks,
Brice
Free Windows Admin Tool Kit Click here and download it now
August 9th, 2007 12:12pm
Did you ever find a resolution to this??? I am getting the same error.
September 27th, 2007 5:27pm
I have seen this when there was a hardcoded url path with a typo in it.
Free Windows Admin Tool Kit Click here and download it now
November 14th, 2007 10:46pm
Microsoft posted a link to this error: http://technet2.microsoft.com/windowsserver/WSS/en/library/38857f26-6279-4019-b4d2-5d18a7a02ca51033.mspx
November 29th, 2007 10:41pm
The link's suggested resolution didn't work in my case.
The errors are very, very annoying as they reeks of shoddy programing.
For example:
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.
: Object reference not set to an instance of an object.
What Object !?! ... Reminds me of the old VB6 days ... I thougfht we were past this!
And this...
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.
What List Item !?! ... The code knows but it ain't sharing!
Does anyone out there know how to debug and correct these problems?
At present "content deployment" is basically a joke as we have to manually fix a whole heap of issues after each and these errors seems to correspond top the issues.
HELP please, please, please.
Free Windows Admin Tool Kit Click here and download it now
January 16th, 2008 12:45am
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 returningtrue valueeven if my "Content Approval" was disable
This wascausing 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
January 17th, 2008 10:36pm
Thanks for the reply Ajay.
In our case we have2 servers; anauthoring server and a publishing server; and are using out-of-the-box publishing features. The errors are appearing on the publishing server.
With regards you reply - Are you saying then that you switched off Item Scheduling?
What happens ifthe site authorswant Item Scheduling? I.e. The site authors need to be able to schedule site content that appears atscheduled times and disappears at scheduled times?
Have I misunderstood your post?
Free Windows Admin Tool Kit Click here and download it now
January 18th, 2008 1:04am
Yes in my case I don't need content approval and item scheduling.
At my end with content approvaland item scheduling enabledeverything is looking good, no error in event viewer
while takingcloser look at this issue i found that "ScheduledItem.GetScheduledItem" methodlocated in "Microsoft.SharePoint.Publishing.ScheduledItem" is the method that is responsible to raise "Invalid List Item. The List Item provided is not compatible with a Scheduled Item" error. [Thanks to .NET Reflector]
Here are the checkpoints in "ScheduledItem.GetScheduledItem" method
Processing SPListItem is not null
Processing SPListItem.ParentList is not null
Processing SPListItem.Fields is not null
Processing SPListItem.StartDate fieldis not null
Processing SPListItem.ExpiryDatefield is not null
Is Scheduling Event Registered On List
Processing SPListItem.ParentList.EnableMinorVersionsis true
If any of above condition isfailed then ArgumentException(ErrorInvalidListItemForScheduling) is thrown
I would suggest you to write some sample application and check if you can getvalid ScheduledItemusing following code
ScheduledItem scheduledItem = ScheduledItem.GetScheduledItem(< SPListItem object >);
Hope this help
January 18th, 2008 1:10pm
So are you saying if I want to programatically check if an item scheduled has expired or not, I have to catch the exception?
Free Windows Admin Tool Kit Click here and download it now
March 27th, 2008 9:05am
You can safely ignore this error message according to this KB.
May 22nd, 2008 6:26pm
No, you don't have to catch the exception, you just need to make sure DateTime.Today is between ScheduledItem.StartDate and ScheduledItem.EndDate.But you will get the exception above if exception if "Manage Item Scheduling" is unchecked.Thank you Ajay!
Free Windows Admin Tool Kit Click here and download it now
January 22nd, 2009 9:18pm
Hi,I am getting same Event id: 6875 in event viewer.Error loading and running event receiver Microsoft.SharePoint.Publishing.Internal.PublishingWebEventReceiver in Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Additional information is below.
: Access denied.Kindly help me.Thanks in advance.
April 13th, 2009 9:29am
if SPList.EnableModeration is false, or SPList.EnableMinorVersions is false but the Event receiver is found in SPList.EventReceivers, then this error happens. So...if (lst.EnableModeration == false || lst.EnableMinorVersions == false){ lst.EventReceivers[guid].Delete(); }hope this helps...
Free Windows Admin Tool Kit Click here and download it now
May 20th, 2009 12:18pm
Hi,I hope this help you...It seems that this kind of errors could be safely ignore because you will not experience any loss of functionality in SharePoint according to this KB http://support.microsoft.com/kb/948323.This error shows up whenever you publish a page with major version turned on. You can tell SharePoint not to write this error to the event log by following the instructions in the KB.
June 10th, 2009 10:50am
I know this is an older post but I was able to fix this problem by deactivating and then reactivating the Site Collection Feature "Workflows". This was after I had rebooted the server and ran the configuration wizard. None of which worked.
-SharePointNinja
Free Windows Admin Tool Kit Click here and download it now
March 4th, 2011 9:03pm