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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Concurrent cache access exceptionConcurrent cache access exception
Previous
 
Next
New Post
7/9/2014 9:06 AM
 

I don't know if it's something already known and to be fixed but I have very rare exception of this kind. It seems the .resources file is in use by concurrent processes:

 

AssemblyVersion:7.3.1

PortalID:0

PortalName:Star Tech

UserID:1

UserName:manight

ActiveTabID:56

ActiveTabName:Home

RawURL:/

AbsoluteURL:/Default.aspx

AbsoluteURLReferrer:

UserAgent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.153 Safari/537.36

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:6b4c32c7-60f0-4573-bd03-e69cdd220b58

InnerException:Il processo non può accedere al file 'C:\.......................\Portals\0-System\Cache\Pages\554_8FC0EAAA6409A14C8BFCC99048CB5A7A7ADF9364454934F7A87EAACA6696F4A6.data.resources' perché è in uso da un altro processo.

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:System.IO.__Error.WinIOError

StackTrace:

Message:

System.IO.IOException: Il processo non può accedere al file 'C:\.......\wwwroot\Portals\0-System\Cache\Pages\554_8FC0EAAA6409A14C8BFCC99048CB5A7A7ADF9364454934F7A87EAACA6696F4A6.data.resources' perché è in uso da un altro processo.
   in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   in 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)
   in System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   in System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes, Boolean checkHost)
   in DotNetNuke.Services.ModuleCache.FileProvider.SetModule(Int32 tabModuleId, String cacheKey, TimeSpan duration, Byte[] output)

 

Source:

 

 
New Post
7/9/2014 9:11 AM
 
Max,

do you have a virus scanner installed on your server? If yes, try to exclude this folder (or better the whole DNN installation) from the system scans.

Best wishes
Michael

Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
7/9/2014 9:44 AM
 
Hallo Michael this could very well be the "issue" behind it.
It would be nice to have the virus scan user uploaded content btw I guess. maybe just exclude the resource/cache folders would be a better option.
I'll try. Thanks for your precious hint! What is the 0-system in the portals dir btw? I never noticed that -system stuff in 7.2.2 ?
 
New Post
7/9/2014 11:00 AM
 
DNN 7.3 separates between user files and system files (skins and cache).
The separation is necessary to allow the complete portal folder (0) to a different location (cloud, share), while system files need to remain locally.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/8/2015 2:21 AM
 
Hi Guys,

was this resolved as a anti virus issue?

I get the same issue, but we are not running any anti virus on the web server as it is an internal one.

System.IO.IOException: The process cannot access the file 'I:\inetpub\.................data.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, 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.File.InternalWriteAllBytes(String path, Byte[] bytes, Boolean checkHost)
at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
at DotNetNuke.Services.ModuleCache.FileProvider.SetModule(Int32 tabModuleId, String cacheKey, TimeSpan duration, Byte[] output)

thanks

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Concurrent cache access exceptionConcurrent cache access exception


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