Resource not found

rated by 0 users
This post has 31 Replies | 8 Followers

Not Ranked
Posts 15
Points 195
Rob101 replied on Sat, Jun 7 2008 9:24 AM

 Hey Ben,

I checked my cs_FavoriteSectionswhere table, and it's empty. So the SQl couldn't help me. Thanks though. I thought i'd summarise what i've found, i'm not a CS dev in any way\shape\form so excuse the light sprinkle of detail Smile

Ran an exceptions report, based on "Resource not found", here is a summary of the entries I get:

Message: MediaGallery not found: 7 Path: /themes/hawaii/common/home.aspx
Message: MediaGallery not found: 80 Path: /themes/hawaii/common/home.aspx
Message: MediaGallery not found: 57 Path: /themes/hawaii/common/home.aspx
Message: MediaGallery not found: 46 Path: /themes/hawaii/common/home.aspx
Message: MediaGallery not found: 13 Path: /themes/hawaii/common/home.aspx
Message: MediaGallery not found: 14 Path: /themes/hawaii/common/home.aspx
Message: MediaGallery not found: 56 Path: /themes/hawaii/common/home.aspx

The rest of each message is unique for each of those MediaGallery ID's being looked for, but not sure if it's relevent, if needed I can post all of the message content.

Why would it fail to load, then when refreshed load ok, when there is no random content on the homepage? That's odd. Each page refresh is retrieving the same information AFAIK.

 

Rob - www.WMUG.co.uk

  • | Post Points: 20
Not Ranked
Posts 2
Points 25

I have the same issue - started from scratch and rebuilt the whole site - still same issue.  Have you resolved?

  • | Post Points: 5
Not Ranked
Posts 2
Points 25

It seems when you ask for help you end up with an "ah-hah" moment.  I was going through all the posts related to "resource not found" and about the various fixes.

To help others:

When you have this issue appearing in the exceptions logs:

 UnknownError  71.252.156.6  Tue, Jun 17 2008, 12:39 PM  3 
User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.14) G
Path: /controlpanel/blogs/posteditor.aspx?SelectedNavItem=NewPost as HTTP POST
Referrer: /controlpanel/blogs/posteditor.aspx?SelectedNavItem=NewPost
Message: Method not found: 'Boolean CommunityServer.Components.User.get_IsFileAdministrator()'.
System.MissingMethodException: Method not found: 'Boolean CommunityServer.Components.User.get_IsFileAdministrator()'.
at DanBartels.CS.Calendar.Components.AdminCalendarLink.UserCanAdd(User user)
at DanBartels.CS.Calendar.Components.CalendarLink.csa_AfterProcessPost(IContent content, CSPostEventArgs e)
at CommunityServer.Components.CSPostEventHandler.Invoke(IContent content, CSPostEventArgs e)
at CommunityServer.Components.CSApplication.ExecutePostEvent(Object EventKey, IContent content, ObjectState state, ApplicationType appType, PostTarget target)
at CommunityServer.Components.CSEvents.AfterPost(IContent content, ObjectState state, ApplicationType appType)
at CommunityServer.Blogs.Components.WeblogPosts.Add(WeblogPost post, User user, Int32& postID)
at CommunityServer.Blogs.Controls.CreateEditWeblogPostForm.SavePost(WeblogPost post)
at CommunityServer.Blogs.Controls.CreateEditWeblogPostForm.SubmitButton_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e)
at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

or this:

ResourceNotFound  71.252.156.6  Mon, May 19 2008, 09:19 PM  10 
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET C
Path: /themes/hawaii/common/home.aspx as HTTP GET
Referrer:
Message: MediaGallery not found: 7
CommunityServer.Components.CSException: MediaGallery not found: 7
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.ᐁ(Control , String , Dictionary`2 )
at Telligent.Glow.WebControlUtils.FindControl(Control container, String id)
at CommunityServer.Controls.WrappedRepeater.Page_PreRender(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)

They were related.

Fixed it by removing DanBartels.CS.Calendar.dll from the web\bin directory.  Even though I was not using this any longer I didn't think about it but removing it fixed it for my site.

Also - remove anything associated with the calendar you may have added when implemented with CS2007.

  • | Post Points: 20
Not Ranked
Posts 15
Points 195
Rob101 replied on Mon, Jun 23 2008 5:37 AM

I removed the Wikipedia module dll from web\bin and it seems to have settled down (did 20+ page refreshes and no Resource Not Found shown)

Removed this: http://dev.communityserver.com/media/p/590013.aspx <--- Shame as it was handy!

Will post back in a few days to confirm the problem has gone.

Rob - www.WMUG.co.uk

  • | Post Points: 20
Top 10 Contributor
Posts 3,559
Points 53,720
TelligentSupportTeam
Alex Crome replied on Mon, Jun 23 2008 12:45 PM

I don't think it'll be the Wikipedia module that causes this error - I'm getting that error without ever having that module installed.

Also, my experience with the error would suggest that 20 refreshes is unlikely to cause the problem to occur as I think the problem is caused by bad caching r caching bad objects.  That would mean only the first hit to that page would have collected the data, and woul ae been cache for those further 19 requests.

Community Server Documentation please rate articles you read

Nintendo Wiikly | My Blog

  • | Post Points: 20
Not Ranked
Posts 1
Points 20

I just upgraded to CS 2008 SP1, and shortly after I deleted a rogue file that was left over from the Wikipedia module. Since then the site is faster and i've not seen the resource not found error. I've relanded on the homepage by drilling through site links so that the cache gets updated, coming in from off-site links. I'll give it a few days though, just to be sure.

Now the site is running like it's on steroids, serving up pages a lot faster than before. Had this confirmed by others just in case i'm hallucinating! 

afscrome I know you're not using wikipedia module, have you ever installed\removed a module?

- Rob
Top 10 Contributor
Posts 3,559
Points 53,720
TelligentSupportTeam

I'm never used the wikipedia module, but I have used some modules I've written myself.

Nethertheless, I have not seen the problem since I've upgraded to CS2008 SP1, so I'm assuming the problem's been fixed.

Community Server Documentation please rate articles you read

Nintendo Wiikly | My Blog

  • | Post Points: 5
Not Ranked
Posts 23
Points 265

I'm running 4.0.30619.63 and still have this problem.  I'm going to run Ben's SQL and see what happens.

 

Update: Darn, zero rows affected.

  • | Post Points: 5
Not Ranked
Posts 23
Points 265

Another update, each of the supposed "media galleries" that are not found have id's of sections that are actually of the blog type.

  • | Post Points: 5
Not Ranked
Posts 23
Points 265

I've tried enabling all blogs that were disabled and taking away everyone & registered user permissions, but I'm still getting the resource not found error, with an exceptions in the log for a handful of media galleries that are "not found".  The section IDs of them appear to actually be for blogs, not media galleries.

Is this being looked into?

  • | Post Points: 5
Top 150 Contributor
Posts 180
Points 2,685

Just wanted to say that I have been getting the exact error when running the test drive of Community Server 2008 (http://demo.communityserver.com/) when logged in as the admin.

Best regards,
Erik P. Ernst
Microsoft MVP - Dynamics NAV webmaster at http://dynamicsuser.net
  • | Post Points: 20
Top 10 Contributor
Posts 3,424
Points 65,515
CS Developers
Ben Tiedt replied on Wed, Sep 17 2008 11:13 AM

Could bigstrings or Erik P. Ernst post their latest exception and stack trace?

Also, please identify the version number that you're using (from the META GENERATOR tag on any of the front-UI pages' source)

Ben Tiedt's Blog

  • | Post Points: 20
Not Ranked
Posts 23
Points 265
bigstrings replied on Wed, Sep 17 2008 11:27 AM

 

Version: 4.0.30619.63

Here ya' go:

ResourceNotFound    Mon, Sep 15 2008, 02:15 PM  26 
User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.1) Geck
Path: /themes/hawaii/common/home.aspx as HTTP GET
Referrer:
Message: MediaGallery not found: 64
CommunityServer.Components.CSException: MediaGallery not found: 64
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.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(Boo

 

 

 

I don't know if this is helpful, but I see that it's looking for Media Gallery with an ID of 64.  When I look at the Administration screens, I don't think there is a Media Gallery with that Section ID, but there is a blog with 64 as a Section ID.

  • | Post Points: 20
Top 500 Contributor
Posts 89
Points 1,435

Any news on this?

I've just found out that this error happens on our site (recently went live) for certain users. It's when a users tries to access

/members/UserName/files/default.aspx

Or sometimes the dashboard page.

I get:

Message: MediaGallery not found: 47
CommunityServer.Components.CSException: MediaGallery not found: 47

This is actually pretty bad as our site is now running and we need it fixing fast.

Anyone with any ideas?

Thanks.

  • | Post Points: 5
Top 500 Contributor
Posts 89
Points 1,435

FYI:

<meta name="GENERATOR" content="CommunityServer 2008 (Build: 30417.1769)" />

  • | Post Points: 5
Page 2 of 3 (32 items) < Previous 1 2 3 Next > | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com