This project is read-only.

Having a few issues even getting this working.

Mar 11, 2010 at 4:51 PM

Rather than creating a few different threads I thought I'd post my problems in one thread;

I've installed the Aug 09 beta on a development install of SharePoint 2007 (patched up to and inc. Dec updates). This is running on Windows Server 2008 R2 with SQL Server 2008 as the db server. I've been through the instructions and set everything up as per the instructions. I've installed Expression Encoder 3.0 and can open it OK, I have the Desktop Experience feature enabled. I am having the following difficulties;

1. I can upload files ok (I used the podcasts on the 3Sharp sample site) and they are being uploaded to the correct folder. The Silverlight upload functionality works fine. However, no thumbnail or duration statistics are generated. On reviewing the encoder log file the following is shown in relation to the uploaded file;

[11/03/2010 14:18:05] GetListItem entered
[11/03/2010 14:18:07] Item created: %7b1349e1d2-3e26-4645-a9ed-e5f3d0635323%7d%40%7b98519550-7ffb-47e0-946f-9425ccab212a%7d@3
[11/03/2010 14:18:07] Item isPrimary...
[11/03/2010 14:18:07] GenerateThumbnail() entered...
[11/03/2010 14:18:07] Video file type supported...
[11/03/2010 14:18:07] executing recoder.Thumbnail()...
[11/03/2010 14:18:07] Error[fileSystemWatcher_Created]: Could not load file or assembly 'Microsoft.Expression.Encoder, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
   at MediaEncoderService.Recode.Thumbnail(String mediaPath, String outputPath, TimeSpan& duration)
   at MediaEncoderService.PKSListItem.GenerateThumbnail()
   at MediaEncoderService.MediaEncoderService.ActOnNewFile(String fullPath)

Which is strange because Expression Encoder appears to be installed fine and the Microsoft.Expression.Encoder assembly is in the Windows assembly folder. The podcast details page for the podcast doesn't allow me to play it, only record comments. If I try to use the Generate Thumbnail or Make it compatiable with Silverlight options, I get the following javascript error in the PKS-Script.js file;

Message: 'length' is null or not an object

If I go to the PKS Podcasts lists, a popup states Unable to retireve configuration settings.

I'm assuming all of the above are related which is why I've put them all together.

2. When I get to the part of the instructions detailing how to setup the Metadata propery mappings, some of the items are not available for mapping, even after doing a full index. Initially even the ows_AuthorID property wasn't available and then I performed a full index an it appeared. However some of them still aren't available, such as CsId.

I may encounter more problems as it seems to be a very fragile package but I can't even get the basics working currently, so I'd appreciate any advice to get me up and running.


Mar 11, 2010 at 10:37 PM

OK, so I deleted everything and started from scratch.

I'm now getting thumbnails, filesizes and I can watch the video from the Podcast Details page. However the following problems still exist;

  1. no duration is being generated
  2. when navigating to the podcast details page, a popup declares "Unable to retrieve configuration settings"
  3. Ratings are enabled but the control to add a rating isn't shown on the podcast details pages. The stars are shown on the home page but their "read-only"
  4. The download counter isn't increasing when a podcast is downloaded.
  5. The link for downloading a podcast points directly to it in the uploadfolder (e.g., it should point to a download.aspx page should it not?


Mar 11, 2010 at 11:37 PM


  1. This appears to be fixed however it doesn't "fix" existing media, only newly uploaded items.
  2. Fixed this by giving the PKS application pool account dbo in the SharePoint_Admin database.
  3. This was also resolved by the fix for item 2. I was also getting an error (error occured with Rating Service) when trying to rate a podcast. Not sure what's causing this but I changed the web.config to debug mode and it's suddenly fixed the issue! Although this then stopped the Silverlight uploader from showing so I switched it back
  4. This seems to be fixed also.
  5. This is still the same although the counter is now working. So am I right, should the link for downloading a podcast be to a download.aspx page? Or should it show the link directly to it in the upload folder?
Apr 1, 2010 at 5:50 PM
Edited Apr 1, 2010 at 5:51 PM


May I ask how do you "put the PKS application pool account dbo in the SharePoint_Admin database." ? I use the same user like <server>/administrator to load everything including creating all the db, so I assume it will have all ther permission.  I aslo had some issues with the August beta, I am not sure this will be part of the reasons or not.

I am installing PKS August beta with SP 2007 on windows server 2003.  Will PKS work on windows server 2008?



May 3, 2010 at 12:30 PM

@mparter -  the download link format is correct.

@yytong - Yes, PKS is supported on Windows Server 2008.

May 4, 2010 at 9:56 AM
Edited May 4, 2010 at 1:18 PM

I've got the stuff running now. It takes the *.wmv files, but doesn't take for example the *.mp4 video's. This is what my encode.log comes up with:

[5/4/2010 2:15:07 PM] GetListItem entered
[5/4/2010 2:15:10 PM] Item created: %7bbbb2b52c-4f3d-4beb-b71b-34d68867f4f4%7d%40%7b724c46e2-7405-4f02-9ef9-86ec76552c0b%7d@17
[5/4/2010 2:15:10 PM] Item isPrimary...
[5/4/2010 2:15:10 PM] GenerateThumbnail() entered...
[5/4/2010 2:15:10 PM] Video file type supported...
[5/4/2010 2:15:10 PM] executing recoder.Thumbnail()...
[5/4/2010 2:15:17 PM] Thumbnail generated...
[5/4/2010 2:15:17 PM] Thumbnail created...
[5/4/2010 2:15:18 PM] Update[UpdateListItem] 0x00000000
[5/4/2010 2:15:18 PM] New item values calculated...
[5/4/2010 2:15:18 PM] Error[RunAutoEncode]: could not find a preset with name matching name parameter
   at Microsoft.Expression.Encoder.Preset.FindSystemPreset(String resourceName)
   at Microsoft.Expression.Encoder.Presets.get_H264iPodClassicNano()
   at MediaEncoderService.Recode.GetPreset(String profile)
   at MediaEncoderService.Recode.Encode(String mediaPath, String outputPath, String fileFormat, String profile)
   at MediaEncoderService.PKSListItem.RunAutoEncode()

[5/4/2010 2:15:18 PM] Auto encode rules have been run...
[5/4/2010 2:15:18 PM] GetListItem entered
[5/4/2010 2:15:19 PM] Item created: %7bbbb2b52c-4f3d-4beb-b71b-34d68867f4f4%7d%40%7b724c46e2-7405-4f02-9ef9-86ec76552c0b%7d@17
[5/4/2010 2:16:51 PM] GetListItem entered