Aaron Stebner's WebLog

Thoughts about setup and deployment issues, WiX, XNA, the .NET Framework and Visual Studio

Possible workaround for Media Center guide download error code 20

Possible workaround for Media Center guide download error code 20

  • Comments 34

Our development team has found a possible root cause and workaround for error code 20 that may appear when trying to download television guide data in Media Center 2005.  The guide download error code article I previously published describes error code 20 as a file validation error, possibly caused by a mismatched guide package.  Previously, the only recommended workaround was to try downloading guide data again later.

We got a hold of a machine that was displaying error code 20, and the developer debugged and found the failure resulted from a call to a cryptographic API that is used to decode guide data (which is downloaded in an encrypted format).  For some reason we don't fully understand yet, this API returns a set of permissions that don't permit the guide data file to be opened correctly.

This workaround that we used to resolve this issue is the following:

  1. Log onto the computer as a user with Administrator privileges
  2. Close Media Center
  3. Navigate to the %ALLUSERSPROFILE%\Application Data\Microsoft\Crypto\RSA\MachineKeys folder
  4. Delete the file that starts with 1c93d682e65b0f3af0cd51385becba5e_
  5. Restart Media Center and try to download television guide data again

Error code 20 is being caused by one of the machine keys in that folder, but it appears to be a different key on each computer that hits this problem.

<update date="6/22/2006"> Updated this workaround so that it only includes deleting Media Center-specific RSA keys.  The previous workaround ended up deleting the entire RSA key store, which can impact other products on the system. </update>

 

  • Hi Brian Stettin - I'm not sure if the steps in this blog post will help on your version of Windows, but it is worth a try just in case.  If that doesn't help, then I'd suggest posting a question on one of the following forums to see if someone there can help suggest some additional ideas for you to try:

    thegreenbutton.com/.../ShowForum.aspx

    www.microsoft.com/.../reader.mspx

  • Worked like a charm.  Thanks!

  • This fix worked for me on vista media center

  • Although on vista the key is located here (hidden folders need to be shown)  C:\ProgramData\Microsoft\Crypto\RSA

Page 3 of 3 (34 items) 123
Leave a Comment
  • Please add 5 and 1 and type the answer here:
  • Post