code upgrade tool error

Mark Elliott asked on April 27, 2016 17:22

I am trying to run the code upgrade tool against our 8.2 instance to prepare to move to 9 but it's giving me an exception of "The given path's format is not supported". Not quite sure what the issue could be since I'm simply entering on the cmd line codeupgrade pathtosolutionfile

Any ideas?

Correct Answer

Mark Elliott answered on April 28, 2016 23:19

Well it turns out that the issue was buried inside the sln file. The localhost URL should be changed to the relative file system path to the SLN file

0 votesVote for this answer Unmark Correct answer

Recent Answers


Chetan Sharma answered on April 27, 2016 19:59

Are you copy pasting the path on the command line or using tabs from say like C:\ directory. I am sure that you are using back slash?

0 votesVote for this answer Mark as a Correct answer

Mark Elliott answered on April 27, 2016 21:20 (last edited on April 27, 2016 21:20)

I drag the file to the command line to create the path - same as Ive done for years. The path is correct C:\directory\directory\directory\directory\WebSite.sln

0 votesVote for this answer Mark as a Correct answer

Chetan Sharma answered on April 28, 2016 15:51

Hi Mark, I tried two test cases to see if I am also able to produce. I have two installations on my system for Kentico. One is Kentico 8.2 and other is 9.

 Test 1 - Ran CodeUpgrade "Path to Solution file" for Kentico 9 using tool. I got same error as yours.

 Test 2 - Ran CodeUpgrade "Path to Solution file" for Kentico 8.2 using tool. The tool ran successfully.

I am not sure if it will really work, can you try putting your path inside double quotes and see. This seems more of some internal exception.

Thanks, Chetan

0 votesVote for this answer Mark as a Correct answer

Mark Elliott answered on April 28, 2016 16:26

Yes tried putting the path inside quotes and got the same result. If you are getting same error it must be some issue with the utility.

0 votesVote for this answer Mark as a Correct answer

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