Resource not found

rated by 0 users
Not Answered This post has 0 verified answers | 21 Replies | 5 Followers

mulmad
Not Ranked
13 Posts
Points 230
By: mulmad
Posted: Wed, May 14 2008 5:06 PM

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".

 

 
  • Post Points: 35 |

All Replies

afscrome
Top 10 Contributor
2,696 Posts
Points 39,685
TelligentSupportTeam
By: afscrome
Posted: Wed, May 14 2008 5:21 PM In reply to

 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?

 
  • Post Points: 20 |
mulmad
Not Ranked
13 Posts
Points 230
By: mulmad
Posted: Wed, May 14 2008 5:41 PM In reply to

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.

 
  • Post Points: 20 |
afscrome
Top 10 Contributor
2,696 Posts
Points 39,685
TelligentSupportTeam
By: afscrome
Posted: Wed, May 14 2008 5:46 PM In reply to

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.

 
  • Post Points: 35 |
mulmad
Not Ranked
13 Posts
Points 230
By: mulmad
Posted: Thu, May 15 2008 1:18 AM In reply to

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 CLR
Path: /themes/leanandgreen/common/home.aspx as HTTP GET
Referrer: /media/3/default.aspx
Message: MediaGallery not found: 23
CommunityServer.Components.CSException: MediaGallery not found: 23
at 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)

 

 
  • Post Points: 5 |
mulmad
Not Ranked
13 Posts
Points 230
By: mulmad
Posted: Thu, May 15 2008 5:06 PM In reply to

 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 C
Path: /themes/leanandgreen/media/post.aspx?PostID=60 as HTTP GET
Referrer: /media/
Message: MediaGallery not found: 23
CommunityServer.Components.CSException: MediaGallery not found: 23
at 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

 
  • Post Points: 20 |
Ben Tiedt
Top 10 Contributor
3,338 Posts
Points 63,055
CS Developers
By: Ben Tiedt
Posted: Wed, May 21 2008 12:40 AM In reply to

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:

delete
from cs_FavoriteSections
where 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.

Ben Tiedt's Blog

 
  • Post Points: 80 |
Mark Monica
Top 200 Contributor
116 Posts
Points 1,835
By: Mark Monica
Posted: Wed, May 21 2008 3:56 PM In reply to

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

 
  • Post Points: 5 |
Mark Monica
Top 200 Contributor
116 Posts
Points 1,835
By: Mark Monica
Posted: Wed, May 21 2008 3:58 PM In reply to

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.

 

 
  • Post Points: 20 |
lamle
Not Ranked
1 Posts
Points 5
By: lamle
Posted: Wed, May 21 2008 9:02 PM In reply to

 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 C
Path: /themes/leanandgreen/common/home.aspx as HTTP GET
Referrer:
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

 
  • Post Points: 5 |
Mark Monica
Top 200 Contributor
116 Posts
Points 1,835
By: Mark Monica
Posted: Thu, May 22 2008 2:10 PM In reply to

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>

 

 
  • Post Points: 5 |
mulmad
Not Ranked
13 Posts
Points 230
By: mulmad
Posted: Sun, May 25 2008 6:26 PM In reply to

Deleting the orphaned favories did the job (there was one).

Thanks for your help.

 

 
  • Post Points: 5 |
OutdoorEd
Top 500 Contributor
81 Posts
Points 1,400
By: OutdoorEd
Posted: Mon, May 26 2008 10:48 PM In reply to

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

 
afscrome
Top 10 Contributor
2,696 Posts
Points 39,685
TelligentSupportTeam
By: afscrome
Posted: Tue, May 27 2008 4:04 AM In reply to

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 C
Path: /themes/calypso/common/home.aspx as HTTP GET
Referrer: /msgs/default.aspx?MessageID=57
Message: MediaGallery not found: 29
CommunityServer.Components.CSException: MediaGallery not found: 29
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.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