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.

 

  • Thanks for this workaround, ill definetly using it helping those in the Xbox.com forums.

    What if you have .Net Framework 2.0?
  • Since MCE doesn't use .net framework 2.0, it won't hurt or harm anything.

    .net framework 2.0 doesn't replace .net framework 1.1 (and same with 1.0).
  • Great blog!

    Ever heard of the Media Center Extender for Xbox 360 setup crashing the Xbox 360?

    Whenever I run through the setup (enter 8 digit security key from 360), the MCE setup verifies the code, then trys to establish a connection. At that point my 360 crashes with an "E71" system error. Support people have no idea what that is.

    Thanks!
  • I get the same E71 error on my Xbox, setup seems to run okay on the PC but launching MC on the 360 crashes it every time. Right PITA :(
  • Looks like my issue is a 360 hardware problem.

    I disconnected the HD on my 360 and media center extender worked like a champ. Plug the HD back in and MCE crashes with the E71 system error. Looks like I'll probably have to send the box back for repair.
  • Hi Curtcr - I'm sorry to hear that this is a hardware issue, but I'm glad you were able to narrow down the issue. I have been trying to ask around for some help with this error code, but a lot of folks who would normally answer my questions are out on vacation for the holidays.

    Hi Dan - Can you please check and see if you are running into the same hard drive issue that curtcr described?
  • "Hi Dan - Can you please check and see if you are running into the same hard drive issue that curtcr described?"

    Yep will do later today to see what happens, and will report back. Will be pretty gutted if it has to go back for replacement :(
  • Thanks so much for posting this fix. I was having problems with the .NET framework ever since I had tried updating it ages ago through Windows Updater and it crashed halfway through. I was never able to fix the problem until now. I can also share with my 360 now and stream music and such. Muchas Gracias!
  • Well, the HD removal worked for me...but replacing it again makes it crash. I might experiment more with new profiles on the HD etc, I'm wondering if the problem is in fact the HD or the Xbox itself. Good news is that, once added as an extender, you can just remove the HD and launch media center without having to re-set it up every time.
  • Hi,

    I'm not sure if this is related but when the 8 digit screen comes up on my xbox whilst my PC is on.. it just flashes off and says reconnect. This means I cannot setup my media center. THis is a recent thing.. it did work up until two days ago when I installed the latest patches released for MCE2005... Any ideas? I have since uninstalled all firewalls to see if they for whatever reason could be conflicting...
  • hello sam i got the same problem...the router firewall is turned off...and the exceptions in the windowsfirewall are all allowed to the wmconnect and the extender and the center...
    but the xbox cannot connect..
    the box says the an application or user on the pc shut down the connection any idea???
  • Hi Sam and Metty - can you please check in your application event log and see if you see any errors or warnings related to Media Center or your Extender failing to connect?

  • Thanks for this fix. Helped me out a lot.

  • I inadvertantly deleted the following comment from Dave:

    i have a different problem and cant find anything about it... it im runnning rollup2 and all that stuff, but when installing the lite version it says "An Error Occurred contact the manafacutrer." just half a second after it was "Starting services..." It doesnt say anything in any logs, but it doesnt get any further i have to click finish. Anyone know of this?
  • Hi Dave - I have not heard of this issue before. Can you please check on the Xbox 360 forums and see if there are any helpful suggestions there? You can access them at http://forums.xbox.com/regional.aspx?locale=en-US.

    Sorry I'm not able to be more helpful here.
Page 1 of 5 (64 items) 12345
Leave a Comment
  • Please add 3 and 5 and type the answer here:
  • Post