Media Encoder service fails to start

Oct 7, 2009 at 5:14 PM

Win2k3 Server, August release with Media Encoder 3

I can´t get the service running. Already checked nearly everything the last hours. Account is ok and have enough privilges. Sharepoint Config Lists seems be also ok.

Does anyone has an hint for me? Thanks a lot!

---Config.log

[07.10.2009 19:05:31] Reading configuration...
[07.10.2009 19:05:31] configWeb=http://pks
[07.10.2009 19:05:31] configList=PKS Configuration Settings
[07.10.2009 19:05:31] externalStoresList=PKS Media Encoder Monitor Locations
[07.10.2009 19:05:31] Loading configuration from list web service...
[07.10.2009 19:05:31] Configuration web service for 'PKS Configuration Settings' request failed.
[07.10.2009 19:05:31] Loading external file stores from list web service...
[07.10.2009 19:05:31] External file stores web service request failed.
[07.10.2009 19:05:31] Loading auto encode from list web service...
[07.10.2009 19:05:31] Auto encode web service request failed.

 

---Encoder.log

[07.10.2009 19:05:31] Error[LoadConfiguration]: Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.
StackTrace:
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at MediaEncoderService.Lists.Lists.GetListItems(String listName, String viewName, XmlNode query, XmlNode viewFields, String rowLimit, XmlNode queryOptions, String webID)
   at MediaEncoderService.ListWebService.LoadConfiguration(String listName, String& rawXML, Hashtable& configuration)

[07.10.2009 19:05:31] Error[LoadExternalStores]: Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.
StackTrace:
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at MediaEncoderService.Lists.Lists.GetListItems(String listName, String viewName, XmlNode query, XmlNode viewFields, String rowLimit, XmlNode queryOptions, String webID)
   at MediaEncoderService.ListWebService.LoadExternalStores(String listName, String& rawXML, DataTable& configuration)

[07.10.2009 19:05:31] Error[LoadExternalStores]: Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.
StackTrace:
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at MediaEncoderService.Lists.Lists.GetListItems(String listName, String viewName, XmlNode query, XmlNode viewFields, String rowLimit, XmlNode queryOptions, String webID)
   at MediaEncoderService.ListWebService.LoadAutoEncode(String listName, String& rawXML, DataTable& auto)

[07.10.2009 19:05:31] Setting up file system monitor...

 

---Config

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <system.serviceModel>
        <bindings />
        <client />
    </system.serviceModel>
    <appSettings>
        <add key="configWeb" value="http://pks" />
        <add key="configList" value="PKS Configuration Settings" />
        <add key="externalStoresList" value="PKS Media Encoder Monitor Locations" />
    </appSettings>
</configuration>

 

 

Nov 30, 2009 at 9:01 AM

Hi Fonzii,

From the error pasted above, it seems that you have not updated your PKS application name in few configuration and used the default name "pks". If this is the case then you need to update the following:

Verify that "C:\Program Files\PKS\Media Encoder Service\MediaEncoderService.exe.config" has proper value for

<add key="configWeb" value="http://<site name>" />

 Verify that PKS Media Encoder Monitor Loactions list has proper entries

Title                                       <title>  

WebID                                  <web id>

ListID                                     <listid>  

WebURL                              http://<sitename>  

BaseURL                              http://<sitename>/UploadFolder  

ListName                             PKS Podcasts  

DurationField                    Duration  

DurationSecondsField   DurationSecondsField  

EfsField                                NFS Xml Blob 

 

 

Also go to PKS Configuration Settings  list on the site:

 

a. Verify the entries for MediaEncoder.MonitorPath .(It should point to your location of External File Store. Example: C:\UploadFiles)

b. Verify the entries for MediaEncoder.MonitorWeb (It should point to root of your PKS site collection. Example: http://pksdemo3 )

 Restart the service. It should work now.

Hope this helps.

Dec 1, 2009 at 5:07 PM

Hi Paragk,

I have the same problem as shown by the logs.  I checked everything you suggested and restarted the service but the problem remains?  Are there any other things that I should check?

When I click "Make it compatible with Silverlight" on the right-bottom corner, I get a JavaScript error: 'length' is null or not an object from the following line:

if (filePath.length < 64)

Thanks!

 

config.log:

[12/1/2009 12:56:23 PM] Reading configuration...
[12/1/2009 12:56:23 PM] configWeb=http://usdvreng01:39619/
[12/1/2009 12:56:23 PM] configList=PKS Configuration Settings
[12/1/2009 12:56:23 PM] externalStoresList=PKS Media Encoder Monitor Locations
[12/1/2009 12:56:24 PM] Loading configuration from list web service...
[12/1/2009 12:56:24 PM] Configuration web service for 'PKS Configuration Settings' values have changed.
[12/1/2009 12:56:24 PM] Loading external file stores from list web service...
[12/1/2009 12:56:24 PM] External File Stores web service values have changed.
[12/1/2009 12:56:24 PM] Adding section 3aca66ea-b3b6-427f-bc2f-c8abbcf736e2f529b8e4-9f33-428a-b342-2d8d8b8b7ea7
[12/1/2009 12:56:24 PM] Loading auto encode from list web service...
[12/1/2009 12:56:24 PM] Auto encode web service request failed.
[12/1/2009 12:56:25 PM] Progress[configTimer_Tick]: Re-reading configuration
[12/1/2009 12:56:25 PM] Loading configuration from list web service...
[12/1/2009 12:56:25 PM] Configuration web service for 'PKS Configuration Settings' values are unchanged.
[12/1/2009 12:56:25 PM] Loading external file stores from list web service...
[12/1/2009 12:56:25 PM] External File Stores web service values are unchanged.
[12/1/2009 12:56:25 PM] Loading auto encode from list web service...
[12/1/2009 12:56:25 PM] Auto encode web service request failed.

encoder.log:

[12/1/2009 12:56:24 PM] Error[LoadExternalStores]: No configuration values found

[12/1/2009 12:56:24 PM] Setting up file system monitor...
[12/1/2009 12:56:25 PM] Error[LoadExternalStores]: No configuration values found

[12/1/2009 12:58:05 PM] GetListItem entered
[12/1/2009 12:58:06 PM] Error[GetListColumnNames]: Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.
StackTrace:
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at MediaEncoderService.Lists.Lists.GetList(String listName)
   at MediaEncoderService.ListWebService.GetListColumnNames(String listName)

[12/1/2009 12:58:07 PM] Error[fileSystemWatcher_Created]: Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.
StackTrace:
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at MediaEncoderService.Lists.Lists.GetListItems(String listName, String viewName, XmlNode query, XmlNode viewFields, String rowLimit, XmlNode queryOptions, String webID)
   at MediaEncoderService.ListWebService.GetListItem(String itemId, String listName)
   at MediaEncoderService.PKSListItem..ctor(String path, MEConfig meConfig, Recode Recoder)
   at MediaEncoderService.MediaEncoderService.ActOnNewFile(String fullPath)

 

 

Dec 1, 2009 at 5:34 PM

I am wondering if another problem is related to this - the look of the Podcasting site looks exactly the same after all the changes related to dark skin have been made following the Installation and Configuration Guide for PKS.   In other words, it still looks light not dark.

Dec 2, 2009 at 1:27 PM
Edited Dec 2, 2009 at 1:32 PM

I found that the direct cause of the error generated by clicking "Make it compatible with Silverlight" is the page lacks a <div> with ID "divPodcastFilesXml".