Hi Feng,
Since File system it self is not server transparent so directly read/write
file in asp.net web application will cause problems in loading balance
enviornment. Generally, we would suggest avoid such temp file processing.
If it is really necessary to do so, I think you can consider Lucas's
suggestion on make temp dir in a shared public place. Also, you can make
check when accessing the temp file, if not exist recreate it again.
Thanks,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Subject: Re: Read/Write to a physical file in a web farm?
| From: Lucas Tam <RE********@rogers.com>
| References: <ue**************@TK2MSFTNGP10.phx.gbl>
| Organization: None of Your Business!!!
| Message-ID: <Xn**************************@127.0.0.1>
| User-Agent: Xnews/??.01.30
| X-Face:
#gFwhH/LPM9"eq<Dzb3~[P'7%dS98vHkcFbX;SjezglosS.OP?:tzhHT7o=G03o0%St#;xT bMCCP
'rF/EnVDK-y*a(Qh3J)+Fn]"/&@D(dOG=ITH!\afBA$O}D";gSvoEpfd
| Reply-To:
RE********@rogers.com
| Lines: 11
| X-Complaints-To:
ab***@easynews.com
| X-Complaints-Info: Please be sure to forward a copy of ALL headers
otherwise we will be unable to process your complaint properly.
| Date: Tue, 23 Aug 2005 04:30:55 GMT
| Path:
TK2MSFTNGXA01.phx.gbl!TK2MSFTFEED02.phx.gbl!tornad o.fastwebnet.it!tiscali!ne
wsfeed1.ip.tiscali.net!newshub.sdsu.edu!newsfeed.n ews2me.com!newsfeed2.easyn
ews.com!easynews.com!easynews!easynews-local!fe04.news.easynews.com.POSTED!n
ot-for-mail
| Xref: TK2MSFTNGXA01.phx.gbl
microsoft.public.dotnet.framework.aspnet:119620
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| "Feng Chun" <fe******@newsgroup.nospam> wrote in news:ueeGrS5pFHA.3884
| @TK2MSFTNGP10.phx.gbl:
|
| > how to solve this issue?
|
| Write to a central file sever or file share?
|
| --
| Lucas Tam (RE********@rogers.com)
| Please delete "REMOVE" from the e-mail address when replying.
|
http://members.ebay.com/aboutme/coolspot18/
|