SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am seeing the following error in my application log:

Error loading and running event receiver Microsoft.SharePoint.Publishing.Internal.PublishingWebEventReceiver in Microsoft.SharePoint.Publishing, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Additional information is below.


: <nativehr>0x80070005</nativehr><nativestack></nativestack>Access denied.

<Event xmlns="">
- <System>
  <Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6FB7E0CD-52E7-47DD-997A-241563931FC2}" /> 
  <TimeCreated SystemTime="2011-05-23T09:04:09.982297200Z" /> 
  <Correlation ActivityID="{EFB60607-0455-4B31-9DB9-562DE66557CB}" /> 
  <Execution ProcessID="4436" ThreadID="3624" /> 
  <Security UserID="S-1-5-21-1644491937-1078145449-725345543-5574" /> 
- <EventData>
  <Data Name="string0">Microsoft.SharePoint.Publishing.Internal.PublishingWebEventReceiver</Data> 
  <Data Name="string1">Microsoft.SharePoint.Publishing, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Data> 
  <Data Name="string2">: <nativehr>0x80070005</nativehr><nativestack></nativestack>Access denied.</Data> 

How can I track down to see why I am getting the Access Denied?

share|improve this question

I'm guessing you have some custom conponent that is trying to load the Microsoft.SharePoint.Publishing asssembly.

Becuase Publishing features are not allowed as part of the SharePoint Foundation platform.
Publishing features are only available in SharePoint Server.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.