Unable to run a Kentico Solution locally

Lucy Crespin asked on February 25, 2019 10:58

The Situation: I am working on a website that has been recently updated from Kentico 8.2 to Kentico 9 and then from Kentico 9 to Kentico 10. According to the upgrade logs, all upgrades were successful, however, Kentico SmartSearch is no longer functional following the upgrades Error: "Error loading the WebPart 'SearchBox' of type 'SearchBox'".

The Objective: My objective is to create a development copy of the live website in my local machine so I can fix the issue and test it locally and I am unsure on how to accomplish that.

The Problem: I have asked for an exact clone of the folder, solution and Database from the live website, I've imported the database to my sql server and after that I've opened the solution on Visual Studio 2017 Community Edition, updated the CMSConnectionString to match the new db path and I've tried to build the solution, there were some errors that I've fixed by updating the references names, removing the obsolete ones and at this point the Solution Builds without errors, however I am unable to make it run on my local Machine, whenever I try to run it in my local machine I have the following exception

Recent Answers


David te Kloese answered on February 25, 2019 11:04

"whenever I try to run it in my local machine I have the following exception"

You seem to miss something after your last sentence? Most likely you'll have trouble reaching the database (DB permissions), reaching the Site (IIS config/bindings/or permission on file system), or in case you reach the site it could be a missing localhost or other dev url license in Kentico.

Does any of this sound correct?

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on February 25, 2019 13:42

Hi,
Have you also made all the API Changes and have you made sure the code files for the web parts are present in your project folder? Also, in the Event log there should be more detailed error message telling what is wrong.

0 votesVote for this answer Mark as a Correct answer

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