Re: Media Center Crashes on Vista Ultimate - Bug



oh and if you still have UAC turned on you'll need to run that in an elevated command prompt.

Mike

"Michael Brown" <mike@xxxxxxxxxxx> wrote in message news:4DC2BBEE-E996-4951-B72F-FD2EB56B398B@xxxxxxxxxxxxxxxx
That error (0x8007007E) looks like some how a dll is either missing or unregistered. Try running this from a command prompt to re-register all the media center dlls.

for %a in (%windir%\ehome\*.dll) do regsvr32 %a /s

Mike

"Adam C" <Adam C@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:374E9DB0-7D09-4D75-8D81-91AECA38E567@xxxxxxxxxxxxxxxx
Hello,

I have been having a problem with Media Center on Vista. I have searched
the web for solutions but haven't found anything yet, I have also been in
contact with Microsot blogger Aaron Stebner, who has written some posts on
Media Center issues, but we haven't solved this yet.

When I open Media Center, the application starts just fine, and I see the
normal menu (pictures & videos, online media, tasks, etc.), then after about
5-10 seconds, Media Center will crash, and I get a vista error message saying
"Media Center has stopped working." I have tried many suggestions about
removing add-ins etc, but I do not have anything unusual there (other than
the standard windows add-ins, like solitare, etc.

I noticed an interesting fact though, whenever I click on "Extender" under
the settings menu, or "Add Extender" under the Tasks menu, or click the red
"X" in the top right to close, media center will crash instantly resulting in
the error message above. I did add my Xbox360 as an extender, but it was
working just fine, and I was able to stream videos and music ok. So
something must have happened when I closed the application the last time.
All of the other menu items work ok. But like I said, media center will
open, and appears to be working great, but then after about 10 seconds (maybe
its trying to connect to the extender or starting some services) it will
crash.

Is there a way to "repair" or reinstall the media center, kind of how one
would add/remove windows components?

I learned from Aaron Stebner that Media Center will produce a file called
"ehshell.crash" when it does in fact crash, I will copy the contents of that
file here for the 3 situations I have described above. I am hoping a
developer at Microsoft can look at these and might know what's going on and
how to fix it. Thanks!

1) When Media Center crashes as I click on the "entender" button under the
settings menu

---
Unhandled Exception - 12/16/2006 16:04:16
Message: The specified module could not be found. (Exception from HRESULT:
0x8007007E)
Exception:
System.IO.FileNotFoundException: The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
at MediaCenter.Options.OptionsHomePage.OnExtenderSettingsClick(Gadget
objTarget)
at ServiceBus.UIFramework.OpenItemEvent.Invoke(Gadget objTarget)
at ServiceBus.UIFramework.ListItem.OpenItem(InputArgs msg)
at MediaCenter.Options.HRefListItem.OpenItem(InputArgs msg)
at ServiceBus.UIFramework.ListItem.OnMouseUpEvent(MouseEventArgs msg)
at Microsoft.MediaCenter.UI.Gadget.OnMousePrimaryUpEvent(MouseEventArgs
msg)
at Microsoft.MediaCenter.UI.Gadget.OnMouseEvent(MouseEventArgs msg)
at Microsoft.MediaCenter.UI.Gadget.DeliverMouseEvent(Gadget g,
OurEventArgs args)
at Microsoft.MediaCenter.UI.Gadget.DispatchEvent(Gadget gadget,
EventDeliveryProc eventProc, OurEventArgs args, UInt32 stage, UInt32& status)
at Microsoft.MediaCenter.UI.OldUiZone.DeliverInputDirectWorker(Object
param)
at Microsoft.MediaCenter.UI.OldUiZone.DeliverInput(Object param,
EventRouteStages stage)
at Microsoft.MediaCenter.UI.UiSession.DeliverInputStageWorker(InputInfo
input, EventRouteStages stage, ArrayList route, Int32 i, Byte traceLevel)
at Microsoft.MediaCenter.UI.UiSession.DeliverInputWorker(ICookedInputSite
target, InputInfo info, EventRouteStages stages)
at
Microsoft.MediaCenter.UI.UiSession.Microsoft.MediaCenter.UI.Input.IInputHost.DeliverInput(ICookedInputSite target, InputInfo info)
at Microsoft.MediaCenter.UI.Input.InputItem.Dispatch()
at Microsoft.MediaCenter.UI.Dispatcher.MainLoopBody(Feeder feeder)
at Microsoft.MediaCenter.UI.Dispatcher.MainLoop(LoopCondition condition,
LoopBody body)
at Microsoft.MediaCenter.UI.Dispatcher.MainLoop(LoopCondition
loopCondition)
at Microsoft.MediaCenter.UI.Application.Run()
at ServiceBus.UIFramework.PageBasedUCPService.Run()
at ServiceBus.UIFramework.UserControlPoint.Launch(String args)
at
Microsoft.MediaCenter.Internal.LaunchMediaCenter.LaunchMediaCenterHelper()
---


2) When Media Center crashes on its own, after running for approximately
5-10 seconds.

---
Unhandled Exception - 12/17/2006 17:34:56
Message: The specified module could not be found. (Exception from HRESULT:
0x8007007E)
Exception:
System.IO.FileNotFoundException: The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
at ServiceBus.UIFramework.ExtenderNotify.RegisterForNotifications()
at
ServiceBus.UIFramework.PageBasedUCPService.DeferredExtenderNotifications()
at
ServiceBus.UIFramework.PageBasedUCPService.DeferredExtenderNotifications(Object notUsed)
at Microsoft.MediaCenter.UI.Application.DeferredInvokeItem.Dispatch()
at Microsoft.MediaCenter.UI.Dispatcher.MainLoopBody(Feeder feeder)
at Microsoft.MediaCenter.UI.Dispatcher.MainLoop(LoopCondition condition,
LoopBody body)
at Microsoft.MediaCenter.UI.Dispatcher.MainLoop(LoopCondition
loopCondition)
at Microsoft.MediaCenter.UI.Application.Run()
at ServiceBus.UIFramework.PageBasedUCPService.Run()
at ServiceBus.UIFramework.UserControlPoint.Launch(String args)
at
Microsoft.MediaCenter.Internal.LaunchMediaCenter.LaunchMediaCenterHelper()
---


3) When Media Center crashes as I click the close (red X) button on the top
right of the screen.

---
Unhandled Exception - 12/17/2006 17:39:11
Message: Exception has been thrown by the target of an invocation.
Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. ---> System.IO.FileNotFoundException: The
specified module could not be found. (Exception from HRESULT: 0x8007007E)
at ServiceBus.UIFramework.ExtenderNotify.UnRegisterForNotifications()
at ServiceBus.UIFramework.PageBasedUCPService.OnPreShutdown(Object
sender, EventArgs args)
at Microsoft.MediaCenter.UI.Form.ForceCloseWorker(FormCloseReason nReason)
at Microsoft.MediaCenter.UI.Form.OnCloseRequest(FormCloseReason nReason)
at ServiceBus.UIFramework.PageBasedUCPForm.OnCloseRequest(FormCloseReason
nReason)
at Microsoft.MediaCenter.UI.Form.RequestClose(FormCloseReason nReason)
at
ServiceBus.UIFramework.PageBasedUCPService.RequestClose(FormCloseReason
nReason)
at ServiceBus.UIFramework.RootGadget.HandleCommand(CommandCode code)
at ServiceBus.UIFramework.RootGadget.OnCommand(CommandInputEventArgs msg)
at
Microsoft.MediaCenter.UI.Gadget.OnInputCommandEvent(CommandInputEventArgs msg)
at Microsoft.MediaCenter.UI.Gadget.DeliverCommandEvent(Gadget g,
OurEventArgs args)
at Microsoft.MediaCenter.UI.Gadget.DispatchEvent(Gadget gadget,
EventDeliveryProc eventProc, OurEventArgs args, UInt32 stage, UInt32& status)
at Microsoft.MediaCenter.UI.OldUiZone.DeliverInputIndirectWorker(Object
param, Boolean fDown)
at Microsoft.MediaCenter.UI.OldUiZone.DeliverInput(Object param,
EventRouteStages stage)
at Microsoft.MediaCenter.UI.UiSession.DeliverInputStageWorker(InputInfo
input, EventRouteStages stage, ArrayList route, Int32 i, Byte traceLevel)
at Microsoft.MediaCenter.UI.UiSession.DeliverInputWorker(ICookedInputSite
target, InputInfo info, EventRouteStages stages)
at Microsoft.MediaCenter.UI.UiSession.FireCommandEvent(ICookedInputSite
site, Int32 isRemote, CommandCode command, Boolean fTwoFootCmd, Boolean fUp)
at Microsoft.MediaCenter.UI.UiSession.FireCommandEvent(ICookedInputSite
site, CommandCode command, Boolean fTwoFootCmd, Boolean fUp)
at ServiceBus.UIFramework.TwoFootToolBarHost.SendCommand(CommandCode cc)
at Microsoft.MediaCenter.Shell.ToolBarData.FireCommand(CommandCode cc)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[]
arguments, SignatureStruct& sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[]
arguments, Signature sig, MethodAttributes methodAttributes,
RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean
skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.MediaCenter.UI.Template.FastMethodInfo.Invoke(Object obj,
Object[] arArgs)
at Microsoft.MediaCenter.UI.ObjectPath.MethodOperations.Invoke(Object
instance, String stPath, Object[] arArgs)
at Microsoft.MediaCenter.UI.ObjectPath.Invoke(Object instance, Object[]
arArgs)
at
Microsoft.MediaCenter.UI.Template.InvokeMethodService.MethodInvoke(IVirtualPropertyObject
vpoHost, ObjectPath ipMethod, ObjectPath ipResult, Object objTransformer,
Object objOwner)
at Microsoft.MediaCenter.UI.Invoke.ApplyWorker(Object args)
at Microsoft.MediaCenter.UI.Application.DeferredInvokeItem.Dispatch()
at Microsoft.MediaCenter.UI.Dispatcher.MainLoopBody(Feeder feeder)
at Microsoft.MediaCenter.UI.Dispatcher.MainLoop(LoopCondition condition,
LoopBody body)
at Microsoft.MediaCenter.UI.Dispatcher.MainLoop(LoopCondition
loopCondition)
at Microsoft.MediaCenter.UI.Application.Run()
at ServiceBus.UIFramework.PageBasedUCPService.Run()
at ServiceBus.UIFramework.UserControlPoint.Launch(String args)
at
Microsoft.MediaCenter.Internal.LaunchMediaCenter.LaunchMediaCenterHelper()

Inner Exception:
System.IO.FileNotFoundException: The specified module could not be found.
(Exception from HRESULT: 0x8007007E)
at ServiceBus.UIFramework.ExtenderNotify.UnRegisterForNotifications()
at ServiceBus.UIFramework.PageBasedUCPService.OnPreShutdown(Object
sender, EventArgs args)
at Microsoft.MediaCenter.UI.Form.ForceCloseWorker(FormCloseReason nReason)
at Microsoft.MediaCenter.UI.Form.OnCloseRequest(FormCloseReason nReason)
at ServiceBus.UIFramework.PageBasedUCPForm.OnCloseRequest(FormCloseReason
nReason)
at Microsoft.MediaCenter.UI.Form.RequestClose(FormCloseReason nReason)
at
ServiceBus.UIFramework.PageBasedUCPService.RequestClose(FormCloseReason
nReason)
at ServiceBus.UIFramework.RootGadget.HandleCommand(CommandCode code)
at ServiceBus.UIFramework.RootGadget.OnCommand(CommandInputEventArgs msg)
at
Microsoft.MediaCenter.UI.Gadget.OnInputCommandEvent(CommandInputEventArgs msg)
at Microsoft.MediaCenter.UI.Gadget.DeliverCommandEvent(Gadget g,
OurEventArgs args)
at Microsoft.MediaCenter.UI.Gadget.DispatchEvent(Gadget gadget,
EventDeliveryProc eventProc, OurEventArgs args, UInt32 stage, UInt32& status)
at Microsoft.MediaCenter.UI.OldUiZone.DeliverInputIndirectWorker(Object
param, Boolean fDown)
at Microsoft.MediaCenter.UI.OldUiZone.DeliverInput(Object param,
EventRouteStages stage)
at Microsoft.MediaCenter.UI.UiSession.DeliverInputStageWorker(InputInfo
input, EventRouteStages stage, ArrayList route, Int32 i, Byte traceLevel)
at Microsoft.MediaCenter.UI.UiSession.DeliverInputWorker(ICookedInputSite
target, InputInfo info, EventRouteStages stages)
at Microsoft.MediaCenter.UI.UiSession.FireCommandEvent(ICookedInputSite
site, Int32 isRemote, CommandCode command, Boolean fTwoFootCmd, Boolean fUp)
at Microsoft.MediaCenter.UI.UiSession.FireCommandEvent(ICookedInputSite
site, CommandCode command, Boolean fTwoFootCmd, Boolean fUp)
at ServiceBus.UIFramework.TwoFootToolBarHost.SendCommand(CommandCode cc)
at Microsoft.MediaCenter.Shell.ToolBarData.FireCommand(CommandCode cc)

---


.


Quantcast