Event Code 3008 : A configuration error has occurred. [Answered]RSS

1 reply

Last post Jul 26, 2011 08:38 PM by HCamper

  • Event Code 3008 : A configuration error has occurred.

    Jul 26, 2011 02:51 PM|uacaman|LINK

     

    <div class="container"><div class="body">

    At random a few web services stops working with the error Event code: 3008 at the vent log, searching the net did not provide  any useful information, most of the errors found are with some error in the source code, that is not the case here, this code is in production for a few years now and only now this is happening, the only thing that was changed is that the machine now runs on WMWare.

    This is running with Windows Server 2003, IIS 7 and the web service is .net framework 2

     Has anyone found a similar problem before? Any advice on what might be the problem?

     

    Full event log:

     

    Event code: 3008
    Event message: A configuration error has occurred.
    Event time: 21/07/2011 18:10:01
    Event time (UTC): 21/07/2011 21:10:01
    Event ID: d52de6cd1f5c4050bb2ec45936016f4e
    Event sequence: 86233
    Event occurrence: 28744
    Event detail code: 0
     
    Application information:
        Application domain: /LM/W3SVC/666927285/Root/yyy-1652-129557522394301620
        Trust level: Full
        Application Virtual Path: /yyy
        Application Path: d:\sites\replaced\yyy\
        Machine name: NTDET_APLP3
     
    Process information:
        Process ID: 2920
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
     
    Exception information:
        Exception type: ConfigurationErrorsException
        Exception message: Could not load file or assembly 'App_Code' or one of its dependencies. Access is denied.
     
    Request information:
        Request URL: http://replaced/yyy/yyy.asmx
        Request path: /yyy/yyy.asmx
        User host address: 172.21.19.230
        User: 
        Is authenticated: False
        Authentication Type: 
        Thread account name: NT AUTHORITY\NETWORK SERVICE
     
    Thread information:
        Thread ID: 11
        Thread account name: NT AUTHORITY\NETWORK SERVICE
        Is impersonating: False
        Stack trace:    at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
       at System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()
       at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai)
       at System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig)
       at System.Web.Compilation.WebDirectoryBatchCompiler..ctor(VirtualDirectory vdir)
       at System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors)
       at System.Web.Compilation.BuildManager.BatchCompileWebDirectory(VirtualDirectory vdir, VirtualPath virtualDir, Boolean ignoreErrors)
       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.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
       at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath)
       at System.Web.UI.WebServiceParser.GetCompiledType(String inputFile, HttpContext context)
       at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath)
       at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
       at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
     
     
    Custom event details:

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

    </div></div>
  • Re: Event Code 3008 : A configuration error has occurred.

    Jul 26, 2011 08:38 PM|HCamper|LINK

    Hello,

    I suggest you check IIS Team post for Out of Memory Exceptions which is the part of the Event Code 3008.

     http://blogs.iis.net/webtopics/archive/2009/05/22/troubleshooting-system-outofmemoryexceptions-in-asp-net.aspx .

    The only thing that was changed is that the machine now runs on WMWare.

    It is possible in moving the files you do not have all the assemblies.

    "You should recompile your whole application"

    Then check that all the required assemblys and  dlls are in bin folder / location

    matches your script when you recompile it."

    Martin

     

    Windows and Linux work Together IT-Pros
    Community Member Award 2011