Aaron Stebner's WebLog

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

What to do if Media Center Extender for Xbox 360 setup crashes

What to do if Media Center Extender for Xbox 360 setup crashes

  • Comments 64

I have heard from a couple of customers who have tried to download and install the software to enable using Xbox 360 as an Extender for Media Center 2005 with Update Rollup 2, but have encountered a crash dialog from the DvcSetup.exe process at the beginning of setup.  I finally located a computer in our test lab that reproduced this issue and found a possible root cause and workaround in case anyone else runs into this.

Problem description

The Xbox 360 PC setup package crashes almost immediately after it is launched.  The error dialog indicates that DvcSetup.exe crashed, and it may ask if you want to debug the problem.

Workaround

I was able to use the following steps to clean up the machine in our test lab that exhibited this problem:

  1. Go to Add/Remove Programs and remove the .NET Framework 1.1 (and any .NET Framework 1.1 language packs if you have any installed)
  2. Download the .NET Framework cleanup tool, run it and choose to clean up the .NET Framework 1.1
  3. Reinstall the .NET Framework 1.1 
  4. Reinstall the .NET Framework 1.1 SP1

Details about the root cause if you are interested

On the machine I investigated, the .NET Framework 1.1 had been installed, but none of the files were correctly installed in the global assembly cache (GAC).  I found that there were folders created for each assembly (for example - %windir%\assembly\GAC\Accessibility\1.0.5000.0__b03f5f7f11d50a3a), but the folders did not actually contain the assembly.  I also saw the following entries in the verbose MSI log file for the .NET Framework 1.1 on this machine:

MSI (s) (C8:D8): skipping installation of assembly component: {45B8FB98-2A6C-11D6-A551-0090278A1BB8} since the assembly already exists

There is a bug in the version of Fusion that shipped with the .NET Framework 1.0 and 1.1 where it would skip installing an assembly to the GAC if the folder already existed, even if the file was not in the folder.  Windows Installer uses Fusion to try to install assemblies into the GAC, and as the log file shows, each of the .NET Framework 1.1 assemblies was skipped because Fusion thought they already existed.

So far, I have only seen one scenario where empty folders exist in the GAC and cause this type of behavior for .NET Framework 1.1 setup.  If you have an operating system installed and have the .NET Framework 1.1 installed, and then you peform a clean install of your operating system to the same partition and choose not to format the partition, OS setup will create a new Windows directory for you.  When it does so, OS setup copies your Windows directory to a backup location and creates the same set of folders that previously existed in your Windows directory.  However, OS setup will not mirror any of the files because it assumes that you will want the copies of the files that are a part of the OS setup that you are currently installing.

This type of OS install leaves your computer in a state where the .NET Framework 1.1 assembly folders exist in the GAC, but they are all empty, and then due to the bug in Fusion that I previously installed, reinstalling the .NET Framework 1.1 does not fix the problem.  The workaround I described above will work correctly because the .NET Framework cleanup tool will remove these empty directories, which will allow a reinstall of the .NET Framework 1.1 to correctly install the assemblies to the GAC.

 

  • Hello,

    Bought last week my Xbox 360 and spend several days now to connect it with my media center PC. but I encouter the same problems as Patrick. TV goes to black screen with MC logo and says contacting but PC and Xbox cannot find eachother. In thesystem tab on Xbox it shows however its connected to an MC PC also accassing via media connect works but gives me of course not the MC interface. Xbox helpdesk can not help. Have already performed twice a full sytem recovery on my PC to get rid of posible conflicts. Please advise
  • Ok, ran the .net cleanupp and reinstall listed above, now when I try to open the XboxMCEFULL-ENU.exe file I got from xbox.com, it look as though it is preparing to install.  the problemis that the "progress bar" of the install fills and the unpacking window disappears with nothing else happening.  
  • Hello I ran across this and I was wondering if you could help me out I have called xbox so many times and they are just stumped on it. I have previously installed media center extender on my 360 and everything worked fine. I was able to watch movies and all that. Suddenly my media center wont connect it just sits at the black screen that says contacting. I have all my ports open on the router and i have uninstalled and reinstalled media center a ridiculous amount of times. I was reading somewhere that I may have to fully delete media center off my xbox and then reinstall. How would I go about doing this. Any input would help. Thanks alot.
  • Hey Jimmy, I have the same damn annoying problem and can't for the life of me work it out, so if anyone as any ideas of how to get it working, then please let us know.

    Cheers
  • Hi Jimmy and Chris - You may want to try removing the Media Center from the list of available computers in the Computers option in the System tab on the Xbox 360 dashboard.  Then you can attempt to re-connect it using the Media Center button in the Media tab on the Xbox 360 dashboard.  After choosing to re-connect, you will need to go to your Media Center PC and launch %windir%\ehome\mcxm.exe, and then choose Add a new Xbox 360 from the File menu.  If you don't have the file %windir%\ehome\mcxm.exe on your system, you will need to install the Xbox 360 PC setup package from http://www.xbox.com/pcsetup.
  • I'm having an issue with the cursor not moving.
    The install went fine. My PC and Xbox found each other. I can go into Media > Media Center on the Xbox. It goes to the black connecting screen. It then connects and moves to the blue Media PC screen with the choices for "My Pictures," ect. The cursor will scroll for about 1-3 seconds and then stops responding. At this point it just won't move. I have tried this on WLAN and LAN and get the same response.
    Any ideas/suggestions?
    Thanks,
    Nick
  • Still having problems and I found a huge set back. Apparently I have a non-genuine version of windows which angers me because I bought it from someone who custom builds p.c's I guess he screwed me. I was talking to xbox and they said there is a 10 day grace period. I changed the serial number on my windows (trickery) and now i get the contacting but the loading never freezes. Hopefully we can figure this one out.
  • I am having the same problem as Patrick also. I've been working on this for months, I've tried the advice here, as well as a lot of other things. There most certainly isn't any help at the main xbox page for this. What happens is that everything goes well until the "create user account" phase on my PC. After that, I get a setup error, and the Xbox 360 sits there trying to connect for a while, then gives me the "No Media Center PC" error. Any advice? This has been driving me crazy.
  • Unhappy story here... had this error, uninstalled the framework, the patch etc.. then ran teh tool, that worked. Then I try to install framework 1.1 again and now that is crashing, something about memory can not be "read".

    Arghhh!!
  • Hi Nino - What action is .NET Framework 1.1 setup performing when it crashes?  Also, can you tell me the exact error message you received?
  • astebner,

    Sorry I do not have this anymore. I decided to flatten the OS as there were obviously things going very bad. Framework install was dying near the very end of Setup, trying to register a DLL. The error was some sort of memory exception which made the setup roll back and therefore my MCE was dead in the water.

    I ended up taking the plunge and loading Vista Beta 2 instead, something I was gonna do anyway :)
  • A while back, I posted this possible workaround for crashes that can happen when trying to launch Xbox...
  • Hey everyone I am having a problem as well connecting my 360 to my PC. I have gone through the steps on xbox.com a few times, but everytime my 360 freezes on the black screen saying connecting. My PC recognizes the 360 but the 360 just freezes up, when i restart the 360 it says the information I used to connect is no longer valid and I must do it all over again. Which only leads to another frozen black screen???
  • Hi, im trying to install the xboxmcefull-enu but when it finishes unpacking it comes up with an error, about the file genrating an exception that could not be handled, then i try to debug and then another errors says that the registered JIT debugger is not available...

    Any ideas!
  • Hi Alex - the steps listed above in this blog post might help solve this crash that you're seeing.  Also, if that does not work, the steps listed at http://blogs.msdn.com/astebner/archive/2006/06/01/613975.aspx might help as well.  Please let me know how it goes for you....
Page 3 of 5 (64 items) 12345
Leave a Comment
  • Please add 7 and 8 and type the answer here:
  • Post