Installation and deployment
Version 7.x > Installation and deployment > Syncronization not working View modes: 
User avatar
Member
Member
dford-catapultrpm - 9/10/2013 9:40:36 AM
   
Syncronization not working
Im trying to syncronize my production environment with my stage envrionment and it doesn't seem to work. When I run it, i get this error:
Synchronization client error: Exception occurred: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.

Im not sure what i have to do to fix the issue.

User avatar
Member
Member
kentico_edwardh - 9/10/2013 12:55:09 PM
   
RE:Syncronization not working
Hello,

This error is almost always thrown when there is a mismatch with the specified credentials for a given site. Please ensure the Content staging credentials are set correctly in both the CMS Desk -> Tools -> Staging -> Servers area and these credentials match what are on the target server for the correct site in Site Manager -> Settings -> your site -> Versioning & Synchronization -> Staging.
You can also find more information about Content Staging here - Staging Configuration

Best Regards,
Edward Hillard

User avatar
Member
Member
dford-catapultrpm - 9/10/2013 1:44:02 PM
   
RE:Syncronization not working
The credentials match.

Could it be that im not on the domain that i got the license for. I am using a temporary domain which is not using the the license that has the staging ability tied to it.

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 9/11/2013 7:32:08 AM
   
RE:Syncronization not working
Very well could be. Check the event log on both the staging and target servers and look for licensing errors. What I've done in the past is setup the dev server with the license that will be used for live and any development machines will simply use an alias you can request from Kentico for dev. For instance if I'm developing for www.abcsite.com on my local machine who purchased an Ultimate license, I'll request a license for localhost and another for dev.abcsite.com. Since www.abcsite.com has the license for Content Staging it shouldn't be an issue to use Content Staging from your localhost as long as you created a new alias key with the original license.

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 9/11/2013 7:33:34 AM
   
RE:Syncronization not working
Also make sure you're using the full URL:
http://www.abcsite.com/CMSPages/syncserver.asmx

User avatar
Member
Member
dford-catapultrpm - 9/11/2013 7:51:12 AM
   
RE:Syncronization not working
I had the wrong url in the server service URL and corrected by adding /CMSPages/syncserver.asmx. It appears i missed that in the documentation. It seems to be working now. Thanks.