Iisexpress freezes when starting MVC project

Considering

  • Visual Studio 2015 Update 1
  • Target .NET Framework 4.5.2
  • System.Web.Mvc version 5.2.2.0

When I launch my site project (F5)

Then

  • The website loads in the web browser, and the web browser continues to load.

Tried it all the same:

  • CTRL + F5 (start without debugging)
  • Disables browser link
  • Disabled antivirus
  • Get started with Chrome

Workaround:

  • kill iisexpress.exe
  • then it works for one debugging session

Which Process Monitor tells me when I look at iisexpress.exe activity:

There is an infinite loop of the following registry actions:

13: 04: 58,7285089 iisexpress.exe 11816 RegQueryKey HKLM : 13: 04: 58,7285345 iisexpress.exe 11816 RegOpenKey HKLM\SYSTEM\CurrentControlSet\Services.NET 4.0\ : 13: 04: 58,7285611 iisexpress.exe 11816 RegOpenKey HKLM\System\CurrentControlSet\Services.NET 4.0\ : , : 13: 04: 58,7285803 iisexpress.exe 11816 RegSetInfoKey HKLM\System\CurrentControlSet\Services.NET 4.0\ KeySetInformationClass: KeySetHandleTagsInformation, Length: 0 13: 04: 58,7285984 iisexpress.exe 11816 RegQueryValue HKLM\System\CurrentControlSet\Services.NET 4.0\\ : REG_EXPAND_SZ, : 72, :% systemroot%\system32\netfxperf.dll 13: 04: 58,7286241 iisexpress.exe 11816 RegQueryValue HKLM\System\CurrentControlSet\Services.NET 4.0\\ : REG_EXPAND_SZ, : 72, :% systemroot%\system32\netfxperf.dll 13: 04: 58,7286498 iisexpress.exe 11816 RegQueryValue HKLM\System\CurrentControlSet\Services.NET Memory Cache 4.0\Performance\IsMultiInstance SUCCESS : REG_DWORD, : 4, : 1 13: 04: 58,7286750 iisexpress.exe 11816 RegQueryValue HKLM\System\CurrentControlSet\Services.NET Memory Cache 4.0\Performance\IsMultiInstance SUCCESS : REG_DWORD, : 4, : 1 13: 04: 58,7287001 iisexpress.exe 11816 RegQueryValue HKLM\System\CurrentControlSet\Services.NET 4.0\\ : 144 13: 04: 58,7287169 iisexpress.exe 11816 RegCloseKey HKLM\System\CurrentControlSet\Services.NET 4.0\ 13: 04: 58,7287547 iisexpress.exe 11816 RegQueryKey HKLM : HandleTags, HandleTags: 0x0 13: 04: 58,7287790 iisexpress.exe 11816 RegQueryKey HKLM : 13: 04: 58,7288042 iisexpress.exe 11816 RegOpenKey HKLM\SYSTEM\CurrentControlSet\Services.NET 4.0\ : 13: 04: 58,7288303 iisexpress.exe 11816 RegOpenKey HKLM\System\CurrentControlSet\Services.NET 4.0\ : , : 13: 04: 58,7288494 iisexpress.exe 11816 RegSetInfoKey HKLM\System\CurrentControlSet\Services.NET 4.0\ KeySetInformationClass: KeySetHandleTagsInformation, Length: 0 13: 04: 58,7288676 iisexpress.exe 11816 RegQueryValue HKLM\System\CurrentControlSet\Services.NET 4.0\\ : REG_EXPAND_SZ, : 72, :% systemroot%\system32\netfxperf.dll 13: 04: 58,7288933 iisexpress.exe 11816 RegQueryValue HKLM\System\CurrentControlSet\Services.NET 4.0\\ : REG_EXPAND_SZ, : 72, :% systemroot%\system32\netfxperf.dll 13: 04: 58,7289194 iisexpress.exe 11816 RegQueryValue HKLM\System\CurrentControlSet\Services.NET Memory Cache 4.0\Performance\IsMultiInstance SUCCESS : REG_DWORD, : 4, : 1 13: 04: 58,7289446 iisexpress.exe 11816 RegQueryValue HKLM\System\CurrentControlSet\Services.NET Memory Cache 4.0\Performance\IsMultiInstance SUCCESS : REG_DWORD, : 4, : 1 13: 04: 58,7289693 iisexpress.exe 11816 RegQueryValue HKLM\System\CurrentControlSet\Services.NET 4.0\\ : 144 13: 04: 58,7289866 iisexpress.exe 11816 RegCloseKey HKLM\System\CurrentControlSet\Services.NET 4.0\ 13: 04: 58,7290239 iisexpress.exe 11816 RegQueryKey HKLM : HandleTags, HandleTags: 0x0

, ?

+4
1

: , .

WORKAROUND: iisexpress.exe IDE

(1.2) Windows 10 SDK (10.0.10586)

: .

  • " "
  • Microsoft Visual Studio 2015,

Customization

  1. (1.2) Windows 10 SDK (10.0.10586)

Visual Studio Setup Visual Studio Setup

0

Source: https://habr.com/ru/post/1621098/


All Articles