Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 4.x > Installation and deployment > Error after migrate Site to new machine View modes: 
User avatar
Member
Member
Christian.Wall-buetema-ag - 7/18/2011 5:21:50 AM
   
Error after migrate Site to new machine
Hello,

last week we migrated our Kentico CMS site from an old Win2k3 server to a new Win2k8 R2 Webserver (kentico cms 4.1). We did everything as described in the FAQ.

But sometimes when we or customers try to visit the site the get an error. In Eventlog we get the following exception:

Source: Application_Error
EventCode: EXCEPTION
UserID: 65
UserName: public
NodeID: 1
EventDescription: EXCEPTION MESSAGE: The given key was not present in the dictionary.; STACK TRACE: at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.SortedDictionary`2.get_Item(TKey key)
at CMS.WebAnalytics.AnalyticsHelper.IPHasVisited(String ip, String siteName)
at Global.LogVisitor(SiteNameOnDemand siteName)
at Global.RewriteUrl(String relativePath, ExcludedSystemEnum excludedEnum, ViewModeOnDemand viewMode, SiteNameOnDemand siteName)
at Global.Application_AuthorizeRequest(Object sender, EventArgs e)
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

does anybody know what the error means? If we reset iis the site work's for eg. 1 hour and than we get the error again?

Thanks for help.

Wbr
Chris

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 7/18/2011 5:40:20 AM
   
RE:Error after migrate Site to new machine
Hello,

This is actually a known bug which has been fixed in the 4.1.7 hotfix. Please apply the latest 4.1.21 hotfix to fix your issue: hotfixes.

Best regards
Ondrej Vasil