Kentico 9 hotfix error

Dennis Hulsmans asked on March 14, 2016 15:33

Hi

I'm trying to install hotfix 9.0.14 via KIM, but I'm getting the following error:

[2016-03-14 15:21:47] Specified argument was out of the range of valid values. Parameter name: startIndexMessage: Specified argument was out of the range of valid values. Parameter name: startIndex Stack Trace: at System.String.Insert(Int32 startIndex, String value) at InstallationHelper.SlnManager.AddProject(SolutionProject project, Boolean overwrite) at InstallationHelper.SlnManager.UpdateSolutionFolder(String folderName) at Hotfix.HotfixInstaller.ApplyUpgrade(HotFixItemsEnum items, BackgroundWorker worker, DoWorkEventArgs e) at Hotfix.StepLog.BackgroundWorker_DoWork(Object sender, DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

Anyone ever seen this error?

  • Normal setup of the project, and project has been updated to version 9.09.
  • Source control is GIT
  • Staging has been configured

I've got another project with the same setup (except staging is not configured), and that project was updated successfully.

Kind regards,

Dennis

Correct Answer

Dennis Hulsmans answered on March 14, 2016 17:21

Hi,

I've found a solution.

Seems like my installation got corrupted. No idea how this could have happened, but I removed my entire folder, did a new pull from git and tried the KIM update again and it worked :)

0 votesVote for this answer Unmark Correct answer

Recent Answers


Peter Cranston answered on May 16, 2016 10:44

I got the same error when performing an upgrade from kentico 8.2 to 9. In my case, the problem was with the WebSite.sln file, which was (for some unknown reason) formatted to use Unix line endings. Updating this back to Windows format fixed the issue.

0 votesVote for this answer Mark as a Correct answer

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