locked
After update server 2012r2 got problem "Access is denied" RRS feed

  • Question

  • Hello. I have server with OS windows server 2012 r2 and iis version 8.5.9600.16384.
    And I have web application on asp.net mvc target framework = 4.6.2.
    Application Pools: .Net CLR Version = v4.0, Managed Pipeline Mode = Integrated, Identity = ApplicationPoolIdentity.
    Permissions on project folder for IUSR and IIS_IUSRS = Full control.

    After update system I got error:
    System.TypeInitializationException: The type initializer for 'EmitMapper.DynamicAssemblyManager' threw an exception. System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) at System.Reflection.Emit.AssemblyBuilder.DefineDynamicModule(RuntimeAssembly containingAssembly, Boolean emitSymbolInfo, String name, String filename, StackCrawlMarkHandle stackMark, IntPtr& pInternalSymWriter, ObjectHandleOnStack retModule, Boolean fIsTransient, Int32& tkFile) at System.Reflection.Emit.AssemblyBuilder.DefineDynamicModule(RuntimeAssembly containingAssembly, Boolean emitSymbolInfo, String name, String filename, StackCrawlMark& stackMark, IntPtr& pInternalSymWriter, Boolean fIsTransient, Int32& tkFile) at System.Reflection.Emit.AssemblyBuilder.DefineDynamicModuleInternalNoLock(String name, String fileName, Boolean emitSymbolInfo, StackCrawlMark& stackMark) at System.Reflection.Emit.AssemblyBuilder.DefineDynamicModuleInternal(String name, String fileName, Boolean emitSymbolInfo, StackCrawlMark& stackMark)

    When I uninstalled KB4338419, website start work fine.

    I find this topic(blogs.msdn.microsoft.com/dotnet/2018/07/20/advisory-on-july-2018-net-framework-updates/), but I don't know its the same problem or not.

    How I can fix it?
    This is correct topic or better write on other place?


    Friday, July 27, 2018 3:50 PM

All replies

  • this problem solve this update blogs.msdn.microsoft.com/dotnet/2018/07/30/net-framework-july-2018-update
    Wednesday, August 1, 2018 7:41 AM