Hi there,I am working on a website that has been recently updated from 8.2 to 9 and then from 9 to 10.
According to the upgrade logs, all upgrades were successful, however, the Kentico SmartSearch is no longer functional following the upgrades Error: @Error loading the WebPart 'SearchBox' of type 'SearchBox'@.My objective is to create a development copy of the live website in my local machine and I am unsure on how to accomplish that.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:Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
CMS.URLRewritingEngine.URLRewriter.RewriteUrl(String relativePath, ExcludedSystemEnum excludedEnum, SiteNameOnDemand siteName, ViewModeOnDemand viewMode) +2387
CMS.URLRewritingEngine.URLRewriter.RewriteUrl(RequestStatusEnum status, String relativePath, ExcludedSystemEnum excludedEnum) +61
CMS.URLRewritingEngine.URLRewritingHandlers.RewriteUrl(Object sender, EventArgs e) +50
CMS.Base.AbstractHandler.CallEventHandler(EventHandler'1 h, TArgs e) +100
CMS.Base.AbstractHandler.Raise(String partName, List'1 list, TArgs e, Boolean important) +714
CMS.Base.SimpleHandler'2.RaiseExecute(TArgs e) +100
CMS.Base.SimpleHandler'2.RaiseExecute(TArgs e) +143
CMS.Base.SimpleHandler'2.StartEvent(TArgs e) +217
CMS.Base.ApplicationModule.PostResolveRequestCache(Object sender, EventArgs e) +16
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +201
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +132
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean@ completedSynchronously) +73
My question is: What am I missing to successfully run this solution in my local machine?I kindly thank you guys in advance for reading and possibly replying to this.
↧