This project is read-only.

Problems when viewing podcast detail

Oct 31, 2008 at 7:42 PM
I upload a .wmv file and it creates a thumbnail fine as well as identify the correct file size.  When I go to the podcast detail page I get the following error:

An unexpected error hasoccurred.

WebParts Maintenance Page: If you have permission, you can use this page totemporarily close Web Parts or remove personal settings. For more information,contact your site administrator.

Troubleshoot issues withWindows SharePoint Services.

I can see no errors in the sharepoint logs.  Also, the ratings don't seem to show up when adding or editing content but the RatingStore created properly and the data source was updated as appropriate and permissions were given to the App Pool identity to be dbo.

Nov 1, 2008 at 5:32 PM
Hi calvin940, can you enable verbose logging to get a better idea of where the issue could be?
Have you also deployed to the root of the web site?
Nov 5, 2008 at 6:13 PM
When I put logging in verbose I see:

11/05/2008 13:05:55.60  w3wp.exe (0x11A0)                               0x12D0  Windows SharePoint Services     General
                        8nca    Verbose         Application error when access /Pages/PodcastDetail.aspx, Error=The remot
e server returned an error: (401) Unauthorized.   at System.Net.HttpWebRequest.GetResponse()     at Microsoft.MSIT.Ratin
gs.Web.RatingsFieldHelper.GetWebResponse(String httpAddress)     at Microsoft.MSIT.Ratings.Web.WebParts.ContentRatingRes
ults.CreateChildControls()     at System.Web.UI.Control.EnsureChildControls()     at System.Web.UI.Control.PreRenderRecu
rsiveInternal()     at System.Web.UI.WebControls.WebParts.WebPart.PreRenderRecursiveInternal()     at System.Web.UI.Cont
rol.PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Control.
PreRenderRecursiveInternal()     at System.Web.UI.Control.PreRenderRecursiveInternal()     at System.Web.UI.Page.Process

I am not sure why I would be getting the unauthorized.

I created a user and added them into:

·        The person performing the installation needs tobe:

o  A Site Collection Administrator.

o  A member of the site owners group.

o  An administrator of the Shared Services sitecollection. You can find the Shared Services site from the SharePoint 3.0Central Administration page.

and that user is also the app pool identity so this error should not be due to any of that.

Any help you can provide would be excellent.


Nov 5, 2008 at 10:31 PM
Hi, Andy

Couple of additional things to try:


-> Double check the application pool identity for the web application is a privileged user.

-> Verify that both the app pool identity and signed in user both can access to the Content Rating \ Skins \ Raters Document Library.


Nov 6, 2008 at 4:58 PM
Doublechecked and confirmed on all accounts. I created a user called podcast_admin and put that person in the administrators group on the machine as well as in the areas identified in the documentation including the idenitiy for the app pool.  That is also the user that uploaded the content as well. Item shows up in podcasts, Thumbnail works fine, click for details and get that unauthorized error.  Also when I go into the view all site content  for podcasts (/PKS Podcasts/AllItems.aspx) I get unable to load configuration settings and the verbose logging also shows the same unauthorized error.  

I saw references to this same error in a previous discussion also with no resolution.  I am not sure what else to try here.  We are doing this test install as a proof of concept for a client of ours and unfortunately will not be able to recommned its use until I can solve this issue.  Any other suggestions welcome.


Nov 7, 2008 at 5:10 PM
Hi Andy -

I know this isn't what you want to hear, but it still really seems like some permission related issue. Can you sign onto the server with the account you have setup for the app pool, dbo access, and a SharePoint administrator?

As far as the ratings and comments, double check your connection string via Central Admin, the Content Ratings Store Configuration Settings List (see the install document)

Nov 7, 2008 at 5:27 PM
- I can sign into the server with this new account I have created and can do anything priviledged.  I put the account in the Administrators group and have full control of the machine.
- I can sign into Central Admin and see all the same items and perform configurations like any other priviledged account
- I have explicitly added this user to each of the Sharepoint groups (even when BUILTIN\Administrators was already present).
- I have added the user to all WPG and IIS groups as well (even when BUILTIN\Administrators was already present).
- Verified and re-verified that the this user is DBO in the database for the RatingStore DB and that I can login to the SQL Server instanance as that user and have full access.
- Verified and re-verified that the this user is the app pool entity.

Not sure what more I can do here.

Nov 7, 2008 at 6:48 PM

Another thing to try:


Try browsing to these links and post the results





Replace {csId} and {itemId} from the query string




Nov 7, 2008 at 7:37 PM
  <message>This item does not exist in the rating store.</message> 

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="" >
<xsl:template match="/" >
<div style="height:10px">
<script type="text/javascript" language="javascript">
var r = 0;
var c = 0;

<!-- COMMENTS -->
<table border="0" cellspacing="0" cellpadding="0">
<td style="width:6px;">
<img src="/Style Library/PodcastingKit/Images/nav_header_01.gif" alt="" border="0" />
<!--<td class="am_comment_leftbar" > </td>-->
<!--<td class="am_comment_bar">-->
<td style="background: url('/Style Library/PodcastingKit/Images/nav_header_02.gif') repeat-x ; padding-left: 9px; width:500px">
<span style="font-size:9pt;font-weight:bold;">
<xsl:attribute name="id">
<xsl:value-of select="'spanCommentsBarTitle'" />
<!--<td class="am_comment_rightbar"></td>-->
<td style="width:6px;">
<img src="/Style Library/PodcastingKit/Images/nav_header_03.gif" alt="" />
<br />

<div align="left" style="width:100%;padding-left:12px">
<div style="width: 90%" align="left">
<table width='100%' border='0' cellspacing='2' cellpadding='2'>
<xsl:apply-templates select="RatingCollection/ratings">
<xsl:with-param name="MaxNumOfRows" select="999" />

<script type="text/javascript" language="javascript">
if (c == 0){c = "None";}

document.getElementById("spanCommentsBarTitle").innerHTML="Comments (" + c + ")";
<xsl:template match="Rating" name="Rating">
<xsl:param name="MaxNumOfRows" select="100" />

<script type="text/javascript" language="javascript">
<xsl:if test="string(comment)">
<script type="text/javascript" language="javascript">
<table border="0" cellspacing="0" cellpadding="0" style="width: 100%;">
<td style="font-weight: bold;">
<xsl:value-of select="userAccount/displayName" />
<xsl:if test="string(userAccount/jobRole)">
| <xsl:value-of select="userAccount/jobRole" />
<td align="right" style="font-weight: bold;">
Rating Given <xsl:value-of select="rating" />/5
<td colspan="2"  style="width: 100%;line-height:15px" align="left">
<br />
<div style="width: 95%;" align="left">
<xsl:value-of select="comment" />
<br />
<br />