Feedback
 
Did this article resolve your question/issue?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025

 


Article

SiteSync: Dynamic content items in newly created site are not synced

« Go Back

Information

 
Article Number000102203
EnvironmentProduct: Sitefinity
Version: 7.x, 8.x, 9.x, 10.x, 11.x, 12.x
OS: All supported OS versions
Database: All supported Microsoft SQL Server versions
Question/Problem Description
When attempting to sync dynamic items in a newly created site, the sync fails and an error with the following message is observed in the sync summary:

Telerik.Sitefinity.Data.MissingProviderConfigurationException: There is no configuration for data provider with the name of "dynamicProviderXX" or it is not enabled for "Telerik.Sitefinity.DynamicModules.DynamicModuleManager" manager. Please check the spelling of the name and whether such configuration exists.
Steps to Reproduce
Clarifying Information
Error MessageItem information: id = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'; type = 'Telerik.Sitefinity.DynamicTypes.Model.XXX.XXX'; provider = 'dynamicProviderXX'; action = 'New'
Error details:System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Telerik.Sitefinity.Data.MissingProviderConfigurationException: There is no configuration for data provider with the name of "dynamicProviderXX" or it is not enabled for "Telerik.Sitefinity.DynamicModules.DynamicModuleManager" manager. Please check the spelling of the name and whether such configuration exists.
at Telerik.Sitefinity.Data.ManagerBase`1.SetProvider(String providerName, String transactionName)
at Telerik.Sitefinity.Data.ManagerBase`1..ctor(String providerName, String transactionName)
at Telerik.Sitefinity.DynamicModules.DynamicModuleManager..ctor(String providerName, String transactionName)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.ConstructorInfo.Invoke(Object[] parameters)
at Telerik.Sitefinity.Data.ManagerBase`1.InstantiateManager[T](String providerName, String transactionName)
at Telerik.Sitefinity.Data.ManagerBase`1.GetManager[T](String providerName, String transactionName)
at Telerik.Sitefinity.DynamicModules.DynamicModuleManager.GetManager(String providerName, String transactionName)
at Telerik.Sitefinity.SiteSync.DynamicContentImporter.ImportItemInternal(String transactionName, Type itemType, Guid itemId, WrapperObject item, String provider, ISiteSyncImportTransaction importTransaction, Action`3 postProcessingAction)
at Telerik.Sitefinity.SiteSync.DynamicContentImporter.ImportItem(String transactionName, Type itemType, Guid itemId, WrapperObject item, String provider, ISiteSyncImportTransaction importTransaction)
at Telerik.Sitefinity.SiteSync.SiteSyncImporter.<>c__DisplayClass10_2.<ImportInternal>b__1(FluentSitefinity app)
at Telerik.Sitefinity.SiteSync.SiteSyncImporter.RunInSpecificCulture(String culture, String transaction, Action`1 func, Action`2 logAction)
Defect/Enhancement Number
Cause
The dynamic content providers for the new site are not present in the target environment.
Resolution
Perform Site sync operation of the newly created site first before performing a sync for the dynamic content items.
Note that "Site Properties" must be selected while performing the sync operation.
This will sync all the required properties of the site and further deployments will modify the configuration of the sites as expected.
Workaround
Notes
Attachment 
Last Modified Date3/24/2020 12:25 PM