none
IIS compilation error after Windows updates related to .NET 4.6 RRS feed

  • Question

  • On Windows Server 2012 R2, after applying one of the following updates (see below) related to .NET Framework 4.6, web site won't display but a compilation error page when running vbc.exe at first start.

    Test to reproduce problem :
    # \Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe /verbose  

    Does not work when one of following updates are applied - popup an error (see below).

    Show a list of assembly references when all these updates are removed.

    Can Microsoft tell which one is faulty ?

    Regards

    Antoine Davous

    Monday, January 4, 2016 9:38 PM

Answers

  • Thank you very much Antoine,

    upgrading to 4.6.1 and uninstalling KB3083185 solved the problem. KB3083185 is no longer pending in Windows Update.

    Thanks for sharing,

    Felix

    • Marked as answer by Antoine Davous Thursday, January 14, 2016 10:31 AM
    Thursday, January 14, 2016 10:21 AM

All replies

  • Hello Antoine Davous,

    It seems even vbc.exe crashed when running, right? If that is the case, I think communities on this forum may not able to help you verify this case. Do you mind to report this issue to Microsoft directly via Microsoft Support site:

    http://connect.microsoft.com/visualstudio

    By the way, can you make sure you have started your OS in a clean boot?https://support.microsoft.com/en-us/kb/929135

    This can help us troubleshoot whether the issue is related to those updates or some other software. In my point of view, to know which update caused this problem, I think remove them one by one is a reasonable way. Would you mind to give it a test?

    Best regards,

    Barry


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, January 5, 2016 7:17 AM
    Moderator
  • Thanks for your answer.

    vbc.exe crash when running : yes, when updates are installed. Not when removed.
    I will post on Visual Studio forum the following tests.
    Clean boot : not tested.
    Remove update on by one: not tested yet (I'll have to reboot server every time).

    But, OK, I can spend more time on this issue if no one else is having it also; and I'll post results on Visual Studio forum.

    Antoine

    Tuesday, January 5, 2016 1:50 PM
  • @Antoine,

    Any updates on this issue?

    Best regards,

    Barry


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, January 12, 2016 12:37 PM
    Moderator
  • Hello Antoine,

    I have the same problem with this patch KB3083185.

    ---------------------------
    vbc.exe - Entry Point Not Found
    ---------------------------
    The procedure entry point __crtGetFileInformationByHandleEx could not be located in the dynamic link library C:\Windows\SYSTEM32\MSVCP120_CLR0400.dll.

    If I uninstall this patch, everything works fine.

    Could you please let me know if you have made an official error report?

    Thanks Felix

    Wednesday, January 13, 2016 1:15 PM
  • Hi, this is my answers to Barry and Felix ...

    1. I confirm what Felix observed : this is only KB3083185 which is causing a crash of vbc.exe (and then IIS web site compilation).

    2. I tried to start Windows in a clean boot (disabling Citrix drivers in my case) ; no change, when KB3083185 is applied, vbc.exe is crashing, and as soon as removed, vbc.exe is running (see error and 'normal' behavior below).

    3. I did not make an official report to Microsoft - I don't know really how...

    Regards
    Antoine

    ------

    Without KB3083185 but all others current updates applied :

    PS C:\Users\antoine> \Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe /verbose
    Microsoft (R) Visual Basic Compiler version 14.0.0081
    Copyright (c) Microsoft Corporation.  All rights reserved.

    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Accessibility.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Configuration.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Configuration.Install.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Data.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Data.OracleClient.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Deployment.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Design.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.DirectoryServices.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Drawing.Design.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Drawing.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.EnterpriseServices.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Management.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Messaging.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Runtime.Remoting.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Runtime.Serialization.Formatters.Soap.
    dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Security.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.ServiceProcess.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Transactions.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Web.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Web.Mobile.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Web.RegularExpressions.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Web.Services.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Windows.Forms.Dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.XML.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Workflow.Activities.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Workflow.ComponentModel.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Workflow.Runtime.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Runtime.Serialization.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.ServiceModel.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Core.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Xml.Linq.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Data.Linq.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Data.DataSetExtensions.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Web.Extensions.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Web.Extensions.Design.dll'
    Adding assembly reference 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.ServiceModel.Web.dll'
    Adding import 'System'
    Adding import 'Microsoft.VisualBasic'
    Adding import 'System.Linq'
    Adding import 'System.Xml.Linq'
    vbc : Command line error BC2008 : no input sources specified
    PS C:\Users\antoine>

    With KB3083185 applied with or without clean boot, event log error

    Faulting application name: vbc.exe, version: 14.0.81.0, time stamp: 0x5584f0f2

    Faulting module name: s\SYSTEM32\MSVCP120_CLR0400.dll!__crtGetFileInformationByHandle, version: 6.3.9600.18185, time stamp: 0x5683f0c5

    Exception code: 0xc0000139

    Fault offset: 0x00000000000ec580

    Faulting process id: 0x6a0

    Faulting application start time: 0x01d14e3659870a1c

    Faulting application path: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe

    Faulting module path: s\SYSTEM32\MSVCP120_CLR0400.dll

    Report Id: 97cead01-ba29-11e5-80ce-d6745a66bb12

    Faulting package full name:

    Faulting package-relative application ID:

    Wednesday, January 13, 2016 7:20 PM
  • Hello Antoine,

    thank you for letting me know. I have opened a bug report for this:

    connect.microsoft.com/VisualStudio/feedback/details/2240683

    I hope this is the correct place to do this.


    Felix

    Thursday, January 14, 2016 8:51 AM
  • According to https://support.microsoft.com/en-us/kb/3118750, what I did :

    Installed 4.6.1, restart server => NOK

    Run Windows update => No new update (even tough what explained ?)

    Uninstalled 3098785 and 3098000, restart server => OK

    Antoine

    • Marked as answer by Antoine Davous Thursday, January 14, 2016 9:46 AM
    • Unmarked as answer by Antoine Davous Thursday, January 14, 2016 10:31 AM
    Thursday, January 14, 2016 9:45 AM
  • Thank you very much Antoine,

    upgrading to 4.6.1 and uninstalling KB3083185 solved the problem. KB3083185 is no longer pending in Windows Update.

    Thanks for sharing,

    Felix

    • Marked as answer by Antoine Davous Thursday, January 14, 2016 10:31 AM
    Thursday, January 14, 2016 10:21 AM
  • Actually, this is Dave Patrick 

         

    113,205           
    Points
    Top 0.1

    Dave Patrick        
    MCC, Partner, MVP         Joined  May 2009        
               

    6

                                           

    6

                                                

    16

                             
    who gave me the link on Windows Server forum...

    Thursday, January 14, 2016 10:30 AM