none
Microsoft .NET Framework NGEN v2.0.50727_X86 limit of transient errors RRS feed

  • Question

  • My system:
    Windows Vista Ultimate SP2
    3GB ram (41% free)
    Quad core processor

    When I try to start this service it stops shortly after writing an event log:

    .NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) - Service reached limit of transient errors. Will shut down. Last error returned from Service Manager: 0x800705aa.

    I've searched on this error and tried a couple of things:

    running ngen ExecuteQueuedItems gives back:
    Insufficient system resources exist to complete the requested service. (Exception from HRESULT: 0x800705AA) (I have plenty of resources)

    running ngen update
     Installing assembly upate
     Failed to find dependencies of image upate because of the following error: The system cannot find the file specified.  (Exception from HRESULT: 0x80070002)
        Compiling assembly upate ...
    Error compiling upate: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
    Uninstalling assembly upate because of an error during compilation.
    The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

    This service not being able to run has caused a lot of problems for instance I couldn't install MVC without hacking the installer and now it seems I can't install Sql 2008.

    • Edited by Christopher Shaw Sunday, May 31, 2009 6:26 PM more descriptive title
    Sunday, May 31, 2009 6:25 PM

All replies

  • Hi Christopher

    Can you try setting the NGEN service startup type as "Manual" and stop the service in "services.msc" and running ngen install [assemblyName | assemblyPath ] to install some assemblies to the cache ?
    And then by running ngen display [assemblyName | assemblyPath ] to see if the assemblies installed by the above command display?
    Please try to close other programs when running this.

    Thanks.

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    Send us any feedback you have about the help from MSFT at fbmsdn@microsoft.com
    • Edited by Figo Fei Wednesday, June 3, 2009 9:51 AM
    Wednesday, June 3, 2009 9:38 AM
  • Didn't work here's what I got the first time I ran it:

    C:\Windows\system32>ngen install "c:\Shared\Zigzap\Utilities\bin\Debug\Utilities
    .dll"
    Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4016
    Copyright (c) Microsoft Corporation.  All rights reserved.
    Installing assembly c:\Shared\Zigzap\Utilities\bin\Debug\Utilities.dll
        Compiling assembly mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToke
    n=b77a5c561934e089 ...
    mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Compiling assembly System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=
    b77a5c561934e089 ...
    System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Compiling assembly c:\Shared\Zigzap\Utilities\bin\Debug\Utilities.dll ...
    Utilities, Version=1.0.0.0, Culture=neutral, PublicKeyToken=191a3c344cc900c7 <de
    bug>
        Compiling assembly System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyTo
    ken=b03f5f7f11d50a3a ...
    System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        Compiling assembly System.Configuration, Version=2.0.0.0, Culture=neutral, P
    ublicKeyToken=b03f5f7f11d50a3a ...
    System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f1
    1d50a3a
        Compiling assembly System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyTo
    ken=b77a5c561934e089 ...
    System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Compiling assembly System.Data.SqlXml, Version=2.0.0.0, Culture=neutral, Pub
    licKeyToken=b77a5c561934e089 ...
    System.Data.SqlXml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c56193
    4e089
        Compiling assembly System.Security, Version=2.0.0.0, Culture=neutral, Public
    KeyToken=b03f5f7f11d50a3a ...
    System.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a
    3a
        Compiling assembly System.Drawing, Version=2.0.0.0, Culture=neutral, PublicK
    eyToken=b03f5f7f11d50a3a ...
    System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3
    a
        Compiling assembly System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyT
    oken=b77a5c561934e089 ...
    Warning: Did not find definition for type token 680000fe in profile data.
    Warning: Did not find definition for type token 68000119 in profile data.
    Warning: Did not find definition for type token 6800011a in profile data.
    Warning: Did not find definition for type token 6800011b in profile data.
    Warning: Did not find definition for type token 68000100 in profile data.
    Warning: Did not find definition for type token 6800011c in profile data.
    System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
        Compiling assembly Microsoft.VisualC, Version=8.0.0.0, Culture=neutral, Publ
    icKeyToken=b03f5f7f11d50a3a ...
    Microsoft.VisualC, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d5
    0a3a
        Compiling assembly System.Transactions, Version=2.0.0.0, Culture=neutral, Pu
    blicKeyToken=b77a5c561934e089 ...
    System.Transactions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c5619
    34e089
        Compiling assembly System.EnterpriseServices, Version=2.0.0.0, Culture=neutr
    al, PublicKeyToken=b03f5f7f11d50a3a ...
    System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f
    5f7f11d50a3a
        Compiling assembly System.DirectoryServices, Version=2.0.0.0, Culture=neutra
    l, PublicKeyToken=b03f5f7f11d50a3a ...
    System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5
    f7f11d50a3a
        Compiling assembly System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral
    , PublicKeyToken=b77a5c561934e089 ...
    System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c
    561934e089
        Compiling assembly System.Runtime.Serialization.Formatters.Soap, Version=2.0
    .0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ...
    System.Runtime.Serialization.Formatters.Soap, Version=2.0.0.0, Culture=neutral,
    PublicKeyToken=b03f5f7f11d50a3a
        Compiling assembly System.Web.Services, Version=2.0.0.0, Culture=neutral, Pu
    blicKeyToken=b03f5f7f11d50a3a ...
    System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11
    d50a3a
        Compiling assembly System.Design, Version=2.0.0.0, Culture=neutral, PublicKe
    yToken=b03f5f7f11d50a3a ...
    System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

        Compiling assembly System.Windows.Forms, Version=2.0.0.0, Culture=neutral, P
    ublicKeyToken=b77a5c561934e089 ...
    System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561
    934e089
        Compiling assembly Accessibility, Version=2.0.0.0, Culture=neutral, PublicKe
    yToken=b03f5f7f11d50a3a ...
    Accessibility, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a

        Compiling assembly System.Deployment, Version=2.0.0.0, Culture=neutral, Publ
    icKeyToken=b03f5f7f11d50a3a ...
    System.Deployment, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d5
    0a3a
        Compiling assembly System.Drawing.Design, Version=2.0.0.0, Culture=neutral,
    PublicKeyToken=b03f5f7f11d50a3a ...
    System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f
    11d50a3a
        Compiling assembly System.Data.OracleClient, Version=2.0.0.0, Culture=neutra
    l, PublicKeyToken=b77a5c561934e089 ...
    System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5
    c561934e089
        Compiling assembly System.Web.RegularExpressions, Version=2.0.0.0, Culture=n
    eutral, PublicKeyToken=b03f5f7f11d50a3a ...
    System.Web.RegularExpressions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=
    b03f5f7f11d50a3a
        Compiling assembly System.DirectoryServices.Protocols, Version=2.0.0.0, Cult
    ure=neutral, PublicKeyToken=b03f5f7f11d50a3a ...
    System.DirectoryServices.Protocols, Version=2.0.0.0, Culture=neutral, PublicKeyT
    oken=b03f5f7f11d50a3a
        Compiling assembly System.ServiceProcess, Version=2.0.0.0, Culture=neutral,
    PublicKeyToken=b03f5f7f11d50a3a ...
    System.ServiceProcess, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f
    11d50a3a
        Compiling assembly System.Configuration.Install, Version=2.0.0.0, Culture=ne
    utral, PublicKeyToken=b03f5f7f11d50a3a ...
    System.Configuration.Install, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b
    03f5f7f11d50a3a
    Insufficient system resources exist to complete the requested service. (Exceptio
    n from HRESULT: 0x800705AA)

    The second time:
    C:\Windows\system32>ngen install "c:\Shared\Zigzap\Utilities\bin\Debug\Utilities
    .dll"
    Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4016
    Copyright (c) Microsoft Corporation.  All rights reserved.
    Installing assembly c:\Shared\Zigzap\Utilities\bin\Debug\Utilities.dll
    Insufficient system resources exist to complete the requested service. (Exceptio
    n from HRESULT: 0x800705AA)

    I've got 52% memory free of 3gb and 12gb of hard drive free
    Thursday, June 4, 2009 4:03 AM
  • Hi

    I have the same error message (.NET Runtime Optimization Service (clr_optimization_v2.0.50727_32) - Service reached limit of transient errors. Will shut down. Last error returned from Service Manager: 0x80070005) on W2k Server SP4 after starting ".NET Runtime Optimization Service v2.0.50727_X86" service. This service stop after a few moment with this message.

    Does somebody know issue ?

    Thank

    bobby
    Monday, August 24, 2009 9:32 AM
  • Hello,

    I've got the same message on a Windows 7 machine.
    Did you find a solution in the meantime?

    Thanx in advance for answering.

    Robert
    Thursday, March 4, 2010 2:12 PM
  • I will try to see if the updates work .
    Or update to 7
    Thursday, March 4, 2010 4:06 PM
  • I never found a solution, I just ended up reformatting and have windows 7 now without any issues.
    Thursday, March 4, 2010 6:17 PM
  • I am running into this problem also with Windows 7 now all of a sudden. About 2 months ago things where fine, but then I believe some windows update happened automatically and then I started to see issues with Visual Studio 2008 BIDS for both SQL 2008 R1 and now R2, so somebody somewhere at MS fell asleep when compiling the code for .NET
    Friday, June 18, 2010 2:34 PM
  • I am running Windows 2003 and Visual Studio 2008.  I was installing Visual Studio 2010 but the installation crashed early in the process with a blue screen.  I have looked to see if there is anything to uninstall but cannot find any record of the install.  The system will reboot and seems stable but on reboot, I get the same message above  (.NET Runtime ...) in the error log.  Did anybody figure out what the problem is and how to fix it???
    Thursday, July 22, 2010 3:07 PM