I'm getting a "Resource not found" when I click the "Home" button when I'm logged in as admin. If I login as a different user I'm not getting the error message.
When logging in as admin I'm re-directed to "/msgs/default.aspx?MessageID=57".
What build of CS2008 are you running. I was having a similar issue wihc was fixed when I upgraded to Build 4.0.30417. I think CS08 was originally released as build 4.0.30414 but a few days after that was released, a new build was issued with a few minor bug fixes.
If that doesn't fix your problem, do you have any disabled blogs. If you enable those does the homepage become visible again?
CS Documentation - now available in downloadable PDF form
My CS Site
I installed CS2008 from this file "CS2008_4[1].0.30417.1769.msi.zip".
I had one blog that I made private by clicking the "Make private" hyperlink. However, I returned the blog to public and only noticed the problem after the two actions.
Deleting the blot does not solve the problem.
Can you look in the exception log in Control Panel > Site Administration > Tools > Exception Logs and get the actual error occuring. To make your task easier, you may wish to force the error to occur once, and then sort the exception logs by Last Occured instead of Total Occurences. If you're not sure which is the exception you need to post, post the first three exceptions in your log when sorted as explained above.
I'm getting this exception in the "Tool" -> "Exceptions Report":
User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLRPath: /themes/leanandgreen/common/home.aspx as HTTP GETReferrer: /media/3/default.aspxMessage: MediaGallery not found: 23CommunityServer.Components.CSException: MediaGallery not found: 23at CommunityServer.MediaGalleries.Components.MediaGalleries.GetMediaGallery(Int32 sectionID, Boolean cacheable, Boolean allowNullReturn)at CommunityServer.MediaGalleries.Components.MediaGalleryApplication.GetSection(Int32 sectionID, Boolean throwExceptionIfNotFound)at CommunityServer.Data.SqlCommonDataProvider.GetFavoriteSections(Int32 userID)at CommunityServer.Components.Favorites.GetSections(Int32 userID, Boolean cacheable)at CommunityServer.Components.Favorites.GetSections(Int32 userID)at CommunityServer.Controls.SectionList.get_DataSource()at System.Web.UI.WebControls.Repeater.ConnectToDataSourceView()at System.Web.UI.WebControls.Repeater.OnLoad(EventArgs e)at CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.OnLoad(EventArgs e)at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
It seems the trouble is only related to the admin user.
Pages/gallery items/resources that display perfectly when either not logged in or logged in as a non "admin" user. However, the same pages/gallery items/resources produce the "Resource not found" page:
Example exception
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CPath: /themes/leanandgreen/media/post.aspx?PostID=60 as HTTP GETReferrer: /media/Message: MediaGallery not found: 23CommunityServer.Components.CSException: MediaGallery not found: 23at CommunityServer.MediaGalleries.Components.MediaGalleries.GetMediaGallery(Int32 sectionID, Boolean cacheable, Boolean allowNullReturn)at CommunityServer.MediaGalleries.Components.MediaGalleryApplication.GetSection(Int32 sectionID, Boolean throwExceptionIfNotFound)at CommunityServer.Data.SqlCommonDataProvider.GetFavoriteSections(Int32 userID)at CommunityServer.Components.Favorites.GetSections(Int32 userID, Boolean cacheable)at CommunityServer.Components.Favorites.GetSections(Int32 userID)at CommunityServer.Controls.FavoriteToggleButton.get_IsOn()at CommunityServer.Controls.ToggleButtonBase.BindDefaultContent(Control control, IDataItemContainer dataItemContainer)at CommunityServer.Controls.WrappedControlItemTemplate.WrappedControlItemTemplate_DataBinding(Object sender, EventArgs e)at System.Web.UI.Control.OnDataBinding(EventArgs e)at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)at System.Web.UI.Control.DataBind()at System.Web.UI.Control.DataBindChildren()at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)at System.Web.UI.Control.DataBind()at System.Web.UI.Control.DataBindChildren()at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)at System.Web.UI.Control.DataBind()at CommunityServer.Controls.WrappedContentBase.DataBind()at System.Web.UI.Control.DataBindChildren()at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)at System.Web.UI.Control.DataBind()at System.Web.UI.Control.DataBindChildren()at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)at System.Web.UI.Control.DataBind()at CommunityServer.Controls.WrappedContentBase.DataBind()at CommunityServer.Controls.ConditionalContent.DataBind()at CommunityServer.Controls.WrappedContentBase.OnPreRender(EventArgs e)at CommunityServer.Controls.ConditionalContent.OnPreRende
mulmad:It seems the trouble is only related to the admin user.
There was an issue in earlier versions of Community Server that could result in favorites being saved that no longer relate to an existing section (media gallery in this case).
Try executing the following SQL which should remove these orphaned favorites:
deletefrom cs_FavoriteSectionswhere FavoriteID in ( select FavoriteID from cs_FavoriteSections f left outer join cs_Sections s on f.SectionID = s.SectionID and f.ApplicationType = s.ApplicationType where s.SectionID is null )
This should correct the problem.
I just had this happen too. Strange! Any guesses Ben?
User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.14; .NE Path: /themes/stf/common/home.aspx as HTTP GET Referrer: /msgs/default.aspx?MessageID=57 Message: MediaGallery not found: 100 CommunityServer.Components.CSException: MediaGallery not found: 100 at CommunityServer.MediaGalleries.Components.MediaGalleries.GetMediaGallery(Int32 sectionID, Boolean cacheable, Boolean allowNullReturn) at CommunityServer.MediaGalleries.Controls.MediaGalleryControlUtility.GetCurrentMediaGallery(Control currentControl) at CommunityServer.MediaGalleries.Controls.MediaGalleryData.get_DataSource() at CommunityServer.Controls.ObjectDataBase.DataBind() at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) at CommunityServer.Controls.WrappedRepeater.CreateControlHierarchy(Boolean useDataSource) at CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) at CommunityServer.Controls.WrappedRepeater.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.Repeater.DataBind() at CommunityServer.Controls.WrappedRepeater.DataBind() at CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.DataBind() at CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at CommunityServer.Controls.WrappedContentBase.AddContentControls() at CommunityServer.Controls.WrappedContentBase.CreateControlHierarchy() at CommunityServer.Controls.WrappedContentBase.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at CommunityServer.Controls.WrappedContentBase
BTW Ben, in my case it is happening to everyone that wanders to this page and I'm using 4.0.30417.1769 and this just started happening.
I got same problem, and there is nothing in the FavoriteSection table?
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CPath: /themes/leanandgreen/common/home.aspx as HTTP GETReferrer: Message: Forum Forum Error in the application. does not exist. does not exist.CommunityServer.Components.CSException: Forum Error in the application. does not exist.at CommunityServer.Components.PermissionBase.RedirectOrException(CSExceptionType csEx)at CommunityServer.Controls.CSControlUtility.GetSection(Int32 sectionID, ApplicationType applicationType)at CommunityServer.Controls.CSControlUtility.GetSection(Int32 sectionID)at CommunityServer.Controls.CSControlUtility.GetCurrentSection(Control currentControl)at CommunityServer.Controls.CSControlUtility.GetCurrentHub(Control currentControl)at CommunityServer.Hubs.Controls.HubData.get_DataSource()at CommunityServer.Controls.ObjectDataBase.DataBind()at System.Web.UI.Control.DataBindChildren()at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)at System.Web.UI.Control.DataBind()at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem)at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource)at CommunityServer.Controls.WrappedRepeater.CreateControlHierarchy(Boolean useDataSource)at CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.CreateControlHierarchy(Boolean useDataSource)at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e)at CommunityServer.Controls.WrappedRepeater.OnDataBinding(EventArgs e)at System.Web.UI.WebControls.Repeater.DataBind()at CommunityServer.Controls.WrappedRepeater.DataBind()at CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.DataBind()at CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.OnLoad(EventArgs e)at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.Loa
Removing this section from the theme fixed it for me now.
<CSControl:PlaceHolder runat="server"> <DisplayConditions><CSControl:ApplicationPropertyValueComparison runat="server" ApplicationType="MediaGallery" ComparisonProperty="Enabled" Operator="IsSetOrTrue" /></DisplayConditions> <ContentTemplate> <div class="CommonContentBox Highlighted2"> <h4 class="CommonContentBoxHeader"><CSControl:ResourceControl runat="server" ResourceName="media" /></h4> <div class="CommonContentBoxContent"> <CSMedia:MediaGalleryPostList runat="server" ID="MediaInformation" ShowHeaderFooterOnNone="true"> <QueryOverrides PageSize="15" SortBy="PostDate" SortOrder="Descending" ApplicationType="Gallery" /> <HeaderTemplate><ul class="CommonContentBoxList"></HeaderTemplate> <ItemTemplate> <CSMedia:MediaGalleryPostData runat="server" Property="Subject" TruncateAt="50" LinkTo="View" Tag="LI" > <ContentTemplate> <CSMedia:MediaGalleryPostData runat="server" Property="Subject" LinkTo="View" Tag="Strong" TruncateAt="35" /><br /> <CSMedia:MediaGalleryPostViewer runat="server" ViewType="Preview" Width="100" Height="100" /> </ContentTemplate> </CSMedia:MediaGalleryPostData> </ItemTemplate> <NoneTemplate> <li><CSControl:ResourceControl runat="server" ResourceName="Home_NoFilesUploaded" /></li> </NoneTemplate> <FooterTemplate></ul></FooterTemplate> </CSMedia:MediaGalleryPostList> <CSControl:SectionMembershipList runat="server" ShowHeaderFooterOnNone="false"> <QueryOverrides QueryType="AccessingUserMembership" SectionApplicationType="MediaGallery" MembershipType="Owner" PageSize="5" PageIndex="0" /> <HeaderTemplate><ul class="CommonContentBoxList Seperator"></HeaderTemplate> <ItemTemplate> <CSMedia:MediaGalleryData LinkTo="MediaGalleryHome" Property="Name" runat="server" Tag="LI" style="font-weight: bold;" /> </ItemTemplate> <FooterTemplate></ul></FooterTemplate> </CSControl:SectionMembershipList> </div> <div class="CommonContentBoxFooter"> <CSControl:SiteUrl runat="server" UrlName="mediagallerieshome" ResourceName="Home_ViewAllMedia" /> </div> </div> </ContentTemplate> </CSControl:PlaceHolder>
Deleting the orphaned favories did the job (there was one).
Thanks for your help.
I just upgraded CS 2007 to CS 2008 and am getting the same problem accessing the Home page. When I am logged in as Admin it comes up fine. When I log in as a regular user I get the "Resource not Found" error. It only happens with the home page when logged in as a regular user. Forums, Blogs and Media all work fine. I tried the SQL to clear favorites but none were found.
Seems like enough people are having this problem that it's a bug somewhere since the problem didn't exist before I upgraded today.
Suggestions?
Rick
I've had this error twice. The first time was caused by having a disabled blog. The solution was to enable the blog, but to change the permissions so only SystemAdministrators and BlogAdministrators can see the blog.
The second time I'm getting this error is ongoing, but it's not happening consistently. On the homepage for a period of a few minutes, I will continually get the "Resource Not Found" error, but by the time I have a chance to investigate, the problem goes away.
By checking the CS Exception Log, I see the folowing exception
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CPath: /themes/calypso/common/home.aspx as HTTP GETReferrer: /msgs/default.aspx?MessageID=57Message: MediaGallery not found: 29CommunityServer.Components.CSException: MediaGallery not found: 29at CommunityServer.MediaGalleries.Components.MediaGalleries.GetMediaGallery(Int32 sectionID, Boolean cacheable, Boolean allowNullReturn)at CommunityServer.MediaGalleries.Controls.MediaGalleryControlUtility.GetCurrentMediaGallery(Control currentControl)at CommunityServer.MediaGalleries.Controls.MediaGalleryData.get_DataSource()at CommunityServer.Controls.ObjectDataBase.AddContentControls()at CommunityServer.Controls.WrappedContentBase.CreateControlHierarchy()at CommunityServer.Controls.WrappedContentBase.CreateChildControls()at System.Web.UI.Control.EnsureChildControls()at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)at System.Web.UI.Control.FindControl(String id)at Telligent.Glow.WebControlUtils.ᐁ(Control , String , Dictionary`2 )at Telligent.Glow.WebControlUtils.ᐁ(Control , String , Dictionary`2 )at Telligent.Glow.WebControlUtils.ᐁ(Control , String , Dictionary`2 )at Telligent.Glow.WebControlUtils.ᐁ(Control , String , Dictionary`2 )at Telligent.Glow.WebControlUtils.ᐁ(Control , String , Dictionary`2 )at Telligent.Glow.WebControlUtils.ᐁ(Control , String , Dictionary`2 )at Telligent.Glow.WebControlUtils.ᐁ(Control , String , Dictionary`2 )at Telligent.Glow.WebControlUtils.ᐁ(Control , String , Dictionary`2 )at Telligent.Glow.WebControlUtils.ᐁ(Control , String , Dictionary`2 )at Telligent.Glow.WebControlUtils.ᐁ(Control , String , Dictionary`2 )at Telligent.Glow.WebControlUtils.ᐁ(Control , String , Dictionary`2 )at Telligent.Glow.WebControlUtils.ᐁ(Control , String , Dictionary`2 )at Telligent.Glow.WebControlUtils.FindControl(Control container, String id)at CommunityServer.Controls