Critical Error: SiteUrls.Config

Specific Error Message:

Unable to open connection to data provider.

The target database, 'Communityserver', is participating in an availability group and is currently not accessible for queries. Either data movement is suspended or the availability replica is not enabled for read access. To allow read-only access to this and other databases in the availability group, enable read access to one or more secondary availability replicas in the group. For more information, see the ALTER AVAILABILITY GROUP statement in SQL Server Books Online.

Please contact your site administrator. An explanation for why this error could occur 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 that SiteUrls.config included unescaped XML characters, such as "&" when defining a querystring.


For more information you can also visit http://communityserver.org.