I have two separate episerver websites with their own separate editors (separate CMS DBs). There is some common content that both websites should share. I want to maintain the common content on website1 and use it on website 2. I dont want toexport/import.
Is there any way to share content in the above scenario?
This sounds like a classic scenario for content mirroring.Website1 would be the source site, and website2 would be the target site.
Note that mirroring in CMS 6 requires Enterprise licenses.
Here are some good resources on mirroring setup:
Other options could be:
thank you very much Arild.
While trying to run mirroring, i got the below error
The job failed: Exception has been thrown by the target of an invocation. [Error executing task "MirrorChannelSource": Failed to connect to database using connection string with name 'EPiServerDB' (Format of the initialization string does not conform to specification starting at index 0.) ]
I provided the db user crdentials while installing mirroring. The user has access to both the source and destination cms db. Please advise
Most likely a malformed connection string. Look for extra quote marks or similar.
Have you double checked that the server name (or IP), database name, username and passwords are correct? Can you manually log onto SQL Server using the info from the connection string?
thanks again Arild
There was problem with connection string. After fixing that I came across the below issue
The job failed: Exception has been thrown by the target of an invocation. [Error executing task "MirrorChannelSource": Value cannot be null. Parameter name: type () ]
googled and found that the above error is due to missing dlls. http://world.episerver.com/Blogs/Shahid-Nawaz/Dates/2010/10/Setting-up-Mirroring-20-in-two-ways/
copied dlls from my episerver source site to mirroring service bin.... but it didnt work ...I am still getting the same error...Is there anyway to find the actual error?
Well it sounds like you are still missing some DLLs. Did you copy all of them from the source? Are the sites using the same EPiServer build version?
thank you so much Arild! I have completed setup... cheers :)