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...Skins, Themes, ...Skins, Themes, ...Error installing skin: could not delete Cache\{guid}.resourcesError installing skin: could not delete Cache\{guid}.resources
Previous
 
Next
New Post
4/18/2011 9:41 AM
 
I am having this error when installing a skin on a site.

I have the same site in multiple environments (copy of the directory and copy of database) and the skin installs just fine in other environments, but when I do it on the one, it fails with this message:

System.IO.IOException: The process cannot access the file '...\Portals\_default\Cache\39F21F870597871B46BA8F446DF665F9.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, String CacheKey)

It is failing when I do the install from host-> extensions and when I do the install by copying to the install/skins directory and visiting install.aspx?mode=installresources. What can I do?
 
New Post
4/18/2011 11:50 AM
 
Do you have multiple websites in IIS pointing to the same directory?
You might try recycling the application pool and then try installing the skin to see if that clears up the issue

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
4/18/2011 11:58 AM
 
There is only one virtual directory pointing at this dnn instance and it is in its own application pool (on windows server 2008 R2).

Recycling this pool does not get rid of the problem.

I think this is dnn 5.1, we are in the midst of upgrading dnn but that project has not made it to this site yet.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Error installing skin: could not delete Cache\{guid}.resourcesError installing skin: could not delete Cache\{guid}.resources


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