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".
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
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.aspxMessage: MediaGallery not found: 80 Path: /themes/hawaii/common/home.aspx Message: MediaGallery not found: 57 Path: /themes/hawaii/common/home.aspxMessage: MediaGallery not found: 46 Path: /themes/hawaii/common/home.aspxMessage: MediaGallery not found: 13 Path: /themes/hawaii/common/home.aspxMessage: 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
I have the same issue - started from scratch and rebuilt the whole site - still same issue. Have you resolved?
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) GPath: /controlpanel/blogs/posteditor.aspx?SelectedNavItem=NewPost as HTTP POSTReferrer: /controlpanel/blogs/posteditor.aspx?SelectedNavItem=NewPostMessage: 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:
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.
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.
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.
CS Documentation | Nintendo Wiikly
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?
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.
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.
Another update, each of the supposed "media galleries" that are not found have id's of sections that are actually of the blog type.
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?
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.
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)
Version: 4.0.30619.63
Here ya' go:
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.
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: 47CommunityServer.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.
FYI:
<meta name="GENERATOR" content="CommunityServer 2008 (Build: 30417.1769)" />