Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...4.4.1 to 4.5 upgrade, caching error4.4.1 to 4.5 upgrade, caching error
Previous
 
Next
New Post
4/16/2007 10:44 AM
 

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

 
New Post
4/16/2007 2:45 PM
 

Go to Host Settings and under performance set the Module Caching to Memory instead of Disk.


DotNetNuke Modules from Snapsis.com
 
New Post
4/17/2007 5:49 PM
 

Thank you for that tip.  That seemed to work for a bit, but I'm having the same problem.  Are there any other potential sources for this problem?

 
New Post
4/17/2007 11:29 PM
 

Yes, in web.config there is a setting for "EnableCachePersistance", set that to false.


DotNetNuke Modules from Snapsis.com
 
New Post
4/18/2007 1:42 AM
 

Also under Host Settings + Advanced Settings :Performance there is a palce to select Page State Persistence.

Make sure that is set to page.


DotNetNuke Modules from Snapsis.com
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...4.4.1 to 4.5 upgrade, caching error4.4.1 to 4.5 upgrade, caching error


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out