CS 2.1 SiteUrls.Instance() Error

rated by 0 users
Answered (Verified) This post has 1 verified answer | 1 Reply | 1 Follower

joedave
Not Ranked
17 Posts
Points 235
By: joedave
Posted: Sun, Apr 20 2008 1:34 AM

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.Config
The 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.

 

 
  • Filed under: |
  • Post Points: 5 |

Answered (Verified) Verified Answers

joedave
Not Ranked
17 Posts
Points 235
Answered (Verified) By: joedave
Posted: Sun, Apr 20 2008 1:50 AM In reply to

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 :)

 

 
Answered (Verified)
  • Post Points: 5 |

All Replies

joedave
Not Ranked
17 Posts
Points 235
Answered (Verified) By: joedave
Posted: Sun, Apr 20 2008 1:50 AM In reply to

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 :)

 

 
Answered (Verified)
  • Post Points: 5 |
Page 1 of 1 (2 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

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