View Full Version : ehExtHost.exe Common Language runtime debugging service
Ciao, ho un hp6162ea...con media center edition.
Quando lo uso per vedere i video mi da questo errore:
ehExtHost.exe Common Language runtime debugging service
In rete ho trovato qualcosa, ma non ci ho capito molto.
Potete aiutarmi per favore?
Ciao.
Forse ho trovato una soluzione, mi potete aiutare?
How to resolve ehExtHost crashes that can occur when launching Media Center
I have heard from a few customers in recent weeks who received an error dialog every time they launched Windows Media Center. This dialog had the following title and text:
Title: ehExtHost - Common Language Runtime Debugging Services
Text: Application has generated an exception that could not be handled.
Windows Media Center was usable after dismissing this dialog, but it was really annoying to have to dismiss it each time Windows Media Center was launched. Since I have seen this issue multiple times recently, I wanted to describe some troubleshooting steps that can be used to resolve this issue in many instances.
The ehExtHost process is a hosting process for Windows Media Center add-ins. When it crashes, it typically means that the add-in itself has crashed inside of its process space. Windows Media Center supports a type of add-ins known as background add-ins. These add-ins are launched when Windows Media Center is launched and run in the background as long as the main Windows Media Center process is running on system. When ehExtHost crashes immediately after Windows Media Center is launched, it typically means that an add-in registered in the background category has crashed.
In many cases, users may be unaware of what add-ins are installed on their systems, particularly in the case of Windows Media Center systems purchased from an OEM or system builder because the manufacturer may pre-install add-ins. Without knowing what add-ins are installed on the system, it is a bit more difficult to determine which add-in is causing ehExtHost to crash.
In the cases I have seen, I narrowed down the issue by looking in the registry to determine which add-ins are installed in the background category. Windows Media Center stores information about registered add-ins in the following registry sub-hives:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Media Center\Extensibility
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Media Center\Extensibility
These hives normally have 3 sub-keys:
Applications
Categories
Entry Points
Add-ins that are registered in the background category will appear in a sub-key named ...\Extensibility\Categories\Background. The structure for a specific add-in looks like the following (and it is valid for this structure to appear in HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE even though I only list HKLM below):
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Media Center\Extensibility\Applications\{application_guid}]
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Media Center\Extensibility\Categories\Background\{entrypoint_guid}]
AppId={application_guid}
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Media Center\Extensibility\Entry Points\{entrypoint_guid}]
The {application_guid} value and {entrypoint_guid} values must match in the 2 places they are listed above, and together they represent a specific entry point for an add-in.
In the cases of the customers I talked to, they only had one add-in registered in the background category, and I had them rename the 3 registry sub-keys above and that caused Windows Media Center to stop trying to launch this add-in when starting up, and ehExtHost stopped crashing.
In some cases, it may be possible that multiple applications are registered in the background category. In that case, I suggest renaming the sets of 3 registry values that correspond to each add-in one at a time to narrow down which add-in is causing the ehExtHost crash.
In general, it would be best to use official unstall mechanisms to unregister the add-in, but I have seen my share of add-ins that either do not create Add/Remove Programs entries or that do not correctly unregister themselves during uninstall. Therefore it is sometimes necessary to directly edit the registry. It is important to note that I always recommend renaming the registry sub-keys as opposed to deleting them because you can rename the sub-keys back in case something goes wrong.
If you are unsure about what add-ins are installed and what the possible cause of this type of crash is, you can use the following command lines to gather the relevant registry information and send them to me so I can try to advise.
Click on the Start menu, choose Run, type cmd and click OK
Run start /wait regedit /e %temp%\hkcu_mce_extensibility.reg "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Media Center\Extensibility"
Run start /wait regedit /e %temp%\hklm_mce_extensibility.reg "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Media Center\Extensibility"
Zip the files named %temp%\hkcu_mce_extensibility.reg and %temp%\hklm_mce_extensibility.reg
neanche a spiegarmi quello che c'e scritto in inglese ... :mc:
aiutatm!
Azz!
Mi aspettavo un piccolo aiuto...
:help:
Elektrosphere
02-07-2007, 14:13
spero tu abbia risolto, perchè ho lo stesso problema, e di inglese non ci capisco nulla!!:muro:
alcor324
16-09-2007, 22:13
Soluzione in Italiano:
Cliccate su START, scegliete il comando ESEGUI: digitate nella casella "cmd" (senza le virgolette!), e premete invio;
copiate la seguente riga, e incollatela nella schermata nera:
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Media Center\Extensibility\Applications\{4874559d-e801-4f21-a580-6f5f0b87017c}" /f
cliccate invio; l'operazione dovrebbe venirvi indicata come "terminata con successo".
ora copiate e incollate la seguente riga:
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Media Center\Extensibility\Categories\Background\{51537886-fe58-4b67-9fbc-567013c765f6}" /f
cliccate di nuovo invio.
Ultimo passaggio, identico ai precedenti: copiate e incollate sempre nella finestra nera di cmd la seguente riga:
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Media Center\Extensibility\Entry Points\{51537886-fe58-4b67-9fbc-567013c765f6}" /f
E cliccate per l'ultima volta invio. Fatto! Chiudete la finestra di cmd, aprite WMC e verificherete che funziona perfettamente, senza che compaia più quell'assillante messaggio di errore.
Ciao
malasaña
12-01-2010, 17:49
ottimo aiuto grazie
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.