Below error i am getting, i don't know whether it's related with above or not, but i think so.
Exception information:
Exception type: EntityMetadataNotFoundException
Exception message: The entity with ObjectTypeCode = 10096 was not found in the MetadataCache.
at Microsoft.Crm.Metadata.DynamicMetadataCache.GetEntity(Int32 entityCode)
at Microsoft.Crm.Security.User.GetPrivilege(Int32 objectType, PrivilegeId privilegeId, IOrganizationContext context)
at Microsoft.Crm.Application.PrivilegeIdDictionary.CheckPrivileges()
at Microsoft.Crm.Application.MasterSiteMapSubArea.CheckPrivileges(Client client, Boolean isOffline)
at Microsoft.Crm.Application.SiteMapEntitySubArea.CheckPrivileges(Client client, Boolean isOffline)
at Microsoft.Crm.Application.MasterSiteMapGroup.FilterForUser(IUser user, Client client, Boolean isOffline, IOrganizationContext context)
at Microsoft.Crm.Application.MasterSiteMapArea.FilterForUser(IUser user, Client client, Boolean isOffline, String forceGroupProfiles, IOrganizationContext context)
at Microsoft.Crm.Application.MasterSiteMap.FilterForUser(IUser user, Client client, Boolean offline, String forceGroupProfiles, IOrganizationContext context)
at Microsoft.Crm.Application.SiteMap.GetSiteMapForUser(IUser user, Client client, Boolean isOffline, String forceGroupProfiles)
at Microsoft.Crm.Application.Controls.AppNavBar..ctor()
at ASP.cardtronicsprodlatest_main_aspx.__BuildControlTree(cardtronicsprodlatest_main_aspx __ctrl)
at ASP.cardtronicsprodlatest_main_aspx.FrameworkInitialize()
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)