ehshell.exe - strong name validation failed

View previous topic View next topic Go down

Solved ehshell.exe - strong name validation failed

Post by crabman on Sun 15 Jun 2008, 3:57 am

I am currently receiving this error message while attempting to run Media Center:
-
ehshell.exe - Common Language Runtime Debugging Services

Application has generated an exception that could not be handled.

Process id=0xe98 (3736), Thread id=0xe9c (3740).

Click OK to terminate the application.
Click Cancel to debug the application.
-
Here is the debugger error, which I know what it's problem is.
-
ehshell.exe - No debugger found.

Registered JIT debugger is not available. An attempt to launch a JIT debugger with the following command resulted in an error code of 0x2 (2). Please check computer settings.

cordbg.exe !a 0xe98

Click on Retry to have the process wait while attaching a debugger manually.
Click on Cancel to abort the JIT debug request.
-
Now in the first dialog each time I run Media Center new Prcess and Thread ids are reported. I have my speculations as to why that is as it being run as a new process since the computer has been runing. However this does not answer why a new thread id is reported. My question is this, has anyone encountered this before, and how do I repair it.

crabman

Rookie Surfer
Rookie Surfer

Posts : 141
Joined : 2008-01-14
Operating System : windows xp

View user profile

Back to top Go down

Solved Re: ehshell.exe - strong name validation failed

Post by Doctor Inferno on Sun 15 Jun 2008, 4:03 am

The cause of this on my machine was due to an error loading mscorwks.dll when re-installing MCE 2005, however, I understand that quite a few people have had this error for other reasons. Here’s how I fixed it.

Basically everything installed fine when I repaired my MCE2005 except I received an error, ‘Error loading f:\windows2\microsoft .net\framework v2.0.50727\mscorwks.dll’ then it told me to check the medctroc.log file.

Apparently this error may also appear when trying to install a .NET Framework hotfix if you are simply updating windows MCE. I guess my install CD has this slipstreamed so it's not something i encountered.

Firstly I tried to reinstall the .NET Framework 2.0 as I thought it sounded like the registry thought that media centre was still installed but the files might be reverted because of how the OS was repaired. You can find the .NET Framework 2.0 at http://msdn.microsoft.com/netframework/downloads/updates.

However, this did not work for me but it could be one of the solutions for you, so I would try it. I then installed the .NET 2.0 SDK and attached the debugger to ehshell.exe (media centre). I received the message:
An unhandled exception of type 'System.TypeLoadException' occurred in Unknown Module

Additional information: Method ShowCPRecordingStop in type MediaCenter.Common.TenFootUserXPAdapter from assembly ehshell, Version=6.0.3000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 does not have an implementation.

I tried to update my system via Windows Update with the KB900325 update (Rollup 2 for MCE2005), but it always failed. NOTE. This update contains other updates, including itself. These are; KB900325.exe, WindowsMedia10-KB895572-x86.exe, WindowsXP-KB888795-x86.exe, WindowsXP-KB891593-x86.exe, WindowsXP-KB895961-x86.exe, WindowsXP-KB899337-v2-x86.exe, WindowsXP-KB899510-x86.exe, WindowsXP-KB902841-x86.exe, wmfdist95.exe. I then downloaded the update (WindowsXPMediaCenter2005-KB900325-usa.exe) and tried to install it and found that it failed on installing a specific update, which was the kb900325 hotfix. (NOTE that when it fails you will need to reboot and it will do a system restore on your machine. Let it do this BEFORE you carry on with the following.)

To resolve this I extracted the file WindowsXPMediaCenter2005-KB900325-usa.exe to a folder using WinRAR (Click the link to install. Then right click on the file 'WindowsXPMediaCenter2005-KB900325-usa.exe' and do 'extract to' under the winrar menu). I then manually installed all of the hotfix’s individually. Except one which is WindowsXP-KB891593-x86.exe (which failed stating that it had failed to migrate dependant packages), even the above hotfix that failed during the automated install, (KB900325) installed ok. Anyway...media centre now run's, although it now crashes out when I try to close it, this should be the same case for you too. I don't know however, which hotfix actually enabled media centre to run as I didn't try to run it after every hotfix. You should now reboot your machine and visit Windows Update.

This will then download two updates, KB910393 and KB913446. Then reboot your machine again. Now back to the one hotfix that failed earlier, to sort this you will need to go to; Start/run/appwiz.cpl . Make sure the updates box is checked. Scroll down to Windows XP – Software updates. Remove the file KB904706 (it will prompt you that it is not advised as certain files/programs depend on it) and then go back to the folder where you extracted the rollup to and install KB891593, it should now install fine.

You will then need to download and install the update KB904706 again. Then go to Windows Update and install the latest update KB912067. Reboot your machine and everything should work fine!
I personally thought that I’d never manage to fix it but I have.


Please be a GeekPolice fan on Facebook!



Have we helped you? Help us! | Doctor by day, ninja by night.

Doctor Inferno
The GeekPolice


The GeekPolice

Posts : 12017
Joined : 2007-12-27
Operating System : Windows 7 Home Premium and Ultimate X64

View user profile http://twitter.com/GeekPolice

Back to top Go down

Solved Re: ehshell.exe - strong name validation failed

Post by duochase on Sun 15 Jun 2008, 5:09 am

Can you send me all the downloads you had to repair this? i need them, cause i have no idea what you are telling me haha, thanks.

duochase

Unborn
Unborn

Posts : 4
Joined : 2008-04-09

View user profile

Back to top Go down

Solved Re: ehshell.exe - strong name validation failed

Post by Doctor Inferno on Sun 15 Jun 2008, 2:39 pm

duochase wrote:Can you send me all the downloads you had to repair this? i need them, cause i have no idea what you are telling me haha, thanks.


First download the WindowsXPMediaCenter2005-KB900325-usa.exe

After downloading, extract the file WindowsXPMediaCenter2005-KB900325-usa.exe to a folder using WinRAR (Click the link to install. Then right click on the file 'WindowsXPMediaCenter2005-KB900325-usa.exe' and do 'extract to' under the winrar menu).

Then manually installed all of the hotfix’s individually. Except one which is WindowsXP-KB891593-x86.exe

Media centre will now be able to run, although it crashes out when you try to close it, you should now reboot your machine and visit Windows Update.

This will then download two updates, KB910393 and KB913446. Then reboot your machine again. Now back to the one hotfix that failed earlier, to sort this you will need to go to; Start >> run >> type in appwiz.cpl . Make sure the updates box is checked. Scroll down to Windows XP – Software updates. Remove the file KB904706 (it will prompt you that it is not advised as certain files/programs depend on it) and then go back to the folder where you extracted the rollup to and install KB891593, it should now install fine.

You will then need to download and install the update KB904706 again. Then go to Windows Update and install the latest update KB912067. Reboot your machine and everything should work fine!


Please be a GeekPolice fan on Facebook!



Have we helped you? Help us! | Doctor by day, ninja by night.

Doctor Inferno
The GeekPolice


The GeekPolice

Posts : 12017
Joined : 2007-12-27
Operating System : Windows 7 Home Premium and Ultimate X64

View user profile http://twitter.com/GeekPolice

Back to top Go down

Solved Re: ehshell.exe - strong name validation failed

Post by Sponsored content Today at 11:21 pm


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum