Kentico 10 MVC site export import problems

David Yu asked on September 11, 2017 15:59

Create a mvc site. Export the site use default setting. Then import to another computer use default setting. Try to edit any page type, can't see "Fields" and some other items in the left side menu.

Correct Answer

Trevor Fayas answered on September 11, 2017 21:42

Log into Kentico, go to the Systems module, click on "Macros" on the left hand side, then Signatures, and resign the old macro signatures.

When you import stuff from one site to another, macro conditions that Kentico has may become 'invalid' because macro signatures are based either on the macro hash key value in the web.config, or the database settings. So these are probably different from your other environment.

Clearing cache and restarting application in the System module can't hurt either.

https://docs.kentico.com/k10/macro-expressions/troubleshooting-macros/working-with-macro-signatures#Workingwithmacrosignatures-Re-signingmacros

1 votesVote for this answer Unmark Correct answer

Recent Answers


Trevor Fayas answered on September 11, 2017 16:12

Did you try going to System -> Macros -> Signatures and resigning?

Anything in the event log?

2 votesVote for this answer Mark as a Correct answer

David Yu answered on September 11, 2017 21:38

What's System -> Macros -> Signatures and resigning? I didn't do that, just use default settings export/import.

0 votesVote for this answer Mark as a Correct answer

David Yu answered on September 11, 2017 21:51

Thanks! I will try and let you know.

0 votesVote for this answer Mark as a Correct answer

David Yu answered on October 5, 2017 22:12

Sorry, I was busy on other project these days. So I can't see any relationship with the import and the macro. I created a mvc site. And export the whole site then import the site to a brand new Kentico server. Then go to the new Kentico admin site. Try edit any page type. And there are missing "Fields" item.

0 votesVote for this answer Mark as a Correct answer

Trevor Fayas answered on October 9, 2017 16:14

David can you be a little more specific on the "missing fields item" ?

The macro relationshipo when importing is any macro signatures may and most likely will become invalid when you import them from one site to another, as the signature is based on the Macro Signature Key which often changes between instances. When these macros can't resolve you get weird UI issues in the admin interface.

So did you do the macro reset? It was only one test to see if that was the issue, there may be other issues.

Also are the two instances the same Kentico version and hotfix?

1 votesVote for this answer Mark as a Correct answer

David Yu answered on April 5, 2018 13:45

works, thanks

0 votesVote for this answer Mark as a Correct answer

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