Enterprise Library Caching
hi,
i getting error "could not find file" in th following line
cachemanager
cache = cachefactory.getcachemanager();but same code working in other system.
please me on this.
please find following error message.
system.io.filenotfoundexception unhandled
message="could not find file 'inboundlogistics\\-1208129235\\scpr'."
source="mscorlib"
filename="inboundlogistics\\-1208129235\\scpr"
stacktrace:
@ system.io.__error.winioerror(int32 errorcode, string maybefullpath)
@ 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)
@ system.io.filestream..ctor(string path, filemode mode, fileaccess access, fileshare share, int32 buffersize, fileoptions options, string msgpath, boolean bfromproxy)
@ system.io.isolatedstorage.isolatedstoragefilestream..ctor(string path, filemode mode, fileaccess access, fileshare share, int32 buffersize, isolatedstoragefile isf)
@ system.io.isolatedstorage.isolatedstoragefilestream..ctor(string path, filemode mode, fileaccess access, fileshare share, isolatedstoragefile isf)
@ microsoft.practices.enterpriselibrary.caching.backingstoreimplementations.isolatedstoragecacheitemfield.read(boolean encrypted)
@ microsoft.practices.enterpriselibrary.caching.backingstoreimplementations.isolatedstoragecacheitem.load()
@ microsoft.practices.enterpriselibrary.caching.backingstoreimplementations.isolatedstoragebackingstore.loaddatafromstore()
@ microsoft.practices.enterpriselibrary.caching.backingstoreimplementations.basebackingstore.load()
@ microsoft.practices.enterpriselibrary.caching.cache..ctor(ibackingstore backingstore, cachecapacityscavengingpolicy scavengingpolicy, cachinginstrumentationprovider instrumentationprovider)
@ microsoft.practices.enterpriselibrary.caching.cachemanagerfactoryhelper.buildcachemanager(string cachemanagername, ibackingstore backingstore, int32 maximumelementsincachebeforescavenging, int32 numbertoremovewhenscavenging, int32 expirationpollfrequencyinseconds, cachinginstrumentationprovider instrumentationprovider)
@ microsoft.practices.enterpriselibrary.caching.cachemanagercustomfactory.createobject(ibuildercontext context, string name, iconfigurationsource configurationsource, configurationreflectioncache reflectioncache)
@ microsoft.practices.enterpriselibrary.common.configuration.objectbuilder.configuredobjectstrategy.buildup(ibuildercontext context, type t, object existing, string id)
@ microsoft.practices.objectbuilder.builderstrategy.buildup(ibuildercontext context, type typetobuild, object existing, string idtobuild)
@ microsoft.practices.objectbuilder.singletonstrategy.buildup(ibuildercontext context, type typetobuild, object existing, string idtobuild)
@ microsoft.practices.objectbuilder.builderstrategy.buildup(ibuildercontext context, type typetobuild, object existing, string idtobuild)
@ microsoft.practices.enterpriselibrary.common.configuration.objectbuilder.configurationnamemappingstrategy.buildup(ibuildercontext context, type t, object existing, string id)
@ microsoft.practices.objectbuilder.builderbase`1.dobuildup(ireadwritelocator locator, type typetobuild, string idtobuild, object existing, policylist[] transientpolicies)
@ microsoft.practices.objectbuilder.builderbase`1.buildup(ireadwritelocator locator, type typetobuild, string idtobuild, object existing, policylist[] transientpolicies)
@ microsoft.practices.objectbuilder.builderbase`1.buildup[ttypetobuild](ireadwritelocator locator, string idtobuild, object existing, policylist[] transientpolicies)
@ microsoft.practices.enterpriselibrary.common.configuration.objectbuilder.enterpriselibraryfactory.buildup[t](ireadwritelocator locator, iconfigurationsource configurationsource)
@ microsoft.practices.enterpriselibrary.common.configuration.objectbuilder.locatornametypefactorybase`1.createdefault()
@ microsoft.practices.enterpriselibrary.caching.cachefactory.getcachemanager()
@ levi.lsa.usdistribution.orion.inboundlogistics.cachedata.getdata() in d:\orion\development\scsf\source\inboundlogistics\levi.lsa.usdistribution.orion.inboundlogistics\cachedata.cs:line 16
@ levi.lsa.usdistribution.orion.inboundlogistics.inboundtrailerssearchpresenter.getdefaultvalues() in d:\orion\development\scsf\source\inboundlogistics\levi.lsa.usdistribution.orion.inboundlogistics\views\inboundtrailerssearchpresenter.cs:line 117
@ levi.lsa.usdistribution.orion.inboundlogistics.inboundtrailerssearch.setdefaultvalues() in d:\orion\development\scsf\source\inboundlogistics\levi.lsa.usdistribution.orion.inboundlogistics\views\inboundtrailerssearch.cs:line 59
@ levi.lsa.usdistribution.orion.inboundlogistics.inboundtrailerssearch.onload(eventargs e) in d:\orion\development\scsf\source\inboundlogistics\levi.lsa.usdistribution.orion.inboundlogistics\views\inboundtrailerssearch.cs:line 43
@ system.windows.forms.form.oncreatecontrol()
@ system.windows.forms.control.createcontrol(boolean fignorevisible)
@ system.windows.forms.control.createcontrol()
@ system.windows.forms.control.wmshowwindow(message& m)
@ system.windows.forms.control.wndproc(message& m)
@ system.windows.forms.scrollablecontrol.wndproc(message& m)
@ system.windows.forms.containercontrol.wndproc(message& m)
@ system.windows.forms.form.wmshowwindow(message& m)
@ system.windows.forms.form.wndproc(message& m)
@ system.windows.forms.control.controlnativewindow.onmessage(message& m)
@ system.windows.forms.control.controlnativewindow.wndproc(message& m)
@ system.windows.forms.nativewindow.debuggablecallback(intptr hwnd, int32 msg, intptr wparam, intptr lparam)
@ system.windows.forms.safenativemethods.showwindow(handleref hwnd, int32 ncmdshow)
@ system.windows.forms.control.setvisiblecore(boolean value)
@ system.windows.forms.form.setvisiblecore(boolean value)
@ system.windows.forms.control.set_visible(boolean value)
@ system.windows.forms.application.threadcontext.runmessageloopinner(int32 reason, applicationcontext context)
@ system.windows.forms.application.threadcontext.runmessageloop(int32 reason, applicationcontext context)
@ system.windows.forms.form.showdialog(iwin32window owner)
@ system.windows.forms.form.showdialog()
@ levi.lsa.usdistribution.orion.inboundlogistics.modulecontroller.showinboundtrailerssearchhandler(object sender, eventargs e) in d:\orion\development\scsf\source\inboundlogistics\levi.lsa.usdistribution.orion.inboundlogistics\modulecontroller.cs:line 156
@ microsoft.practices.compositeui.commands.command.onexecuteaction(object sender, eventargs e)
@ microsoft.practices.compositeui.commands.commandadapter.firecommand()
@ microsoft.practices.compositeui.commands.eventcommandadapter`1.invokereventhandler(object sender, eventargs e)
@ system.windows.forms.toolstripitem.raiseevent(object key, eventargs e)
@ system.windows.forms.toolstripbutton.onclick(eventargs e)
@ system.windows.forms.toolstripitem.handleclick(eventargs e)
@ system.windows.forms.toolstripitem.handlemouseup(mouseeventargs e)
@ system.windows.forms.toolstripitem.fireeventinteractive(eventargs e, toolstripitemeventtype met)
@ system.windows.forms.toolstripitem.fireevent(eventargs e, toolstripitemeventtype met)
@ system.windows.forms.toolstrip.onmouseup(mouseeventargs mea)
@ system.windows.forms.control.wmmouseup(message& m, mousebuttons button, int32 clicks)
@ system.windows.forms.control.wndproc(message& m)
@ system.windows.forms.scrollablecontrol.wndproc(message& m)
@ system.windows.forms.toolstrip.wndproc(message& m)
@ system.windows.forms.control.controlnativewindow.onmessage(message& m)
@ system.windows.forms.control.controlnativewindow.wndproc(message& m)
@ system.windows.forms.nativewindow.debuggablecallback(intptr hwnd, int32 msg, intptr wparam, intptr lparam)
@ system.windows.forms.unsafenativemethods.dispatchmessagew(msg& msg)
@ system.windows.forms.application.componentmanager.system.windows.forms.unsafenativemethods.imsocomponentmanager.fpushmessageloop(int32 dwcomponentid, int32 reason, int32 pvloopdata)
@ system.windows.forms.application.threadcontext.runmessageloopinner(int32 reason, applicationcontext context)
@ system.windows.forms.application.threadcontext.runmessageloop(int32 reason, applicationcontext context)
@ system.windows.forms.application.run(form mainform)
@ microsoft.practices.compositeui.winforms.formshellapplication`2.start()
@ microsoft.practices.compositeui.cabapplication`1.run()
@ levi.lsa.usdistribution.orion.infrastructure.shell.shellapplication.runindebugmode() in d:\orion\development\scsf\source\infrastructure\levi.lsa.usdistribution.orion.shell\shellapplication.cs:line 56
@ levi.lsa.usdistribution.orion.infrastructure.shell.shellapplication.main() in d:\orion\development\scsf\source\infrastructure\levi.lsa.usdistribution.orion.shell\shellapplication.cs:line 47
@ system.appdomain.nexecuteassembly(assembly assembly, string[] args)
@ system.appdomain.executeassembly(string assemblyfile, evidence assemblysecurity, string[] args)
@ microsoft.visualstudio.hostingprocess.hostproc.runusersassembly()
@ system.threading.threadhelper.threadstart_context(object state)
@ system.threading.executioncontext.run(executioncontext executioncontext, contextcallback callback, object state)
@ system.threading.threadhelper.threadstart()
thanks in advance kindly help.
Architecture > Architecture General
Comments
Post a Comment