Hi,
I followed the Hands-on Lab M2-1: Alternative Forms from the DEV01 Course using KENTICO 8, when I reached the point where need to save the updated text in the new Alternative Form I get a message "THE ENTERED VALUES CANNOT BE SAVED. PLEASE SEE THE FIELDS BELOW FOR DETAILS"
I checked the logs for errors and this is what I can see.
Message: Access to the path 'C:\inetpub\wwwroot\Kentico8\CMS\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, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
at CMS.WebFarmSync.WebSyncHelper.get_NotifyWatcher()
at CMS.WebFarmSync.WebFarmSyncHandlers.ProcessWebFarmTasks(Object sender, EventArgs eventArgs)
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.Base.LockHelper.ExecuteOnceInLifetime(Action action, Object lockObject, Boolean& executedFlag)
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)