sometime site run ok,but sometime display the error below.And there is nothing changed between them.why?
Either the site is offline or an unhandled error occurred. We apologize and have logged the error. Please try your request again or if you know who your site administrator is let them know too.
What does the exception log say in your control panel?
Someone else was having 'Oops' problems yesterday as well. I posted this up for him/her:
First step is to get the true error message. In ~\Web\web.config, change the line customeErrors mode="RemoteOnly" to customErrors mode="Off" as seen below. It's case sensitive so type it exactly as you see it.
<!-- Permit detailed errors to be displayed for remote clients --> <customErrors mode="Off" defaultRedirect="~/error.htm"> <error statusCode="404" redirect="~/error-notfound.aspx" /> </customErrors>
This should give you the true error and you can copy/paste it here for investigation if you still need help. (This code is from 2007.1).
thanks!
I changed the "RemoteOnly" to "Off". The error display below:
[NullReferenceException: 未将对象引用设置到对象的实例。] CommunityServer.Blogs.Controls.WeblogPostList.get_DataSource() +1287 System.Web.UI.WebControls.Repeater.ConnectToDataSourceView() +261 System.Web.UI.WebControls.Repeater.OnLoad(EventArgs e) +16 CommunityServer.Controls.PreTemplatedWrappedRepeaterBase.OnLoad(EventArgs e) +9 System.Web.UI.Control.LoadRecursive() +47 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
I had a similar problem. The solution I found was to redownload the CS2008 web install and then replace the /bin/ directory in your website with the /bin/ directory from the download. Does this do the trick for you.
Community Server Documentation
Nintendo Wiikly
thanks afscrome,but I'm using cs2007.1 now.
can i use the cs2008 bin file to replace my using cs2007.1 bin file?
thanks again.
No, only download the CS2008 files if you a) intend to upgrade to cS208 b) have a licence to upgrade to cS2008.
What version of CS2007 are you running. Are you running the latest version which is CS2007.1 SP1 which was released in early April. If not, can you get the upgrade files from http://get.communityserver.com/Download/moredownloads.aspx - remember to upgrade BOTH the site files AND the database. Also remember to back both up BEFORE you attempt your upgrade.
If that still doesn't solve your problem, can you look in the site's Exception Reports (Control Panel > Administration > Reports > Exception Reports), and see if the error in the error log provides any more information.
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com