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 ...Migrated to production server, now cannot access the cacheMigrated to production server, now cannot access the cache
Previous
 
Next
New Post
7/30/2009 7:04 AM
 

Hi

I've just moved my DNN install accross to the production server.  After several problems with oracle i eventually got the site to load.  The problem however is that the site is constantly throwing errors relating to the cache.

InnerException: Access to the path 'C:\inetpub\wwwroot\Portals\_default\Cache\EE03847451035087BF4B938E352A8CD4.resources' is denied.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.IO.__Error.WinIOError
StackTrace:
Message: System.UnauthorizedAccessException: Access to the path 'C:\inetpub\wwwroot\Portals\_default\Cache\EE03847451035087BF4B938E352A8CD4.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, 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..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, String CacheKey)

This in turn is causing timeouts as the errors are generated more or less every second.  They are also only when certain modules are loaded into the page.

Any help would be much appreciated.

 

Simon

 
New Post
7/30/2009 7:25 AM
 

Have you refreshed your file permissions and restarting IIS?
Cleared your cache?
Which version of DNN?

only when certain modules are loaded into the page.

A certain type of module? - if so which?

Does altering the cache setting for the module make any difference?

Thanks...



Alex Shirley


 
New Post
7/30/2009 7:35 AM
 

Nevermind just after posting i cleared the cache and the problem seems to have gone away

 
New Post
7/31/2009 4:19 AM
 

Hmm seems clearing the cache didn't solve the problem after all.

I've restarted IIS and the virtual server it's on. - didn't work

I'm running the latest stable release 5.1.1

I was vague when i said certain modules as i'm not entirely sure which ones are causing it.  I have several custom modules and the error seems to be completely random.  I tried installing the Announcements and FAQ modules and the errors started popping up.  Seems it managed to install Announcements but FAQ was causing the error.  Other than that i can't seem to recreate the error 100% of the time.  Sometimes an action will cause it other times everything works fine.

I'm not really sure what you mean by "Have you refreshed your file permissions"? 

Also one more thing, i've started getting new errors relating to the cache:

InnerException: The process cannot access the file 'C:\inetpub\wwwroot\Portals\_default\Cache\180564D7100F5C64B401E53D1AB057D4.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 'C:\inetpub\wwwroot\Portals\_default\Cache\180564D7100F5C64B401E53D1AB057D4.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, 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..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, String CacheKey)

 

This was then followed by about 20 "System.UnauthorizedAccessException: Access to the path 'C:\inetpub\wwwroot\Portals\_default\Cache\D2297B1E2CCBF2B81A0FD1B3DE261080.resources' is denied." errors.  I think the modules that generated those were storing stuff as session variables.  Thats the only link i seem to be able to notice.

Thanks

 

Simon

 
New Post
8/26/2009 1:51 AM
 

Simon,

Did you ever find a fix for this? After upgrading from Version 4.9.4 to Version 5.1.1 I started to receive the exact same errors (\Portals\_default\Cache\D2297B1E2CCBF2B81A0FD1B3DE261080.resources' is denied.). It happens even without loading any pages but just refreshing the event viewer but when loading pages the errors multply very quickly. Turning off the system cache did not seem to make a difference.

I would appreciate any help at all. The site seems to be working but the event log is filling up very quickly.

Mike 


Kist Enterprises
www.kistenterprises.com
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Migrated to production server, now cannot access the cacheMigrated to production server, now cannot access the cache


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