Running two webheads on NLB. I have five instances of DNN running and each one is failing to complete the scheduled task of: "DotNetNuke.Services.Cache.PurgeCache, DOTNETNUKE".
I'm getting desperate trying to figure out why I get this exception:
AssemblyVersion: -1
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL:
AbsoluteURL:
AbsoluteURLReferrer:
UserAgent:
DefaultDataProvider:
ExceptionGUID:
InnerException: Access to the path '\\tpa2-adm-001\egovt01\Portals\_default\Cache\TW9kdWxlUGVybWlzc2lvbnM3Mw==.resources' is denied.
FileName:
FileLineNumber: -1
FileColumnNumber: -1
Method:
StackTrace:
Message: System.UnauthorizedAccessException: Access to the path '\\tpa2-adm-001\egovt01\Portals\_default\Cache\TW9kdWxlUGVybWlzc2lvbnM3Mw==.resources' is denied. 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) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.StreamWriter.CreateFile(String path, Boolean append) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) at System.IO.StreamWriter..ctor(String path, Boolean append) at System.IO.File.CreateText(String path) at DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider.CreateCacheFile(String FileName) at DotNetNuke.Services.Cache.FileBasedCachingProvider.FBCachingProvider.Insert(String CacheKey, Object objObject, CacheDependency objDependency, DateTime AbsoluteExpiration, TimeSpan SlidingExpiration, Boolean PersistAppRestart) at DotNetNuke.Common.Utilities.DataCache.SetCache(String CacheKey, Object objObject, TimeSpan SlidingExpiration, Boolean PersistAppRestart) at DotNetNuke.Security.Permissions.ModulePermissionController.GetModulePermissionsDictionary(Int32 TabId) at DotNetNuke.Security.Permissions.ModulePermissionController.GetModulePermissionsCollectionByModuleID(Int32 ModuleId, Int32 TabId) at DotNetNuke.Entities.Modules.ModuleController.FillModuleInfo(IDataReader dr, Boolean CheckForOpenDataReader, Boolean IncludePermissions) at DotNetNuke.Entities.Modules.ModuleController.FillModuleInfoCollection(IDataReader dr, Boolean IncludePermissions)
Source:
Server Name: TPA1-WEB-004
The permissions are correctly set up to allow the Network Services access to the Cache folder. Is there another process that needs access??