none
Event message: A compilation error has occurred.

    Question

  • Hi,

    I need help. This error appears in the SharePoint 2010 Foundation server event log. I can get it to appear by pressing the date button on an Announcements New Item. I cannot put dates in.

    What is going on?

    Event code: 3007
    Event message: A compilation error has occurred.
    Event time: 3/26/2012 2:44:18 PM
    Event time (UTC): 3/26/2012 4:14:18 AM
    Event ID: 4d145fe4518442ef84fa5a9080b0ef24
    Event sequence: 32
    Event occurrence: 1
    Event detail code: 0

    Application information:
        Application domain: /LM/W3SVC/801220539/ROOT-1-129772088236787632
        Trust level: WSS_Minimal
        Application Virtual Path: /
        Application Path: C:\inetpub\wwwroot\wss\VirtualDirectories\80\
        Machine name: OPMS01

    Process information:
        Process ID: 24520
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE

    Exception information:
        Exception type: HttpCompileException
        Exception message: External component has thrown an exception.

    Request information:
        Request URL: http://sharepointserver/_layouts/iframe.aspx?&cal=1&lcid=3081&langid=1033&tz=10:29:59.9994257&ww=0111110&fdow=1&fwoy=0&hj=0&swn=False&minjday=109207&maxjday=2666269&date=
        Request path: /_layouts/iframe.aspx
        User host address: 172.16.10.106
        User: domain\domainAdmin
        Is authenticated: True
        Authentication Type: Negotiate
        Thread account name: NT AUTHORITY\NETWORK SERVICE

    Thread information:
        Thread ID: 19
        Thread account name: NT AUTHORITY\NETWORK SERVICE
        Is impersonating: True
        Stack trace:    at System.Web.Compilation.AssemblyBuilder.Compile()
       at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
       at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
       at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
       at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
       at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
       at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
       at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
       at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


    Custom event details:

           
    Monday, March 26, 2012 6:02 AM

Answers

  • So it seems (so far) to have been a permissions thing. At some point in my troubleshooting of a different issue, I changed the IIS Application Pool account to NetworkService.

    I changed it back to LocalSystem, and so far so good. The errors seem to have gone away. *sigh*

    But I might be celebrating too early. I will wait and see.

    Tuesday, March 27, 2012 3:42 AM

All replies

  • A reboot stopped it happening on the original page. But now it happens for a different ASP function.
    Tuesday, March 27, 2012 12:08 AM
  • So it seems (so far) to have been a permissions thing. At some point in my troubleshooting of a different issue, I changed the IIS Application Pool account to NetworkService.

    I changed it back to LocalSystem, and so far so good. The errors seem to have gone away. *sigh*

    But I might be celebrating too early. I will wait and see.

    Tuesday, March 27, 2012 3:42 AM