Try our conversational search powered by Generative AI!

Unable to get mirroring running on CMS 6

Vote:
 

Hi,

I currently have a staging server and a production server setup. Both have enterprise licenses installed (I verified this by checking the license information in the admin section) and I have set up mirroring on both. Additionally I have gone through the settings in the web configs for both with a fine tooth comb and yet I'm still unable to get mirroring working. The error message I get is :

"Mirroring requires enterprise license which was not found for site 'Companyname.Extranet.Web'". "Companyname.Extranet.Web" is not even the site name its the project name. Has anyone else encountered this error before?

Its also worth mentioning I have the sites set up as remote sites and the 'ping' functionality in admin works fine.

Any advice greatly appreciated!

ps: running as .net 4.0 on IIS 7 if that helps.

#49266
Mar 10, 2011 14:47
Vote:
 

Hi

The algorithm works so that when the mirroring job (on source site) is initiated it tries to figure out which site to run the mirroring job for (note that the source root for the mirroring channel might not be current site in an enterprise setup). It then validates that the found site has a valid license.

What does your setup look like? I guess there is a site Companyname.Extranet.Web that shares the same database? Which site does the page you have setup as mirroring source root belong to? Do the page belong to several sites (with different siteIds), for example if you have setup loadbalancing so there are two sites using same db with same startPageId but different siteId?  

#49272
Mar 11, 2011 7:19
Vote:
 

Hi Johan,

Thanks for your response!

My setup isn't quite so fancy, I have 2 productions servers (a master and a slave) as well as a staging server. Each running just the one site and each site with their own database. Also there is no site with Companyname.Extranet.Web only Companyname.Extranet.Live, Companyname.Extranet.Live.B and Companyname.Extranet.Staging which is why the error message is baffling!

Currently I am trying to get the mirroring running between the staging server and the slave server, before getting it up and running on the master.

With regards to your last paragraph, for the slave server I took a backup of the Master's database, would this cause an issue?

 

#49300
Mar 11, 2011 17:12
Vote:
 

From the error description it sounds like there has previously existed a site with id Companyname.Extranet.Web. I guess that site has been renamed/removed but probably some trace of it is still present in database.

Look in table tblSiteConfig in the database on the source site, remove entries with siteId that do not exist. Probably you will see a entry for Companyname.Extranet.Web.

In CMS6R2 the algorithm for finding correct site to validate license for has changed so it should be more reliable.

#49303
Edited, Mar 11, 2011 22:03
Vote:
 

Thank you very much Johan, that has solved my issue! After some more tinkering with the mirroring configuration it is now up and running :)

 

#49374
Mar 15, 2011 17:54
Vote:
 
Mirroring job: 'x'
State: Validation failed
The 29294 could not be find in Permanent Link Map Store
 
That error message in the Mirroring log can also be avoided by removing unnecessary entries in tblSiteConfig.
#62241
Oct 17, 2012 16:41
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.