none
.NET Runtime Optimization Service

    Question

  • I found some ".NET Runtime Optimization Service (clr_optimization_v4.0.30319_64) - 1>Failed to compile" entries in my event viewer. I did recently reformat my computer and reinstalled .net 4.5 then VS2012 then VS2012 Update 3 (I installed .net 4.5 first and updated it before installing VS2012). From my knowledge no error messages appeared during installation and everything seemed to install fine, the only error messages in the event viewer that are related to .net are these.

    Log Name:      Application
    Source:        .NET Runtime Optimization Service
    Date:          21/08/2013 5:04:57 PM
    Event ID:      1101
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Xanather-PC
    Description:
    .NET Runtime Optimization Service (clr_optimization_v4.0.30319_32) - Failed to compile C:\Program Files (x86)\Microsoft Visual Studio 11.0\Blend\Microsoft.Expression.Blend.WwaClientPS.dll because of the following error: The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018).

    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name=".NET Runtime Optimization Service" />
        <EventID Qualifiers="0">1101</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-08-21T09:04:57.000000000Z" />
        <EventRecordID>3912</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Xanather-PC</Computer>
        <Security />
      </System>
      <EventData>
        <Data>.NET Runtime Optimization Service (clr_optimization_v4.0.30319_32) - Failed to compile C:\Program Files (x86)\Microsoft Visual Studio 11.0\Blend\Microsoft.Expression.Blend.WwaClientPS.dll because of the following error: The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018).
    </Data>
        <Data>C:\Program Files (x86)\Microsoft Visual Studio 11.0\Blend\Microsoft.Expression.Blend.WwaClientPS.dll</Data>
      </EventData>
    </Event>

    Log Name:      Application
    Source:        .NET Runtime Optimization Service
    Date:          21/08/2013 5:04:56 PM
    Event ID:      1101
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Xanather-PC
    Description:
    .NET Runtime Optimization Service (clr_optimization_v4.0.30319_32) - Failed to compile C:\Program Files (x86)\Microsoft Visual Studio 11.0\Blend\Microsoft.Expression.Blend.WwaClientHost.dll because of the following error: The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018).

    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name=".NET Runtime Optimization Service" />
        <EventID Qualifiers="0">1101</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-08-21T09:04:56.000000000Z" />
        <EventRecordID>3911</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Xanather-PC</Computer>
        <Security />
      </System>
      <EventData>
        <Data>.NET Runtime Optimization Service (clr_optimization_v4.0.30319_32) - Failed to compile C:\Program Files (x86)\Microsoft Visual Studio 11.0\Blend\Microsoft.Expression.Blend.WwaClientHost.dll because of the following error: The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018).
    </Data>
        <Data>C:\Program Files (x86)\Microsoft Visual Studio 11.0\Blend\Microsoft.Expression.Blend.WwaClientHost.dll</Data>
      </EventData>
    </Event>

    Log Name:      Application
    Source:        .NET Runtime Optimization Service
    Date:          21/08/2013 5:04:56 PM
    Event ID:      1101
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Xanather-PC
    Description:
    .NET Runtime Optimization Service (clr_optimization_v4.0.30319_32) - Failed to compile C:\Program Files (x86)\Microsoft Visual Studio 11.0\Blend\Microsoft.Expression.Blend.WwaClient.dll because of the following error: The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018).

    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name=".NET Runtime Optimization Service" />
        <EventID Qualifiers="0">1101</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-08-21T09:04:56.000000000Z" />
        <EventRecordID>3910</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Xanather-PC</Computer>
        <Security />
      </System>
      <EventData>
        <Data>.NET Runtime Optimization Service (clr_optimization_v4.0.30319_32) - Failed to compile C:\Program Files (x86)\Microsoft Visual Studio 11.0\Blend\Microsoft.Expression.Blend.WwaClient.dll because of the following error: The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018).
    </Data>
        <Data>C:\Program Files (x86)\Microsoft Visual Studio 11.0\Blend\Microsoft.Expression.Blend.WwaClient.dll</Data>
      </EventData>
    </Event>

    Log Name:      Application
    Source:        .NET Runtime Optimization Service
    Date:          21/08/2013 1:05:44 PM
    Event ID:      1101
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Xanather-PC
    Description:
    .NET Runtime Optimization Service (clr_optimization_v4.0.30319_64) - 1>Failed to compile: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe . Error code = 0x80131f07

    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name=".NET Runtime Optimization Service" />
        <EventID Qualifiers="0">1101</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-08-21T05:05:44.000000000Z" />
        <EventRecordID>3522</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Xanather-PC</Computer>
        <Security />
      </System>
      <EventData>
        <Data>.NET Runtime Optimization Service (clr_optimization_v4.0.30319_64) - 1&gt;Failed to compile: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe . Error code = 0x80131f07
    </Data>
        <Data>C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe</Data>
      </EventData>
    </Event>

    Log Name:      Application
    Source:        .NET Runtime Optimization Service
    Date:          21/08/2013 1:05:44 PM
    Event ID:      1101
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Xanather-PC
    Description:
    .NET Runtime Optimization Service (clr_optimization_v4.0.30319_64) - 1>Failed to compile: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe . Error code = 0x80131f07

    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name=".NET Runtime Optimization Service" />
        <EventID Qualifiers="0">1101</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-08-21T05:05:44.000000000Z" />
        <EventRecordID>3521</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Xanather-PC</Computer>
        <Security />
      </System>
      <EventData>
        <Data>.NET Runtime Optimization Service (clr_optimization_v4.0.30319_64) - 1&gt;Failed to compile: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe . Error code = 0x80131f07
    </Data>
        <Data>C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\TF.exe</Data>
      </EventData>
    </Event>

    Log Name:      Application
    Source:        .NET Runtime Optimization Service
    Date:          21/08/2013 1:05:41 PM
    Event ID:      1101
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Xanather-PC
    Description:
    .NET Runtime Optimization Service (clr_optimization_v4.0.30319_64) - 1>Failed to compile: C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\WinMDExp.exe . Error code = 0x80131f07

    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name=".NET Runtime Optimization Service" />
        <EventID Qualifiers="0">1101</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-08-21T05:05:41.000000000Z" />
        <EventRecordID>3520</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Xanather-PC</Computer>
        <Security />
      </System>
      <EventData>
        <Data>.NET Runtime Optimization Service (clr_optimization_v4.0.30319_64) - 1&gt;Failed to compile: C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\WinMDExp.exe . Error code = 0x80131f07
    </Data>
        <Data>C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\WinMDExp.exe</Data>
      </EventData>
    </Event>

    Log Name:      Application
    Source:        .NET Runtime Optimization Service
    Date:          21/08/2013 1:05:41 PM
    Event ID:      1101
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Xanather-PC
    Description:
    .NET Runtime Optimization Service (clr_optimization_v4.0.30319_64) - 1>Failed to compile: C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\WinMDExp.exe . Error code = 0x80131f07

    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name=".NET Runtime Optimization Service" />
        <EventID Qualifiers="0">1101</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-08-21T05:05:41.000000000Z" />
        <EventRecordID>3519</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Xanather-PC</Computer>
        <Security />
      </System>
      <EventData>
        <Data>.NET Runtime Optimization Service (clr_optimization_v4.0.30319_64) - 1&gt;Failed to compile: C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\WinMDExp.exe . Error code = 0x80131f07
    </Data>
        <Data>C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\WinMDExp.exe</Data>
      </EventData>
    </Event>

    Log Name:      Application
    Source:        .NET Runtime Optimization Service
    Date:          21/08/2013 1:05:41 PM
    Event ID:      1101
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Xanather-PC
    Description:
    .NET Runtime Optimization Service (clr_optimization_v4.0.30319_64) - 1>Failed to compile: C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\SecAnnotate.exe . Error code = 0x80131f07

    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name=".NET Runtime Optimization Service" />
        <EventID Qualifiers="0">1101</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-08-21T05:05:41.000000000Z" />
        <EventRecordID>3518</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Xanather-PC</Computer>
        <Security />
      </System>
      <EventData>
        <Data>.NET Runtime Optimization Service (clr_optimization_v4.0.30319_64) - 1&gt;Failed to compile: C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\SecAnnotate.exe . Error code = 0x80131f07
    </Data>
        <Data>C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\SecAnnotate.exe</Data>
      </EventData>
    </Event>

    Log Name:      Application
    Source:        .NET Runtime Optimization Service
    Date:          21/08/2013 1:05:40 PM
    Event ID:      1101
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Xanather-PC
    Description:
    .NET Runtime Optimization Service (clr_optimization_v4.0.30319_64) - 1>Failed to compile: C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\SecAnnotate.exe . Error code = 0x80131f07

    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name=".NET Runtime Optimization Service" />
        <EventID Qualifiers="0">1101</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-08-21T05:05:40.000000000Z" />
        <EventRecordID>3517</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Xanather-PC</Computer>
        <Security />
      </System>
      <EventData>
        <Data>.NET Runtime Optimization Service (clr_optimization_v4.0.30319_64) - 1&gt;Failed to compile: C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\SecAnnotate.exe . Error code = 0x80131f07
    </Data>
        <Data>C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools\SecAnnotate.exe</Data>
      </EventData>
    </Event>

    Log Name:      Application
    Source:        .NET Runtime Optimization Service
    Date:          21/08/2013 1:01:33 PM
    Event ID:      1101
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      Xanather-PC
    Description:
    .NET Runtime Optimization Service (clr_optimization_v4.0.30319_64) - Failed to compile: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\x64\aspnet_merge.exe . Error code = 0x800700d8

    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name=".NET Runtime Optimization Service" />
        <EventID Qualifiers="0">1101</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2013-08-21T05:01:33.000000000Z" />
        <EventRecordID>3502</EventRecordID>
        <Channel>Application</Channel>
        <Computer>Xanather-PC</Computer>
        <Security />
      </System>
      <EventData>
        <Data>.NET Runtime Optimization Service (clr_optimization_v4.0.30319_64) - Failed to compile: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\x64\aspnet_merge.exe . Error code = 0x800700d8
    </Data>
        <Data>C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\x64\aspnet_merge.exe</Data>
      </EventData>
    </Event>

    Does anyone else have these errors? Seems to be just a random collection of executables and libraries.

    Thanks,

    Xanather.


    Personal Website: http://www.xanather.com


    • Edited by Xanather Wednesday, August 28, 2013 8:01 AM
    Wednesday, August 28, 2013 2:40 AM

Answers

  • Hi Xanather,

    If you have verified your OS and .Net Framework according to my first reply, and they are all healthy, your installation package of VS 2012 update 3 may be corrupted.

    I recommend you download ISO file to update VS2012 from the website below.

    http://go.microsoft.com/fwlink/?LinkId=301705

    If you have used ISO file to update VS2012. Let us use this tool http://support.microsoft.com/kb/841290 to verify hash of the ISO file. The point of the exercise is to generate a hash value (or values) - MD5 and SHA1 - from the .iso file so that it/they can be checked against the known value(s) for that file. Any discrepancy would indicate that the file was corrupted.

    If the error persists when you are sure the ISO file is healthy:

    Please use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.cab from %temp% folder. Please upload the file to https://skydrive.live.com/ and share the link here.

    Best Regards.


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Friday, August 30, 2013 7:04 AM
    Moderator

All replies

  • Anyone?

    Personal Website: http://www.xanather.com

    Wednesday, August 28, 2013 11:02 AM
  • Hi Xanather,

    Below is error information.

    .NET Runtime Optimization Service (clr_optimization_v4.0.30319_32) - Failed to compile C:\Program Files (x86)\Microsoft Visual Studio 11.0\Blend\Microsoft.Expression.Blend.WwaClientPS.dll because of the following error: The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018).

    It is a low-level assembly loading problem. The CLR has located a file with the right name but when it tries to load the assembly, it finds out that the file doesn't contain a proper manifest. A .NET assembly must contain a manifest, it contains metadata that describes the assembly, listing the types in the assembly, etc.

    First we could verify installed .NET on your OS. You can use the .NET Framework Setup Verification Tool to verify the installation state of one or more versions of the .NET Framework

    Download from:

    http://blogs.msdn.com/cfs-file.ashx/__key/CommunityServer-Components-PostAttachments/00-08-99-90-04/netfx_5F00_setupverifier_5F00_new.zip

    If the verification tool finds any issues, there is a .NET Framework Repair Tool that can be found at the following locations:

    http://support.microsoft.com/kb/2698555

    More information is in the blog at the following locations.

    http://blogs.msdn.com/b/astebner/archive/2008/10/13/8999004.aspx

    If .Net Framework is OK and the error persists, some exe or dll maybe have some error.If you are unsure what EXE or DLL, then you can use the Fuslogvw.exe utility. Start it from the Visual Studio Command Prompt. Click the Settings button and click the "Log binding failures to disk" radio button. Switch back to VS and start the program and wait for the exception to occur. Back to Fuslogvw, click the Refresh button and double-click the added entry. It shows you the file it found.

    Then you could show what you found to here.  And I will provide my help.

    Best Regards.


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Thursday, August 29, 2013 6:52 AM
    Moderator
  • These errors only showed once during VS2012 Update 3 installation, no more logs of .net Runtime optimization exists. Maybe the CLR was trying to optimize files while Update 3 was installing?

    Personal Website: http://www.xanather.com

    Thursday, August 29, 2013 7:31 AM
  • Hi Xanather,

    If you have verified your OS and .Net Framework according to my first reply, and they are all healthy, your installation package of VS 2012 update 3 may be corrupted.

    I recommend you download ISO file to update VS2012 from the website below.

    http://go.microsoft.com/fwlink/?LinkId=301705

    If you have used ISO file to update VS2012. Let us use this tool http://support.microsoft.com/kb/841290 to verify hash of the ISO file. The point of the exercise is to generate a hash value (or values) - MD5 and SHA1 - from the .iso file so that it/they can be checked against the known value(s) for that file. Any discrepancy would indicate that the file was corrupted.

    If the error persists when you are sure the ISO file is healthy:

    Please use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.cab from %temp% folder. Please upload the file to https://skydrive.live.com/ and share the link here.

    Best Regards.


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Friday, August 30, 2013 7:04 AM
    Moderator