Error occured when enabled deployment mode

giang le asked on November 20, 2014 03:02

Hi all,

When attempting to upgrade Kentico from 7 to 8, we encountered the following error message Could not find a part of the path... at step enabled deployment mode, see image below. Any ideas as to why? Can we ignore and continue? If yes, why?

Image Text

Thank you!

Recent Answers


Virgil Carroll answered on November 20, 2014 15:20

Can you share more about the scenario you are doing? In the deployment process you need to store all files in the local file store to run the process. Before proceeding I would make sure that none of the referenced files above are ones you need. You should be able to click the Store all virtual objects in file system and theoretically it should take care of your problem so you can proceed.

If not you are going to have to look at why those files are not being moved to the file system.

0 votesVote for this answer Mark as a Correct answer

giang le answered on November 20, 2014 15:54

Hi,

I clicked to "Store all virtual objects in database" to return the files to the database before performing the upgrade(follow upgrading guide). But after system store all files to database, there are errors occurred as you can see above, but I ignore this error and continue do upgrade. However, I have a question: Why did this error occurred? Can we ignore them

0 votesVote for this answer Mark as a Correct answer

Martin Danko answered on November 20, 2014 16:26

Hello Giang,

Could you please verify your code according to the following section of Developers Guide: Customizing web part layout

Especially this part:

"The Control declaration in the markup of the web part's user control file must contain the full relativepath to the code behind file in the CodeFile attribute"

example: CodeFile="~/CMSWebParts/Navigation/cmslistmenu.ascx.cs

Best regards, Martin

0 votesVote for this answer Mark as a Correct answer

giang le answered on November 20, 2014 16:36

Hi Martin,

I thought the files in error above are not Custom files and I didn't change anything in one of them.

Thank! GiangLt3

0 votesVote for this answer Mark as a Correct answer

Virgil Carroll answered on November 20, 2014 21:47

Giang,

Not sure you should ever totally ignore the error, but I would assume that if these files are not part of your solution your are moving then it will probably not effect anything. With that being said, I would check if those files are in your directory and mostly should they have been?

At the very least, if you are migrating this somewhere else or doing some kind of in-place process, I would take a full back up of the database and site directory just in case.

Tx, Virgil

0 votesVote for this answer Mark as a Correct answer

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