Media Encoder and PKS on Subsite issue.

May 10, 2010 at 4:49 AM

Hi developers, I am having a hard time with Media Encoder.. I am trying to install PKS on Subsite. So far all the installation has been done by following Installation and Configuration Guide on Sub Site.docx.

Cut the story short, I was able to upload my video successfully into folder, but no thumbnail, size and duration were generated. No Csid generated in PKS Podcasts list as well. So the issue must be with Media Encoder.

I have expression encoder 2.0 and media encoder for expression 2.0 installed in my pc.

When i changed configWeb value to http://windows2003:1983 (rootsite) in MediaEncoderService.exe.config and start the service; the service stopped and the config.log show this message,

[5/10/2010 11:59:46 AM] Reading configuration...
[5/10/2010 11:59:46 AM] configWeb=http://windows2003:1983
[5/10/2010 11:59:46 AM] configList=PKS Configuration Settings
[5/10/2010 11:59:46 AM] externalStoresList=PKS Media Encoder Monitor Locations
[5/10/2010 11:59:52 AM] Loading configuration from list web service...
[5/10/2010 11:59:53 AM] Configuration web service for 'PKS Configuration Settings' request failed.
[5/10/2010 11:59:53 AM] Loading external file stores from list web service...
[5/10/2010 11:59:54 AM] External File Stores web service values have changed.
[5/10/2010 11:59:54 AM] Adding section 7f57898e-5a2e-4cfc-bf00-f34dceaa12fb766fbc46-6302-4db9-bb3f-3e7c0f4c89d7
[5/10/2010 11:59:54 AM] Loading auto encode from list web service...
[5/10/2010 11:59:54 AM] Auto encode web service request failed.

and when i changed configWeb value to http://windows2003:1983/pks (subsite) in MediaEncoderService.exe.config and start the service; the service started BUT the config.log show this message.

[5/10/2010 12:17:38 PM] Reading configuration...
[5/10/2010 12:17:38 PM] configWeb=http://windows2003:1983/pks
[5/10/2010 12:17:38 PM] configList=PKS Configuration Settings
[5/10/2010 12:17:39 PM] externalStoresList=PKS Media Encoder Monitor Locations
[5/10/2010 12:17:44 PM] Loading configuration from list web service...
[5/10/2010 12:17:45 PM] Configuration web service for 'PKS Configuration Settings' values have changed.
[5/10/2010 12:17:45 PM] Loading external file stores from list web service...
[5/10/2010 12:17:46 PM] External file stores web service request failed.
[5/10/2010 12:17:46 PM] Loading auto encode from list web service...
[5/10/2010 12:17:46 PM] Auto encode web service request failed.
[5/10/2010 12:17:49 PM] Progress[configTimer_Tick]: Re-reading configuration
[5/10/2010 12:17:49 PM] Loading configuration from list web service...
[5/10/2010 12:17:49 PM] Configuration web service for 'PKS Configuration Settings' values are unchanged.
[5/10/2010 12:17:49 PM] Loading external file stores from list web service...
[5/10/2010 12:17:49 PM] External file stores web service request failed.
[5/10/2010 12:17:49 PM] Loading auto encode from list web service...
[5/10/2010 12:17:50 PM] Auto encode web service request failed.

I also found out that my PKS Configuration Setting list was installed in my subsite, while my PKS Media Encoder Monitor Locations list was installed in my rootsite.

My questions are:

1) What configWeb url should i put in MediaEncoderService.exe.config?
2) Why my PKS Configuration Setting list and PKS Media Encoder Monitor Locations list installed separately (one in rootsite and one in subsite)?
3) Is this the reason why my Csid not generating?

Thanks.

~Leybra

May 11, 2010 at 1:14 PM

Hi Leybra,

Here you go.

1) What configWeb url should i put in MediaEncoderService.exe.config?

You need to provided the Root site URL.


2) Why my PKS Configuration Setting list and PKS Media Encoder Monitor Locations list installed separately (one in rootsite and one in subsite)?

The PKS Media Encoder Monitor Locations list is being used by the Media Encoder service needs to be on the root site. This is by design. However the PKS Configuration Settings list is created on the root site as well as the sub-site. The MonitorWeb parameter for the root site list contains the URL of the root site .e.g. http://PKS where as the MonitorWeb parameter for the sub-site list contains the URL of the sub-site e.g. http://pks/subsite.

3) Is this the reason why my Csid not generating?

You need to:

a. Ensure that correct values are provided in the MediaEncoderService.exe.config file.

b. Ensure that entry has been made for your PKS list (of the sub-site) in “PKS Media Encoder Monitor Locations” list.

c. Ensure that correct values are provided in PKS Configuration Setting on sub-site.

Hope this helps.

-Parag

May 31, 2010 at 9:32 AM

Hi paragk, thanks for the response u gave. :)

For ques no 2, I have rechecked and confirmed that the PKS Configuration Settings list only exist in sub-site. There is no PKS Configuration Settings list in rootsite. I have try to re-install the PKS for subsite to different machine, and the result still same. <!--l version="1.0" encoding="utf-8"-->

 

MediaEncoderService.exe.config

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

 

PKS Media Encoder Monitor Locations list (exist only at rootsite)

WebURL : http://www.myrootsite.com/mysubsite
BaseURL : http://www.myrootsite.com/_layouts/NetworkFileStore/UploadFolder

 

PKS Configuration Setting list (exist only at subsite)

MediaEncoder.MonitorPath   : C:\UploadFiles
MediaEncoder.MonitorWeb  : http://www.myrootsite.com/_layouts/NetworkFileStore/UploadFolder

 

Is there anyone out there that successfully installed PKS for subsite? Perhaps you guys can share. Thanks.

~Leybra

Jun 8, 2010 at 12:00 AM

After a long struggle, at last i able to start my media encoder service. For subsite, you have to make sure to have both PKS Configuration Settings list exist in root site and sub site. If it is not, then you have to copy from one site to another (in my case, from subsite to rootsite).

Thanks parag for gimme the hint ;)

~Leybra