Why do I get an error for "__CrtGetFileInformationByHandleEx " when I try to compile

just.another.programmer

I just installed Visual Studio 2015 Community on my computer. Until now I have been using Visual Studio 2010 Professional. Now when I try to run my MVC apps in the build in web server, I get the following error message.

The procedure entry point __CrtGetFileInformationByHandleEx could not be located in \WINDOWS\SYSTEM32\msvcp120_clr0400.dll

I get the same error message if I try to execute vbc.exe (the Visual Basic compiler) on directly at the command prompt. My MVC app also shows a YSOD with

Compilation Error - Compiler Error Message: The compiler failed with error code -1073741511.

How can I fix my VS so I can run my programs again?!

Steps I've tried

  1. Uninstall VS 2015 Community
  2. Uninstall and reinstall .NET 4.6 and .NET 4.5.2
  3. DISM /Online /Cleanup-Image /RestoreHealth
  4. The .NET Repair Tool
  5. Run sfc /scannow
  6. Manually rename the msvcr120_clr0400.dll file to msvcr120_clr0400.dll.corrupt and do 1-5
  7. Uninstall and reinstall VS 2010 w/ SP1

sfc /scannow successfully replaced the msvcr120_clr0400.dll file, but it replaced it with the exact same CTP file as before!

EDIT:

The problem dll's from my system are available for download here:

Kevin Halverson

Microsoft is aware of this issue with KB3098779 and 3097997:

https://support.microsoft.com/en-us/kb/3118750

The recommendation is to uninstall these patches and then rescan for updates. Newer versions of these security patches (that do not break the VB compiler) are now available.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Why do I get a compilation error when I try to have two methods with the same name and parameter type?

Why do I get "Exception; must be caught or declared to be thrown" when I try to compile my Java code?

why do i get exception error when i try output array

Why do I get a compile error when calling start method?

Why do I get an "invalid values" error when I try to access the network settings on Eclipse Mars?

I get stray '#' in program error when I try to compile this program

Why I get error when I try to create stored procedure?

Why do I see `503 Backend Error` when I try to get a Cloud Storage service account?

Why do I get an error when I try to add a dependent task to one created by the C plugin?

Why Do I get an error when I try to get tkinter slider value?

Why do i get this error when I try to perform some logical operation on dataframes?

Why do I get this error in my logcat when I try to post JSON data?

Why do I get error when I try to alert the length of the passed array to the function?

Why do I get 'unknown type name DetailViewController' error, only some of the time when I compile?

Why do I get an error (Notice: Undefined index) when I try to echo a value from my database?

Why do I get a syntax error when I try to print a nested hash that has keys containing colons?

Why do I get 'undefined' error when I try to read session atrribute from Controller

Why do I get an error message of NoneType object is not callable when I try to call this function?

Why do I get a NoClassDefFound error when I try to save my test plan?

Why do I get a linker error while I try to compile a C file?

Why do I get this error when I try to load the component in VueJS?

Why do i get this error when I try installing autopep8 using pip?

Why I get error when I try to declare local variable?

Why do I get an Error when I try to rename a table after FROM?

Why do I get an error when I try to see my Text using useState?

Why do I get an error when I try to save mongoose model?

Why do I get error when try to convert Carbon to DateTime?

Why do I get an Undefined reference error when trying to compile?

Gitlab CI: why do I get an error when I try to define the pages stage?

TOP Ranking

HotTag

Archive