Vulnerability in EPiServer.Forms
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.
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?
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?
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.
Thank you very much Johan, that has solved my issue! After some more tinkering with the mirroring configuration it is now up and running :)