The Problem:-
When you try to start windows media center, it pops up with an error of: ehshell.exe - Common Language Runtime Debugging Services
Resolution:-
STEP1: Uninstall all the versions of .net framework using windows installer cleanup utility and reinstall .net framework v1.1.4322 and .net framework 3.5 SP1.
STEP2: Start >run and type in: cmd
in the Command Prompt window type the following commands and press the Enter key after the each command:-
Type: regsvr32.exe atl.dll
Type: cd \
Type: cd windows
Type: cd eHome
Type: ehSched /unregServer
Type: ehSched /service
Type: ehRecvr /unregServer
Type: ehRecvr /service
Type: ehRec.exe /unregServer
Type: ehRec.exe /regserver
Type: ehmsas.exe /unregServer
Type: ehmsas.exe /regserver
Restart Media Center