Defrag Tools: #68 - Windows 8.1 - HTTP Request Crash

Download this episode

Download Video

Download captions

Download Captions

Description

In this episode of Defrag Tools, Andrew Richards and Chad Beeder walk you through a common issues in Windows Store applications that use HTTP. We use a Windows Store 8.1 app sample to show how a missing exception handler affects the stability of the process.

Resources:
Improving apps with Quality reports
Windows 8.1 Application Samples
Defrag Tools SkyDrive (inc. Scripts and ProcDumpExt)

Timeline:
[00:00] - HTTP based crashes in Windows Store apps
[00:44]Windows 8.1 app samples
[01:35] - HttpClient sample
[03:40] - Windows.Web.Http based example
[03:58] - Exception Handler
[04:46] - Get a dump of the crash...
[06:30] - Open the dump... .exr -1, dd poi(<Parameter[0]>)
[07:58]!error <code> and !sos.pe
[10:45] - 'async' and 'await' talk at //build/ 2013
[11:28]System.Net.Http based example
[12:36] - HttpRequestException exception thrown
[13:07] - No WebException exception thrown
[13:34] - Get a dump of the crash...
[14:02] - WebException is an inner exception of the HttpRequestException exception
[16:06] - Email us your issues at defragtools@microsoft.com
Note:
If you have a crash you don't understand, email the CAB file to defragtools@microsoft.com and we'll help you.

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      Magic​Andre1981

      [07:58]!error <code>

      the err.exe knows the code.

      C:\Users\André>err 0x80072efd
      # anonymous HRESULT: Severity: FAILURE (1), Facility 0x7, Code 0x2efd
      # for hex 0x2efd / decimal 12029
      ERROR_INTERNET_CANNOT_CONNECT inetmsg.h
      ERROR_WINHTTP_CANNOT_CONNECT winhttp.h
      ERROR_INTERNET_CANNOT_CONNECT wininet.h
      # 3 matches found for "0x80072efd"

       

      It is a shame that that cool tool is no longer getting updates Crying Crying Crying


       

    • User profile image
      Kenan

      Hi Guys,

      Please could you tell me exact type of your Laptop? Thank you in advance, and great video.

      Best regards,

    • User profile image
      S3curityPlu5

      Still cannot develop any windows 8.1 apps.  Unable to deploy the apps, because of DEP0700 RDSAppXNotify errors on both my windows 8.1 laptops.  Really ned help with this one.  I ahve tried also on visual studio 2012 with windows 8 apps. same problem, Cannot deploy anything, even the basic sample apps.  Please tell me what this can be.  Talk about frustrating.  I can develop win32 apps, but no modern apps.  What could be blocking the registration and deployment.  I am sure that I am doing everything right, as I could devlop on windows .  I have also tried reinstalling visual studio on both machines, repairing, etc.  I cannot find any posts about RDSAppXnotifyTrigger.  Thanks in advance for any suggestions.

       

      P.S.  Are window s.1 apps deployed to appdata?  Is  there anyway to change where I deploy them to, like Program data or can I choose at least to not use AppData.  I have a feeling that my software restriction policies that are blocking Cryptolocker may be interfering with these appx deployment, however I can run Windows 8.1 apps no problem from the store and from the start menu, plus I have tried turning off the group policies that block unrecognized apps from executing from AppData, so I kind of ruled that out.  However there is nothing else different on my machines.

      Jim

    • User profile image
      windev

      @Kenan: We both have the Lenovo X1 Carbon Touch i5/4Gb RAM (a business model). You can also get an i7/8Gb model.

      For consumers, the Lenovo Yoga is the equivalent model. 

    • User profile image
      windev

      @S3curityPlu5: Is your Developer License up-to-date?

    • User profile image
      Niner130105

      Where can I download and install the "Windows GUI symbolic debugger"

    • User profile image
      VulcanLee

      When I enter:

      !pe

       

      But I got "No export pe found"

      How can I solve it?

    • User profile image
      Kenan

      Hi windev,

      Thank you for your reply, I'm looking to buy that model with i5 because i7 is expensive. I thank its ok for me as a student in Computer Science and .NET developer, also thank you so much for your great videos.

      Best regards,

    • User profile image
      ChadBeeder

      @Kenan: I expect you'll be happy with that ThinkPad X1 Carbon. They're very popular around Microsoft.

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.