Local SiteSync Not Connecting
So, we're evaluating Sitefinity and currently building everything locally. I've got two projects, completely following the SiteSync Prerequisites & Restrictions documentation. They are both running under the same instance of Sitefinity Project Manager on localhost. The connection URL I'm using in the sync settings is: localhost:3801/.../
All I'm getting as an error is, "Server localhost:3801/.../ is not accessible." Am I missing something?
Found in this video that the receiving server must be on IIS, not the default Sitefinity Project Manager. Would be useful to have in the standard written documentation.
Glad to hear that the problem has been resolved. You are correct all projects should be deployed on IIS. Furthermore, you need to make sure that:
1. If you think of your site stages (development, staging, production, etc.) as a network of connected servers, each of them must have a unique key in that network. The site key participates in the incremental GUID generation algorithm ensuring that any GUID generated with one site key is different from any GUID generated with any other key. Thus, items created on your development server have IDs that are guaranteed to be different from the IDs of the items created in parallel on your staging server, which guarantees that no ID clashes during synchronization. If you synchronize from Staging to Production (A to B) please note that the key set in A should be smaller than the number set on B. You need to set these keys manually before the synchronization.
2. You entered administrators credentials in the first site and you are not logged in the second site during synchronization (or during testing the connection)
3. The synchronization is one way, you could synch from Development to Staging, but once you have synchronized from Development to Staging, you should not synch from Staging to Development
4. In IIS configurations anonymous authentication should be enabled and all other authentications should be disabled. Please review the screenshot.
We will send a request to our documentation team to add this important note. Thank you for reporting this problem your Telerik points have been updated.
I have the same issue here. I have an enterprise license, my staging is running on iis, I created a separated admin account for staging and staging is not logged in. And the anonymous authentication is enabled... I ran out the clue.
When I create my staging, I actually restored db from my local sitefinity db, I guess it will have the same sitefinity instance ID, Is this the same problem as you mentioned in your point 1? Otherwise, my staging is running on aws, could this be a potential problem, too?
Regarding the information in point 1 you need to make sure that the site key in your first instance (source) is smaller then the site key in your second instance (destination).
You can test whether the service is visible from the first note to the other. Under the first note request:
Change localhost with the host that you are using. If you are receiving 404 error then the server is not accessible (visible). You need to start seeing HTTP Error 401.0 - Unauthorized instead of 404 error.
You need to make sure that you have these configurations applied:
If you have set NetworkService as your application pool identity, make sure to check that the anonymous user identity is the same as the application pool identity. Then for the website folder, verify that NetworkService has read / write permissions.
If the problem still persist you could test it locally or on another machine.
Thanks for the reply. It turned out the SiteSync module wasn't installed on my staging in the first place. Once I installed the module, "Allow content from other sites to be published to this site", then set the Site Key larger than 1, everything is working now.