none
No streaming on W2012R2-DC with WSE 2012 R2 Role.

    Question

  • My Win Server 2012 R2 DC with Windows Server Essentials Role is unable to offer Streaming Media Services.

    The DC is part of a 2012 R2 Domain.

    Steps taken to enable the WSE Role:

    - Added Desktop Experience & Indexing Services & Restarted.

    - Added WSE Role and restarted.

    - Continued-Finished the WSE Role Setup & Restarted.

    - Added MediaAdmin & ServerAdmin to Default DCs GPO & restarted (& made sure GPO was applied w/rsop).

    - Installed WSE Media Pack.

    At some point the WSE Media Pack requests a Restart.

    After restarting, Dashboard -> Settings shows NO "media" Options.

    Further Details:

    - Firewall is off.

    MediaStreamingProvider.log extract:

    ---------------------------------------------------------

    [3456] 140104.193810.1895: MediaStreamingProvider: Starting the Media Streaming Provider in service mode
    [6916] 140104.193810.2520: MediaStreamingProvider: ServiceShell.OnStart() starting
    [6916] 140104.193810.3770: StorageOM: StorageBacked created successfully.
    [6916] 140104.193810.6270: PfBinding: Information: [0] : Adding service dns identity [DC02] in proxy endpoint.
    [6916] 140104.193810.8145: StorageOM: Set connection identifier to 1
    [1800] 140104.193812.1270: StorageOM: Getting storage data from server
    [6916] 140104.193819.6724: MediaStreamingManager: IsMediaSharingEnabled called
    [6916] 140104.193819.6880: MediaStreamingManager: IsMediaSharingEnabled: CoCreateInstance returned with HResult 0x80040154.
    [3456] 140104.193819.6880: MediaStreamingProvider: Exiting the Media Streaming Provider

    MediaStreamingEnabler.4456.log extract:

    Microsoft.Windows.ServerEssentials.MediaStreamingEnabler.exe Information: 0 : Trying to enable media feature (iteration#0)...
        ThreadId=1
        DateTime=2014-01-04T08:11:06.7535061Z
    Microsoft.Windows.ServerEssentials.MediaStreamingEnabler.exe Information: 0 : PS> Import-Module -Name:WssCmdlets -Cmdlet:Set-WssMediaServerEnabled
        ThreadId=1
        DateTime=2014-01-04T08:11:06.8235071Z
    Microsoft.Windows.ServerEssentials.MediaStreamingEnabler.exe Information: 0 : PS> Set-WssMediaServerEnabled -Enable:True
        ThreadId=1
        DateTime=2014-01-04T08:11:07.8125061Z
    Microsoft.Windows.ServerEssentials.MediaStreamingEnabler.exe Error: 0 : Failed to enable Windows Server Essentials media feature.
    System.Management.Automation.CmdletInvocationException: The command Set-WssMediaServerEnabled cannot be invoked before Windows Server Essentials is successfully configured. Please finish configuring the server role first. ---> System.InvalidOperationException: The command Set-WssMediaServerEnabled cannot be invoked before Windows Server Essentials is successfully configured. Please finish configuring the server role first.
       at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
       --- End of inner exception stack trace ---
       at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
       at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke)
       at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync)
       at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
       at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
       at System.Management.Automation.PowerShell.CoreInvoke[TOutput](IEnumerable input, PSDataCollection`1 output, PSInvocationSettings settings)
       at Microsoft.Windows.ServerEssentials.MediaPack.MediaStreamingEnabler.Program.TryEnableMediaServer()
        ThreadId=1
        DateTime=2014-01-04T08:11:07.9635135Z

    PS C:\Users\Administrator> Get-WssConfigurationStatus

                           Status                     ErrorCode Message                                            Progress
                           ------                     --------- -------                                            --------
              FinishedWithWarning                             0 Windows Server Essentials ...                           100

    Help?

    Saturday, January 04, 2014 10:12 AM

All replies

  • It's not starting because the Windows Search service isn't started.

    Once I figured that out, I was able to manually start the service.

    Set the Windows Search service to Automatic, and Essentials Media Streaming Service to "Automatic (Delayed)", and the service will auto-start within 10 minutes (yes, a long time, I know), after first boot/reboot, and you'll then see "Media" option in the Dashboard Settings.



    Sunday, January 19, 2014 6:55 AM
  • My Search service is already set and set to automatic, so that was not my solution.  I am still trying to figure this out.  In short the Windows Essentials Media Streaming Service will not start.  This is a fresh build of 2008r2 with the Streaming Media Pack installed.  I have reinstalled the media pack without success.  My music/Pictures/Movies folders are created and populated with content.  I have gone as far as adding the MediaAdmin$ to domain admins to attempt to resolve possible permissions issues with no success either.

    Looking for other suggestions on how to get streaming working.

    Here is the relevant section from my MediaStreamingEnabler.6468 log:

    Microsoft.Windows.ServerEssentials.MediaStreamingEnabler.exe Information: 0 : Trying to enable media feature (iteration#0)...
        ThreadId=1
        DateTime=2014-02-05T02:23:27.8829508Z
    Microsoft.Windows.ServerEssentials.MediaStreamingEnabler.exe Information: 0 : PS> Import-Module -Name:WssCmdlets -Cmdlet:Set-WssMediaServerEnabled
        ThreadId=1
        DateTime=2014-02-05T02:23:27.8985939Z
    Microsoft.Windows.ServerEssentials.MediaStreamingEnabler.exe Information: 0 : PS> Set-WssMediaServerEnabled -Enable:True
        ThreadId=1
        DateTime=2014-02-05T02:23:28.1485707Z
    Microsoft.Windows.ServerEssentials.MediaStreamingEnabler.exe Error: 0 : Failed to enable Windows Server Essentials media feature.
    System.Management.Automation.CmdletInvocationException: Connecting to the Media Streaming Provider timed out. ---> Microsoft.WindowsServerSolutions.MediaStreaming.MediaStreamingProviderNotAvailableException: Connecting to the Media Streaming Provider timed out. ---> System.TimeoutException: Timeout occurred waiting for connection to complete.  Connection attempt is still in progress.
       at Microsoft.WindowsServerSolutions.Common.ProviderFramework.internal.ConnectorInternals.TimeoutWait`1.ThreadWaitHolder.WaitForTimeout(TimeSpan duration, ProviderConnector`1 providerConnector)
       at Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderConnector`1.WaitForConnection(TimeSpan duration)
       at Microsoft.WindowsServerSolutions.MediaStreaming.ProxyManager.get_MediaStreamingProxy()
       --- End of inner exception stack trace ---
       at Microsoft.WindowsServerSolutions.MediaStreaming.ProxyManager.get_MediaStreamingProxy()
       at Microsoft.WindowsServerSolutions.MediaStreaming.ProxyManager.<>c__DisplayClass2.<SetComputerMediaStreamingEnabled>b__1()
       at Microsoft.WindowsServerSolutions.MediaStreaming.ProxyManager.CallProxyMethod(Action action, String methodName, String[] parameters)
       at Microsoft.WindowsServerSolutions.MediaStreaming.MediaStreamingManager.SetMediaStreamingEnabled(Boolean enable)
       at System.Management.Automation.CommandProcessor.ProcessRecord()
       --- End of inner exception stack trace ---
       at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
       at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke)
       at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync)
       at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
       at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
       at System.Management.Automation.PowerShell.CoreInvoke[TOutput](IEnumerable input, PSDataCollection`1 output, PSInvocationSettings settings)
       at Microsoft.Windows.ServerEssentials.MediaPack.MediaStreamingEnabler.Program.TryEnableMediaServer()
        ThreadId=1
        DateTime=2014-02-05T02:23:58.3276963Z

    Here is the relvant section from the Dashboard.log

    ---------------------------------------
    An exception of type 'Type: System.Reflection.TargetInvocationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has occurred.
    Timestamp: 02/02/2014 16:45:49
    Message: Exception has been thrown by the target of an invocation.
    Stack:    at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
      at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
      at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
      at System.Activator.CreateInstance(Type type, Boolean nonPublic)
      at System.Activator.CreateInstance(Type type)
      at Microsoft.WindowsServerSolutions.Console.Dialogs.SettingsDialog.CreateSettingsTab(Type t)
    ---------------------------------------
    An exception of type 'Type: Microsoft.WindowsServerSolutions.Common.ServiceNotProgressingException, WssgCommon, Version=6.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' has occurred.
    Timestamp: 02/02/2014 16:45:49
    Message: The service 'WseMediaSvc' failed to start. The exit code was 0.
    Stack:    at Microsoft.WindowsServerSolutions.Common.ServiceUtility.NotifyServiceStatusChange(ServiceController svc, ServiceNotifications notifyMask, DateTime deadline)
      at Microsoft.WindowsServerSolutions.Common.ServiceUtility.WaitForMultipleStatus(ServiceController objSvc, DateTime deadline, ServiceControllerStatus[] statusArray)
      at Microsoft.WindowsServerSolutions.Common.ServiceUtility.ChangeObjectState(Methods method, ServiceController svc, DateTime deadline)
      at Microsoft.WindowsServerSolutions.Common.ServiceUtility.EnsureStarted(String serviceName, Int32 timeout)
      at Microsoft.WindowsServerSolutions.MediaStreaming.MediaStreamingSettingsControl.BeginRefresh()
      at Microsoft.WindowsServerSolutions.MediaStreaming.MediaStreamingSettingsData.InitializeMediaStreamingSettingsPage()


    Patrick

    Wednesday, February 05, 2014 2:50 AM
  • Any luck with this. I am in the same scenario and face the same issue.

    Kind regards,

    Wouter Pinkhof

    Wednesday, April 09, 2014 9:22 AM