Hi everyone,
Everything was working fine in my CS 2.1 website until earlier today when I noticed that I couldn't open the Control Panel: "Oops something went wrong". I hadn't been performing any maintenance on the website for quite some time now, so it was surprising.
I replaced the web.config file with a copy of itself so that the application would restart, but now I can't even access any CS web pages at all.
I checked the database directly for error information and found many ThreadAbortException entries for the last day. The all appear to have the same stack trace, which I think is incomplete:
System.Threading.ThreadAbortException: Thread was being aborted. at CommunityServer.Components.UrlReWriteProvider.Instance() at CommunityServer.CSHttpModule.ReWriteUrl(HttpContext context) at CommunityServer.Components.CSContext.Create(HttpContext context, UrlReWriterDelegate rewriter) at CommunityServer.CSHttpModule.Application_BeginRequest(Object source, EventArgs e) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
I checked other forum threads that mentioned similar issues and found a more complete stack trace, and from that I was able to track down an error log in a file named, SiteUrlData.htm:
Critical Error: SiteUrls.ConfigThe file containing the SiteUrl Data could not be loaded. Please contact your CommunityServer administrator. A technical explanation of why this error is caused is below. --------------------------------------------------------------------------------Community Server expects to find a valid XML file containing all of the links for a community. By default, this file is located at the root of the with the name SiteUrls.config.
A common error is to included unescaped XML characters, such as "&" when defining a querystring.
If available, the location of the error will be listed below:[SiteUrlData]
Anybody have any idea what is causing this issue? How can I resolve it?
I contacted Godaddy.com, my website host, and asked them to recycle the Application Pool. They won't do it.
Thanks for your help.
I just tried replacing the web.config file again, but this time changed customErrors mode to Off and then I couldn't reproduce the problem. I changed it back to RemoteOnly and everything still appears to be fine. Strange.
Thanks anyway :)
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com