You need to Register for free and Login to post a message in the forum.

Forum

Subject: Intermittent error - Caching on web farm
Prev Next
You are not authorized to post a reply.

Author Messages
Marcusw
Nuke Pro
Nuke Pro
Posts:63

13 Mar 2008 6:29 AM  

Hi,

I'm getting an intermittent problem in my Web Farmm enabled DNN 4.6.2 installation. It can occur in any part of the application .... Esentially the event view shows the following error/trace.

ModuleId: 439
ModuleDefId: 99
FriendlyName: Site Map
ModuleControlSource: DesktopModules/DNNMasters_SiteMap/SiteMap.ascx
AssemblyVersion: 04.06.02
PortalID: 3
PortalName
UserID: 1
UserName: host
ActiveTabID: 102
ActiveTabName: Site Map
RawURL: /FooterMenu/SiteMap/tabid/102/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.obsrfundratings.co.uk/registered/Home/tabid/82/Default.aspx
UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-us) AppleWebKit/523.15.1 (KHTML, like Gecko) Version/3.0.4 Safari/523.15
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 22ca6117-02e6-4ba0-9398-995a5a89a2ff
InnerException: The process cannot access the file 'D:\WebFiles\Fundratings\Portals\_default\Cache\VGFiczM=.resources' because it is being used by another process.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.IO.__Error.WinIOError
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: The process cannot access the file 'D:\WebFiles\Fundratings\Portals\_default\Cache\VGFiczM=.resources' because it is being used by another process. ---> System.IO.IOException: The process cannot access the file 'D:\WebFiles\Fundratings\Portals\_default\Cache\VGFiczM=.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.Entities.Tabs.TabController.GetTabsByPortal(Int32 PortalId) at DotNetNuke.Entities.Tabs.TabController.GetTabs(Int32 PortalId) at DNNMasters.SiteMap.SiteMap.addNode(SiteMapNodeCollection pNodes, TabInfo pTab, Int32 portalId) at DNNMasters.SiteMap.SiteMap.addNode(SiteMapNodeCollection pNodes, TabInfo pTab, Int32 portalId) at DNNMasters.SiteMap.SiteMap.BindData(Int32 portalId) at DNNMasters.SiteMap.SiteMap.setDataByPortal(Int32 portalId) at DNNMasters.SiteMap.SiteMap.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

This appears be something to do with caching? It is running on clustered web farm environment with 4 web servers.

 Any help greatly appreciated!!

jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2357


13 Mar 2008 7:47 AM  
If you haven't done so already, I'd suggest that you also ask the question over at the DotNetNuke forum. Not a lot of us have direct experience with DotNetNuke on web farms.

Joe Craig
DNN Creative Support
Subscribe to the website
jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2357


13 Mar 2008 7:48 AM  
Looking a bit more closely:  here is the key thing, I think ...

"The process cannot access the file 'D:\WebFiles\Fundratings\Portals\_default\Cache\VGFiczM=.resources' because it is being used by another process."

Joe Craig
DNN Creative Support
Subscribe to the website
Marcusw
Nuke Pro
Nuke Pro
Posts:63

13 Mar 2008 2:24 PM  

Hi Joe,

Sorry, I don't understand what you mean by your last reply.

Cheers,

Marcus.

jncraig
DNN Creative Staff
Nuke Master II
Nuke Master II
Posts:2357


13 Mar 2008 8:37 PM  
The error message indicated that a file is being used by another process. I suppose that this has to do with the web farm environment, but I have no idea what it really means.

Joe Craig
DNN Creative Support
Subscribe to the website
You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > Intermittent error - Caching on web farm



ActiveForums 3.7

Latest Forum Posts

Yahoo Answers by cdtguru
Hey, i was wondering if anyone knew of a module that would create a similar system to Yahoo Answers...
(catalook) Itempane changes on product pages ?? by Gaz35
Hi , hi , I don’t know if you can help me , here is the site in question http...
RE: Virtual Pc 2007 help by jeff@zina.com
You need to get the Virtual PC's network set up.  Might check the Virtual PC news group: http://www...
DNNCreative Just Keeps Getting Better by jeff@zina.com
Kudos on issue 39, the article on importing large quantities of data was both timely for me and spot...
RE: Videos by clippy
Hello from France My question is about the videos for beginners, and specially n° 3; I'm working...
skinning trouble by derpir
HelloI have uploaded a skin to my DNN-website, but I want to make som changes. I have made some chan...
RE: Column width in UDT by VickySwift
In case anyone else is looking for the answer to this, I have been able to add the headers back in b...
RE: search not working by jncraig
Did you either reindex the site to turn on the scheduled task to do it?
RE: Template Issue by jncraig
No, you need to install your custom modules before you use the template.
RE: error message in registration page by jncraig
I'm not sure that you can avoid them, short of rewriting the module.You might want to investigate Dy...
Template Issue by Bobbyjosephg
Hi,   Today I have come up with a problem with templates.I was successful in exporting a template an...
RE: search not working by sanju_k1421
I checked     host==>admin search  page   that is set both limits min //max  page     still i m n...
RE: error message in registration page by coder247
but how do I avoid the error messages provided by default in dnn?
RE: Style sheet does nothing by andorz
Oh. I was told to do that in my thread at the dotnetnuke.com forum. http://www.dotnetnuke.com/Commun...
RE: Videos by clippy
Thank you to answer so quickly. It's really kind from you. I appreciate
RE: Simple subscribe newsletter module by jncraig
I seem to recall that DataSprings has an "Opt In" module. I haven't used it, though.
RE: Videos by jncraig
No, you can view them in any order.
RE: Skim Question by tlsadler
Wow! Went to Snowcovered and the 50% off Promo more then paid for itself. I actually wound up buying...
Videos by clippy
Hello from FranceJust a little questionIs there any order to respect to look the videos ("issues"). ...
RE: Skim Question by tlsadler
Thank you very much. I've followed many of your posts and will check it out. I had thought about get...
DotNetNuke Modules
RSS Feeds