Network Error 0x2efd

Yesterday I was trying to make a downloaded Windows Store demo app written in JavaScript work, but I was constantly hitting the following error message:

XMLHttpRequest: Network Error 0x2efd, Could not complete the operation due to error 00002efd.

This is quite a low-level error from WinHTTP, actually this is the generic error for network connectivity issues: ERROR_INTERNET_CANNOT_CONNECT (12029).

The application is using the Bing Maps SDK, so it definitely tries to connect to the network, therefore the Internet (Client) capability was checked in the package.appxmanifest file. Other Bing Maps apps were working properly, so the issue was probably not on server side.

After some experimenting I found, that the app works, if I enable the Private Networks (Client & Server) capability as well. It’s quite strange, because the privateNetworkClientServer capability means, that according to the docsA home or work network – the app can send information to or from your computer and other computers on the same network.”, but it was not the case.

This morning I restarted the computer, and now the app works perfectly with only the internetClient capability. Strange.


Technorati-címkék: ,,

5 thoughts on “Network Error 0x2efd

  1. Pingback: WOWZAPP preparation materials « Codes from the field

  2. Pingback: 0x2efd in Windows 8 app using Web API « markp3rry

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s