Share via

BSOD when debugging web.app in visual studio. Message says HTTP.sys

Anonymous
2021-06-17T07:05:58+00:00

Suddenly this started happening to me, after a nightly update to windows.

Visual Studio 19 is run as administrator.

The problem does not happen every time I start debugging, but it happens several times a day. Allways immediately after hitting F5.

I tried resetting windows, and after that installed only visual studio 19.

Still the problem happens several times a day.

Here is dumpfile and msinfo: https://dl.gis4mobile.com/GIS4Mobile/data/msinfo\_geosite3.zip

Windows for home | Windows 10 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2021-06-22T04:08:12+00:00

Possible Workaround:  modify project to use Local IIS rather than IIS Express.

BSOD has been plaguing me for over a week, but I've not had a single BSOD since modifying my project to use Local IIS instead of IIS Express.

I can easily reproduce the BSOD:

  1. Open the VS project
  2. Start the VS debugger
  3. Visit the web app using Chrome with the Chrome Dev Tools open
  4. reload the app in the browser a couple times (ctrl-shift-F5) until BSOD

Notes:

  • I'm using Chrome v91.0.4472.114 and Chrome Canary v93.0.4549.3.  FireFox is somewhat less problematic, but eventually gets to BSOD.
  • I'm running Windows 10 21H1, to which I updated last week (6/15) from version 20H2; I was hoping the update would fix this issue, but it did not.
  • I tried uninstalling/reinstalling Chrome to no avail.

AnalogKnight - I tried the steps you offered, but did not meet with success.

(uninstall, cleanup, and then reinstalled an older version of VS 2019 [v16.9.3, because this was a known working state])

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

18 additional answers

Sort by: Most helpful
  1. Anonymous
    2021-06-18T16:50:29+00:00

    Hello, I am having the same issue since the last windows update.

    Everytimes I run in debug a webapp from Visual Studio 2019, I get a BSOD with an error on HTTP.sys

    Does anyone have a hint on how can I solve this ?

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  2. Sakiko 39,240 Reputation points Independent Advisor
    2021-06-17T12:46:23+00:00

    According to the information in the dump file, I think it may be that your code calls some functions wrongly, which leads to problems. I'm not sure, because I haven't learned the relevant knowledge in my major.

    So I suggest you create a similar project of Hello world and see if you can debug it properly.

    I also saw some people encounter this kind of problem on the Internet. Their final feedback is that they simply uninstall visual studio and then re install it to solve the problem. If you can, I suggest you also try to completely uninstall visual studio, and then perform a general system repair, Please open PowerShell and enter the following command:

    sfc /scannow
    Dism /Online /Cleanup-Image /ScanHealth
    Dism /Online /Cleanup-Image /CheckHealth
    Dism /Online /Cleanup-image /RestoreHealth
    

    I hope that will help.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2021-06-17T09:30:43+00:00

    Hello.

    I renamed the file because I had problems zipping it. Can you just rename it to .dmp?

    I

    Was this answer helpful?

    0 comments No comments
  4. Sakiko 39,240 Reputation points Independent Advisor
    2021-06-17T09:23:07+00:00

    Hello, I'm independent advisor A&K. I'm glad to be able to help you.

    There seems to be a problem with the dump file you uploaded. It cannot be opened. The suffix of the dump file is .dmp instead of .txt.

    Please see if there is a. DMP file in your system directory "C:\Windows\Minidump". If there is, please upload it to the network disk and share the link here again, I will help you analyze it. Thank you.

    I will keep to follow up until the problem is solved. My English is not good. If you don't understand my words, please let me know.

    Was this answer helpful?

    0 comments No comments