I am recently upgraded to dnn 4.5 from 4.4.1 Everything seemed to be functioning well under the version 4.4.1 setup in my test environment, but not in the production environment. I was able to resolve the issue by upgrading to 4.5, but after upgrading my test and production setup I have problems with load times in both environments. When looking through the log viewer I see the following Error listed as a "General Exception". This seems to be the most common error and a caching issue seems to be the most relevant to slower load times, so I am assuming this is the problem. The error code is below, my employer has asked me not to give out the production url at this time, but no other information has been changed.
AssemblyVersion: 04.05.00
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
RawURL: /Support/tabid/81/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://xxxxxx.xxxxxxxx.local/
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 2e9cfd54-6da5-43a0-8d82-7cb3b42f7bf9
InnerException: The process cannot access the file 'E:\DNN\Portals\_default\Cache\VGFiUGVybWlzc2lvbnMw.resources' because it is being used by another process.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.IO.__Error.WinIOError
StackTrace:
Message: System.IO.IOException: The process cannot access the file 'E:\DNN\Portals\_default\Cache\VGFiUGVybWlzc2lvbnMw.resources' because it is being used by another process. 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.TabPermissionController.GetTabPermissionsDictionary(Int32 PortalId) at DotNetNuke.Security.Permissions.TabPermissionController.GetTabPermissionsCollectionByTabID(Int32 TabID, Int32 PortalId) at DotNetNuke.Entities.Tabs.TabController.FillTabInfo(IDataReader dr, Boolean CheckForOpenDataReader) at DotNetNuke.Entities.Tabs.TabController.FillTabInfoDictionary(IDataReader dr)
Source:
Server Name: DNNWEB1
Does anyone have any idea what is causing this?
Regards