Error creating a new site

ricardo marin asked on March 24, 2017 21:38

Greetings to all the people of the forum, I publish my case to find a solution with the help of the community if you stop to read my question I thank you very much. I have in my kentico 10 local a site created under the domain kentico10.co when I try to create another site with the option to create a new site using the wizard I give you any name with the same domain or with another I have the same problem is the following:

ERROR: Error during import process Message: Value cannot be null. Parameter name: settings

Exception type: System.ArgumentNullException Stack trace: at CMS.DocumentEngine.TreeProvider.CreateSiteRoot(SiteRootCreationSettings settings) at CMS.DocumentEngine.DocumentImport.CreateSiteRoot(SiteImportSettings settings, DataSet dsDocuments, TreeProvider tree) at CMS.DocumentEngine.DocumentImport.ImportDocuments(SiteImportSettings settings, TranslationHelper th, List1& importedDocumentIDs, TreeProvider tree) at CMS.DocumentEngine.DocumentImport.ImportDocumentsData(SiteImportSettings settings, TranslationHelper th) at CMS.DocumentEngine.DocumentImport.ImportObjectTypeBefore(Object sender, ImportDataEventArgs e) at CMS.Base.AbstractHandler.CallEventHandler[TArgs](EventHandler1 h, TArgs e) at CMS.Base.AbstractHandler.Raise[TArgs](String partName, List1 list, TArgs e, Boolean important) at CMS.Base.AdvancedHandler2.RaiseBefore(TArgs e) at CMS.Base.AdvancedHandler2.RaiseBefore(TArgs e) at CMS.Base.AdvancedHandler2.StartEvent(TArgs e, Boolean allowEvent) at CMS.CMSImportExport.ImportProvider.ImportObjectType(SiteImportSettings settings, String objectType, Boolean siteObject, TranslationHelper th, ProcessObjectEnum processType, List`1 importedParentIds) at CMS.CMSImportExport.ImportProvider.ImportObjectsDataInternal(SiteImportSettings settings)

ERROR: Error importing pages Message: Value cannot be null. Parameter name: settings

Exception type: System.ArgumentNullException Stack trace: at CMS.DocumentEngine.TreeProvider.CreateSiteRoot(SiteRootCreationSettings settings) at CMS.DocumentEngine.DocumentImport.CreateSiteRoot(SiteImportSettings settings, DataSet dsDocuments, TreeProvider tree) at CMS.DocumentEngine.DocumentImport.ImportDocuments(SiteImportSettings settings, TranslationHelper th, List`1& importedDocumentIDs, TreeProvider tree) at CMS.DocumentEngine.DocumentImport.ImportDocumentsData(SiteImportSettings settings, TranslationHelper th)

ERROR: Error creating root of the site. Message: Value cannot be null. Parameter name: settings

Exception type: System.ArgumentNullException Stack trace: at CMS.DocumentEngine.TreeProvider.CreateSiteRoot(SiteRootCreationSettings settings) at CMS.DocumentEngine.DocumentImport.CreateSiteRoot(SiteImportSettings settings, DataSet dsDocuments, TreeProvider tree)

Recent Answers


Trevor Fayas answered on March 25, 2017 01:21

Is this Portal method or MVC? What site (using the wizard) did you choose as your starting point, blank site?

0 votesVote for this answer Mark as a Correct answer

vasu yerramsetti answered on March 25, 2017 07:44

Hi,

Similar issue posted this forum. https://devnet.kentico.com/questions/import-error-siterootcreationsettings

Please check it.

0 votesVote for this answer Mark as a Correct answer

rodrigo ormazabal answered on April 13, 2017 22:17

Hello Greetings from Chile I had the same problem when importing ERROR: Failed to create site root. Message: The value can not be null. Parameter name: settings

The solution:

1.- site -> new site wizard 2.- Create a new site using an assistant 3.- Name of the website: * ... here is the name of the site to import And continues

As the name of my site is already created then I can now do import without problems

I do not have a technical explanation for this, I just want you to know how to solve it this way

Export / import kentico 10 If you need more details, tell me

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.