CommunityServer 2.1 SP 1 - Critical Error: SiteUrls.Config

“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. (quite a long listing)”

 

This is definitely an interesting problem. I was not able to sort this out. I tried to enable files / folders permission manually for IIS_WPG and Network Service, but I could not able to resolve this problem. I tried to set the application pool as a default one, yet failed to work. It was a recommended way in the internet. I looked into my database and also made sure my connection string was correct. However, I was not able to solve this problem.

 

Take note, this problem only works when you have a Windows Server 2003 which happens to be a Domain Controller itself (Active Directory will be installed and all local accounts will be removed). If you do not perform this action, you will not face this problem.

 

So how do you solve this problem? After my personal research, I found out a way to overcome this problem.

 

Open up your Visual Studio 2005 command prompt and type this command as below:

 

aspnet_regiis –ga Community0\IIS_WPG

 

Community0 is my current domain name.

 

Test it and you will not see the problem as mentioned above. Good luck then.

 

Updated: Sometimes it works and not. Funny. I got a Thread was being aborted error. Have to look into this further.

Published Tuesday, November 14, 2006 6:33 PM by chuawenching