Aaron Stebner's WebLog

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

Media Center guide download error code 13

Media Center guide download error code 13

  • Comments 59

I have been getting several comments in blog posts and emails from customers who have been running into error code 13 while trying to download television guide data in Media Center.  Unfortunately, there appear to be a lot of cases of this error and we have not been able to identify fixes or workarounds for all of them.  I wanted to create one single post where I list all of the suggested workarounds we currently have.

What is error code 13?

First, a brief description of error code 13.  According to the list of possible guide download error codes I previously posted, this error means "Failure attempting to download new Guide data. Please ensure that you are connected to the Internet. If you connect through a LAN, ensure that your proxy or firewall has been properly configured."

What can I try to do if I receive error code 13 during Media Center guide download?

Based on the cases we have seen so far, this error is generally a proxy server configuration issue that is preventing Media Center or the computer from communicating on the internet.  The following suggestions may help resolve this issue:

  1. Media Center guide download will only work if your computer's system clock is correctly synchronized to the current internet time.  Make sure that your system clock is set to the correct time and time zone for the region you are located in.  Note also that if you do not have the box checked to automatically adjust the time for daylight savings time changes, you may have to manually adjust your clock to account for this.
  2. Sometimes, there are XML parsing problems caused by previously downloaded guide data.  You can attempt to workaround this type of problem by renaming the directory %ALLUSERSPROFILE%\Application Data\Microsoft\Ehome\EPG (I suggest renaming rather than deleting in case you want to revert back to the previous data later on).  Then open Media Center, go to Settings, then TV, then Guide, then Set up Guide Listings and configure guide download one more time to regenerate this folder and (hopefully) the contents
  3. Media Center guide download functionality is located in the binary file %windir%\ehome\ehSched.exe.  If you have firewall hardware or software on your system, you need to make sure that this executable has outgoing internet privileges.
  4. Media Center guide download uses SSL and the HTTPS protocol.  This protocol requires the ability to access the internet on port 443.  In addition, the guide download communicates in some instances via the standard HTTP port - 80.  You may need to configure your firewall to allow internet communication on ports 80 and 443 if you have them locked down otherwise.
  5. Launch Media Center, choose Settings, then General, then Media Center Setup and choose to not use the guide.  Then restart the machine, relaunch Media Center and run Media Center setup again and choose to use the guide again
  6. Re-register the Media Center guide DLL by clicking on the Start menu, choosing Run, typing cmd and then running the command line %windir%\Microsoft.NET\Framework\v1.1.4322\regasm.exe %windir%\ehome\ehepgdat.dll
  7. Temporarily disable any anti-virus, anti-spyware or firewall software that you have installed on your system, then launch Media Center and try to download guide data again
  8. Uninstall McAfee Privacy Service if you have it installed
  9. If you are using a SonicWALL hardware firewall, you may have to manually configure it to allow HTTP byte range requests.  See this blog post for instructions to do this.
  10. If you are using a download manager application that overrides default system download functionality (such as BitComet or FlashGet), they may interfere with Media Center guide data download functionality.  In some cases, it helps to close or disable this type of software, then launch Media Center and try to download guide data again

What if none of the above work?

Unfortunately, this list of suggestions is all that I currently know of to try to troubleshoot this type of failure.  If you have tried all of the above and are still not able to download guide data, then I suggest posting a question at one of the following locations and hopefully someone there can help suggest some additional ideas:

<update date="1/7/2008"> Added information about download manager software and added links to the public newsgroup and forums </update>

 

  • I have gotten several comments in blog posts and emails from customers who have been running into error...
  • I found my problem with this error code.  I run a proxy server that was not allowing connection back to to Microsoft.  I added this to my whitelist, data.tvdownload.microsoft.com, and everything started working again.
  • I believe I have traced the problem down to network connectivity from ISP's I have bell south her in Florida and they are horrendous when it comes to connectivity issues. If I use my dell media center PC with a bell south dial up, I can connect to the program guild and download info no problem. But if I use my DSL connection I get errors. I have notivced in my sonicwall firewalls logs that the possible reason for this is the site is un reachable from my network See: log output below

    02/10/2006 13:42:33.720 ICMP packet dropped 192.168.0.1, 8, WAN 72.149.48.175, 0, WAN, adsl-072-149-048-175.sip.bct.bellsouth.net ICMP Type: 8, Code: 0

    The destination address that media center is trying to connect with is apparently at 72.149.48.175 and it uses certain ports to communicate. But this address is not reachable on some ISP's systems. I can reach it on my SBC DSL just fine, and on bell south dial up just fine. But not on bell south DSL. It definitely appears to have something to do with the way the D-slams or routers at certain service providers are configured.
  • Aaron,
    As I mentioned on your other BLOG I'm signing up for future updates on this issue.  Tried all of the above, plus all of Dell's suggestions - I still get an error code 13.
    Thanks, Buck.
  • Aaron,
    Just put this same message on your othere BLOG - I believe I've found the issue.  I've got my system hooked up here at work and the guide downloaded in under 2 minutes.  It appears that my connection through Direcway is the problem.  Is there a fix?  Is it possible to download updates to a thumb drive at work and install on my home machine?  Direcway does mention that VPN connections will not work through their system - is this part of the issue?
    Is there anything else I can do to help nail this problem down?  Is it possible that updates will work now that I've gotten my first guide download?
    Regards, Buck
    PS I'll just look for updates on this particular BLOG from now on as it is set up for the error code 13 specifically.

  • Direcway's web accellerator  is DEFINATELY a problem.  I have Direcway myself, and MC was working fine until sometime in Oct. or Nov.  It was sporradic for a while, but then it just quit loading the guide completely.

    This weekend, I decided to try to "work around" Direcway.  So, I found a public Proxy (which didn't use port 80) and the guide was retrieved successfully.

    Unfortunately, the Direcway accelleration is a big help when browsing the rest of the web, so I can't stick with the other proxy.

    Just thought others might like this little tidbit, and maybe if enough of us whine to Direcway, they'll fix it...
  • I tried every step so far listed. My ISP is not of concern.
  • I had this error and after much frustration and hair pulling I found a resolution.

    Problem:
    1. DRM file was corrupted.  Not sure if this also corrupted the Guide data, but it did take out Napster.
    2. Couldn't synchronize time using the clock utility.

    Possible Resolution:

    I used the napster program to fix both the DRM program, and synchronize the clock to internet time.  

    I'm not sure which fix enabled the guide to work again but this did the trick.  

    If you can't get the Internet time to synchronize try and find a 3rd party utility to fix this for you.

    Thanks
  • WITH Direcway Satellite; Reregistered the ehepgdat.dll and all is well. *NOTE*!!! Regasm.exe is not always in the same location on all machines. I suggest you unhide hidden files and folders and show system files... (My Computer/Tools/Folder Options/View/ & uncheck "Hide protected system files..." and add a check to "Show hidden files and folders". Open drive C: and browse to c:\windows\microsoft.net\framework and see what the folder name is for v.1.1.???? and follow Aron's suggestion above and reiterated here: %windir%\Microsoft.NET\Framework\v1.1.????\regasm.exe %windir%\ehome\ehepgdat.dll *Replace ???? with whatever numbers you found when you browsed to it.*

    The reasoning behind using %windir% as apposed to c:\windows is that windows may not be installed at c:\windows while %windir% will locate windows and all subfolders perfectly.
  • Addendum:-) I just checked my wifes PC and found the regasm in c:\windows\microsoft.net\framework\v2.0.50727

    There were 2 other folders beside it with v.?.???? names so you may have to check them all... ALSO you don't need to unhide anything. How presumptuous of me.
  • So,What is the problem with error 13. I fixed it last week and it is back again and won't fix this time using the same method as described.
  • Hi Brian and Mario - Unless you still have old beta versions of the .NET Framework on your system, regasm.exe should always be located in the same folder on every system - for the .NET Framework 1.0 it will be in %windir\Microsoft.NET\Framework\v1.0.3075, for the .NET Framework 1.1 it will be in %windir\Microsoft.NET\Framework\v1.1.4322, and for the .NET Framework 2.0 it will be in %windir\Microsoft.NET\Framework\v2.0.50727.
  • How many versions shold I have, I have v1.0.3705 & v1.1.4322. I also notice that when guild is not working system clock will not sinc with time.windows.com, "the handle is invalid" Thank you for your effort.
  • Hi Mario - You should have the .NET Framework 1.0 (because it comes with the OS for Media Center), and the .NET Framework 1.1 if you are running Update Rollup 2.  You might also have the .NET Framework 2.0 but that is not required for Media Center to function correctly.

    Guide download requires that the system clock be set correctly on your machine.  I am not sure why it would fail to synchronize when you try to do that via the control panel though.  Can you try to manually change your clock time and see if that helps?
  • Event Type: Warning
    Event Source: W32Time
    Event Category: None
    Event ID: 7
    Date: 3/3/2006
    Time: 4:32:11 PM
    User: N/A
    Computer: DIMENSIONE310
    Description:
    The time provider 'NtpClient' returned an error while updating its configuration. The error will be ignored. The error was: Catastrophic failure (0x8000FFFF)

    This is the message I get after trying to get a guild. The windows clock works fine before I try. All I can say is Glad I Have Tivo.I am done trying to fix this problem, Will check back to say If the error 13 problem is ever solved.Seems like the following factors are common, Directv guild,Verizon dsl, and Dell.Thanks for your effort.
Page 1 of 4 (59 items) 1234
Leave a Comment
  • Please add 5 and 3 and type the answer here:
  • Post