Windows Media Center fails to start with Vista and Visual Studio 2

Discussion in 'Windows Media Player' started by John, Nov 30, 2007.

  1. John

    John Guest

    In Vista, after installing Visual Studio 2008, Media Center no longer starts.
    ehshell.crash log file is below. Is anyone seeing this issue with .NET 3.5
    installed on Vista?

    Unhandled Exception - 11/30/2007 14:05:58
    Message: Common Language Runtime detected an invalid program.
    Exception:
    System.InvalidProgramException: Common Language Runtime detected an invalid
    program.
    at ServiceBus.UIFramework.RegistryConfig..ctor(String className,
    ConfigStoreClass store)
    at ServiceBus.UIFramework.UCPUserConfig..ctor()
    at ServiceBus.UIFramework.UCPUserConfig.get_UserConfig()
    at ServiceBus.UIFramework.PageBasedUCPService.OnRendererConnected(Object
    sender, EventArgs args)
    at Microsoft.MediaCenter.UI.UiSession.OnConnect(Object sender, EventArgs
    args)
    at Microsoft.MediaCenter.UI.RenderingSession.OnConnectionReady(Object
    sender, EventArgs args)
    at
    Microsoft.MediaCenter.UI.Remoting.RenderPort.Microsoft.MediaCenter.Protocols.Splash.Messaging.IRenderPortCallback.OnPingReply(RENDERHANDLE target)
    at
    Microsoft.MediaCenter.Protocols.Splash.Messaging.LocalRenderPortCallback.Dispatch_OnPingReply(RenderPort
    _priv_port, IRenderPortCallback _priv_target, Msg1_OnPingReply* _priv_pmsg)
    at
    Microsoft.MediaCenter.Protocols.Splash.Messaging.LocalRenderPortCallback.DispatchCallback(RenderPort
    port, IRenderHandleOwner owner, CallbackMessage* message)
    at
    Microsoft.MediaCenter.UI.Remoting.RenderPort.DispatchCallbackMessage(UInt32
    idCallback, CallbackMessage* message)
    at
    Microsoft.MediaCenter.UI.Remoting.RenderPort.ProcessMessageBuffer(BufferInfo*
    pBufferInfo, Void* pvBufferData)
    at
    Microsoft.MediaCenter.UI.MessagingSession.OnIncomingMessageBuffer(IntPtr
    pData, UInt32 hContext, BufferInfo* pBufferInfo, Void* pvBufferData)
    at Microsoft.MediaCenter.Interop.RenderApi.SpPeekMessage(MSG& msg, HWND
    hwnd, UInt32 nMsgFilterMin, UInt32 nMsgFilterMax, UInt32 wRemoveMsg,
    WorkResult& nResult)
    at Microsoft.MediaCenter.UI.Dispatcher.DispatchNextWin32Message(Boolean&
    fQuit)
    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()
     
    John, Nov 30, 2007
    #1
    1. Advertisements

  2. VS2008 is still Beta (Beta 2 right ?) I'd ask on the Beta newsgroups
    or report a possible bug/conflict there so somebody can act on it
    while it's still reproducible and not RTM

    I'll ask in one of the private MVP groups to see if anybody knows
    about that.

    Cheers - Neil
     
    Neil Smith [MVP Digital Media], Dec 3, 2007
    #2
    1. Advertisements

  3. John

    John Guest

    VS 2008 was just released, though I have discovered a fix. The file
    C:\Windows\assembly\GAC_MSIL\ehshell\6.0.6000.0__31bf3856ad364e35\ehshell.dll
    was corrupted on my system. It had the correct size and timestamp, but
    different contents then the original file. My problem was fixed by restoring
    the original file. Visual Studio 2008 does install new files in the GAC and
    pre-compiles to MSIL, but if no one else reports the issue then my problem
    was probably the result of file corruption on a system crash.
     
    John, Dec 4, 2007
    #3
  4. OK thanks for the feedback.

    Cheers - Neil

     
    Neil Smith [MVP Digital Media], Dec 4, 2007
    #4
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.