locked
Troubleshooting AppContainer network connectivity issues

    Question

  • Hi,

    I use IXMLHTTPRequest2 from my C++ Metro application to communicate to my server residing on the same local network. I run Win8 in a VirtualBox on my laptop. The code used to work fine till yesterday, when I suddenly started getting an exception during the request, both GET and POST. The exception (0xc0000005) happens in KernelBase.dll with the stack shown below.

    The same code runs nicely from a console application on the same Win8 machine. The address I try to access is accessible from both a browser on the same Win8 and a sample Metro media streaming app. I tried to Run a couple of other samples using this IXMLHTTPRequest2 and they all have this exception now. The requests don't go through. The application has declared the internetClient capability.

    Is there anything that can help me understand what is going on - like some event logs that exists or can be turned on, or troubleshooting tools? Any other ideas?

    Thanks a lot,

    Moshe

    The exception stack (shown only the stack frames after my call and those who have some symbols associated)

      urlmon.dll!InitIsOsDomainMember(_RTL_RUN_ONCE * InitOnce, void * Parameter, void * * lpContext) Line 104 C++
      ntdll.dll!_RtlRunOnceExecuteOnce@16() Unknown
      KernelBase.dll!_InitOnceExecuteOnce@16() Unknown
      urlmon.dll!IsOs_DomainMember() Line 128 C++
      urlmon.dll!IsIntranetAvailable() Line 6929 C++
      urlmon.dll!CSecurityManager::_MapComponentsToZone(ZONEMAP_COMPONENTS * pzc, unsigned long * pdwZone, unsigned long dwFlags, TRIBIT * ptbMarked, wchar_t * * ppszMarkURL) Line 7223 C++
      urlmon.dll!CSecurityManager::MapUrlToZoneEx2Internal(IUri * pUri, unsigned long * pdwZone, unsigned long dwFlags, wchar_t * * ppwszMappedUrl, unsigned long * pdwOutFlags) Line 2284 C++
      urlmon.dll!CSecurityManager::GetZoneFromUri(IUri * pUri, unsigned long * pdwZone, unsigned long dwFlags, wchar_t * * ppwszMappedUrl, unsigned long * pdwOutFlags) Line 1876 C++
      urlmon.dll!CSecurityManager::GetZoneForUri(IUri * pUri, unsigned long * pdwZone, unsigned long dwFlags, wchar_t * * ppwszMappedUrl, unsigned long * pdwOutFlags) Line 1955 C++
      urlmon.dll!CWebPlatformSecurityManager::_MapUrlToZoneInternal(IUri * pUri, unsigned long * pdwZone, unsigned long dwInFlags, wchar_t * * ppszMappedUrl, unsigned long * pdwOutFlags) Line 900 C++
      urlmon.dll!CWebPlatformSecurityManager::MapUrlToZoneEx2(IUri * pUri, unsigned long * pdwZone, unsigned long dwFlags, wchar_t * * ppwszMappedUrl, unsigned long * pdwOutFlags) Line 505 C++
      urlmon.dll!CSecurityManager::MapUrlToZoneEx2(IUri * pUri, unsigned long * pdwZone, unsigned long dwFlags, wchar_t * * ppwszMappedUrl, unsigned long * pdwOutFlags) Line 2070 C++
      urlmon.dll!CINetHttp::SetOptionsForUnicodeUrl() Line 848 C++
      urlmon.dll!CINetHttp::INetAsyncOpenRequest() Line 710 C++
      urlmon.dll!CINet::INetAsyncConnect() Line 3616 C++
      urlmon.dll!CINet::INetAsyncOpen() Line 3192 C++
      urlmon.dll!CINet::StartCommon(IUri * pUri, IInternetProtocolSink * pTrans, IInternetBindInfo * pOIBindInfo, unsigned long grfSTI, unsigned long) Line 1157 C++
      urlmon.dll!COInetProt::StartEx(IUri * pUri, IInternetProtocolSink * pOInetProtSnk, IInternetBindInfo * pOIBindInfo, unsigned long grfSTI, unsigned long dwReserved) Line 433 C++
      urlmon.dll!CTransaction::StartEx(IUri * pIUri, IInternetProtocolSink * pOInetProtSink, IInternetBindInfo * pOInetBindInfo, unsigned long grfOptions, unsigned long dwReserved) Line 4414 C++
      urlmon.dll!CTransaction::Start(const wchar_t * pwzURL, IInternetProtocolSink * pOInetProtSink, IInternetBindInfo * pOInetBindInfo, unsigned long grfOptions, unsigned long dwReserved) Line 4590 C++
      msxml6.dll!URLMONRequest::send(struct tagVARIANT) Unknown
      msxml6.dll!XMLHttp::send(struct tagVARIANT) Unknown
      msxml6.dll!XMLHttp2::_Send(struct ISequentialStream *,unsigned __int64) Unknown
      msxml6.dll!XMLHttp2::Send(struct ISequentialStream *,unsigned __int64) Unknown

      

     

     

     

     

     

     

     

    IXMLHTTPRequest2

    Thursday, September 20, 2012 12:26 PM