Mobile Zone is brought to you in partnership with:

Michael Crump is a Microsoft MVP, INETA Community Champion, and an author of several .NET Framework eBooks. He speaks at a variety of conferences and has written dozens of articles on .NET development. He currently works at Telerik with a focus on our XAML control suite.
You can visit his blog at: MichaelCrump.Net or follow him on Twitter at: @mbcrump

Michael is a DZone MVB and is not an employee of DZone and has posted 109 posts at DZone. You can read more from them at their website. View Full User Profile

Unable To Start Debugging WWAHost.exe Error With Windows 8 HTML Apps

08.26.2012
| 3761 views |
  • submit to reddit

Introduction

All throughout my blog you will find tons of blog posts for common problems that I have encountered while developing applications using Microsoft Technologies. This post is no exception. While I was recently working on a Windows 8 HTML application, I kept getting the following error from VS2012 RTM.

SNAGHTMLd749a5

I searched and searched the net for an answer and came up empty. Most everyone said, “Upgrade to the RTM bits!” But I was already on the RTM bits of VS2012 and Win8. So what next? The first thing I decided to do was figure out what exactly WWAHost.exe was.

What is it?

Microsoft defined it here as:

“The process that hosts and executes a Metro style app using JavaScript is called WWAHost.exe. This process provides a superset of functionality greater than that provided by the Microsoft Internet Explorer browser. Therefore, if your web app runs under Internet Explorer (and does not incorporate the unsupported technologies listed later in this topic), it can also easily be run under WWAHost.exe.”

So now that we know it is a process that hosts and executes a Metro Style App using JS then why is “my endpoint not reachable?”

The Fix

It turns out it was related to my VPN connection at work. If I simply rebooted my PC (and did not re-connect to the VPN) then I was able to debug my HTML Windows 8 apps. I’ve yet to find a way to debug HTML Windows 8 apps while being connected to my VPN so if you know of a way then please let me know in the comments below.

Wrap-Up

Anyways, I hope this helps someone with a similar problem. I created this blog partially for myself, but it is always nice to help my fellow developer.

Thanks for reading.

Published at DZone with permission of Michael Crump, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)