By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,159 Members | 1,880 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,159 IT Pros & Developers. It's quick & easy.

"locked by another application" problem

P: n/a
I am loading an XML File and validating that against an XSD file. Sometimes
when there is an error in the XML file, system locks the file and I am not
able to change the content of the file. When saving, It says that the file
may have been "locked by another application". Now i cannot fix the error
because i cannot save the changes. Probably the file get locks by
aspnet_wp.exe. How can I fix this ? I tried to load the file as readonly but
does not help.
Thanks in advance
Raja
Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
In development you could go to the command line and run IISRESET.

If you need to track down which process actually has the file locked,
you can use FileMon from sysinternals:
http://www.sysinternals.com/ntw2k/source/filemon.shtml

HTH,

--
Scott
http://www.OdeToCode.com

On Tue, 6 Jul 2004 23:55:08 +0200, "Ing. Rajesh Kumar" <iambad(Without
This)@post.cz> wrote:
I am loading an XML File and validating that against an XSD file. Sometimes
when there is an error in the XML file, system locks the file and I am not
able to change the content of the file. When saving, It says that the file
may have been "locked by another application". Now i cannot fix the error
because i cannot save the changes. Probably the file get locks by
aspnet_wp.exe. How can I fix this ? I tried to load the file as readonly but
does not help.
Thanks in advance
Raja


Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.