I'm using Kentico v11.0.48 and when I set up my live site I didn't have these problems. Now every time when I log in as admin it keeps logging me out. I've managed to look into the CMS_EventLog table an this is the error that I get.
EventID: 4613
EventType: E
EventTime: 11/26/2019 2:49:44 PM
Source: Application
EventCode: EndRequest
UserID: 65
UserName: public
IPAddress: 77.77.212.90
EventDescription: Message: Access to the path 'C:\Inetpub\vhosts\kukaj.ba\httpdocs\App_Data\CMSModules\WebFarm\webfarm.sync' is denied.
Exception type: System.UnauthorizedAccessException
Stack trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at CMS.WebFarmSync.AnonymousTasksProcesor.NotifyServer(String notificationPath)
at CMS.WebFarmSync.AnonymousTasksProcesor.get_NotifyWatcher()
at CMS.WebFarmSync.AnonymousTasksProcesor.RegisterWatchers()
at CMS.WebFarmSync.WebFarmSyncHandlers.<>c.b__0_0(Object sender, EventArgs args)
at CMS.Base.AbstractHandler.CallEventHandler[TArgs](EventHandler1 h, TArgs e)
at CMS.Base.AbstractHandler.Raise[TArgs](String partName, List
1 list, TArgs e, Boolean important)
at CMS.Base.SimpleHandler2.RaiseExecute(TArgs e)
at CMS.Base.SimpleHandler
2.RaiseExecute(TArgs e)
at CMS.Base.SimpleHandler2.StartEvent(TArgs e)
at CMS.DataEngine.CMSApplication.RaisePostStart()
at CMS.Base.LockHelper.ExecuteOnceInLifetime(Action action, Object lockObject, Boolean& executedFlag)
at CMS.DataEngine.CMSApplication.PostStart()
at CMS.DataEngine.CMSApplication.PostStart(Object sender, EventArgs e)
at CMS.Base.AbstractHandler.CallEventHandler[TArgs](EventHandler
1 h, TArgs e)
at CMS.Base.AbstractHandler.Raise[TArgs](String partName, List1 list, TArgs e, Boolean important)
at CMS.Base.SimpleHandler
2.RaiseExecute(TArgs e)
at CMS.Base.SimpleHandler2.RaiseExecute(TArgs e)
at CMS.Base.SimpleHandler
2.StartEvent(TArgs e)
at CMS.Base.ApplicationModule.EndRequest(Object sender, EventArgs e)
EventUrl: /CMSMessages/Error.aspx?aspxerrorpath=/CMSPages/logon.aspx
EventMachineName: OWNEROR-C0D5OK4
EventUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36
EventUrlReferrer: http://www.kukaj.ba/CMSPages/logon.aspx?ReturnUrl=%2fAdmin%2fCMSAdministration.aspx
I've checked the cookies and the cookies remain the same when it logs me out as they are when Im logged in.
What else do I need to check ?
Regards