Visual Studio 2015 Exception HRESULT 0x89710016

Brown, Jerome 1 Reputation point
2020-11-03T14:22:29.643+00:00

Even the simplest code in returns the Visual Studio 2015 Exception HRESULT 0x89710016 when I try to run or debug it

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
948 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Brown, Jerome 1 Reputation point
    2020-11-03T17:39:33.943+00:00

    include "stdafx.h"

    include <iostream>

    using namespace std;

    void main(int argc, _TCHAR* argv[])
    {
    cout <<"Hello World";
    //return 0;
    }

    0 comments No comments

  2. Brown, Jerome 1 Reputation point
    2020-11-03T19:05:08.51+00:00

    Will try . I can run from command window but not VS IDE. Why?

    0 comments No comments

  3. Perry Qian-MSFT 6 Reputation points
    2020-11-30T10:05:15.717+00:00

    Hi @Brown, Jerome ,

    Try the following steps:

    1. reset all vs settings under Tools-->Import and Export Settings-->reset all vs settings
    2. disable any third party extensions under Tools-->Extensions and Updates
    3. close VS, delete all cache files under C:\Users\xxx(current user)\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache
    4. you could try devenv /safemode on the Developer Command Prompt for VS2015 to start a pure, initial vs to test your solution.
    5. Also, try to create a new c++ project to test whether the issue persists on the new one.
    6. please repair vs2015 under control panel-->Programs--> right-click on vs2015 and select Change and then click Repair.

    Best Regards,

    Perry


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our * *documentation* to enable e-mail notifications if you want to receive the related email notification for this thread.**

    0 comments No comments