Tag Archives: Access Denied

SharePoint 2013 – Access to WSS Virtual Directory Denied – Event 7888

Symptoms

  • SharePoint web app won’t load
  • Event 7888 in your SharePoint Operational Event log

 

 

Event Details:

Log Name:      Microsoft-SharePoint Products-Shared/Operational
Source:        Microsoft-SharePoint Products-SharePoint Server
Date:          3/11/2015 2:34:29 PM
Event ID:      7888
Task Category: General
Level:         Warning
Keywords:     
User:          NT AUTHORITY\IUSR
Description:
A runtime exception was detected. Details follow.
Message: Access to the path ‘D:\Web\wss\VirtualDirectories\SiteName\bin’ is denied.
Technical Details:
System.UnauthorizedAccessException: Access to the path ‘D:\Web\wss\VirtualDirectories\MySite\Default\bin’ is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.CommonInit()
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   at System.IO.DirectoryInfo.InternalGetFiles(String searchPattern, SearchOption searchOption)
   at System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()
   at System.Web.Configuration.AssemblyInfo.get_AssemblyInternal()
   at System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig)
   at System.Web.UI.ScriptManager.get_DefaultAjaxFrameworkAssembly()
   at System.Web.UI.ScriptManager..ctor()
   at ASP.MYSITE15_MASTER__373277105.__BuildControlScriptManager()
   at ASP.MYSITE15_MASTER__373277105.__BuildControl__control29()
   at ASP.MYSITE15_MASTER__373277105.__BuildControlSPHtmlTag()
   at ASP.MYSITE15_MASTER__373277105.__BuildControlTree(MYSITE15_MASTER__373277105 __ctrl)
   at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)
   at System.Web.UI.Page.ApplyMasterPage()
   at System.Web.UI.Page.PerformPreInit()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

 

Solution

Run the SharePoint products configuration wizard.  The configuration wizard applies the needed local permissions for SharePoint to function. 

Advertisements