lamados
lamados

Reputation: 51

Unrecognized error occurred in the Windows Web Services framework

I'm trying to build and run a simple project in Visual Studio 2017 (C++) in x64 using the Local Windows Debugger. However every time I try to run it using the debugger I get this error.

This error doesn't show up when I change it from x64 to x86, but I need it to compile to x64. This has happened on both computers that I've tried it on, and seems to happen in every one of my projects. I've tried reinstalling Visual Studio already and nothing's changed. I've tried adding 'devenv.exe' as an exception to the Windows Firewall but no changes there either, even when I disabled the firewall completely. My antivirus isn't affecting it at all either: still happens when I disable it.

The application runs fine when I find it in the explorer and run it manually but then I don't have any debugging tools.

What am I doing wrong here, how do I make it build and run my project as x64?

Upvotes: 5

Views: 1091

Answers (2)

H2ONaCl
H2ONaCl

Reputation: 11309

If you want to use a VPN, the solution (assuming you have Visual Studio 2017 Version 15.7 or later) is as follows:

  • Go to the Windows Start Menu and launch the “Developer Command Prompt for VS 2017 Preview”
  • Run: "%DevEnvDir%vsregedit.exe" set "%VSINSTALLDIR:~0,-1%" HKCU Debugger UseAnonymousPipes dword 1
  • Restart VS if it is already running

That solution is from this link to Microsoft.

Upvotes: 0

Jake
Jake

Reputation: 81

I get this error every time I have an active VPN connection. If you use a VPN, try disconnect and see if the error disappears.

Upvotes: 8

Related Questions