XmlTextWriter w3wp.exe
Account Home | Help | Blog | Contact us | Log Out


Welcome to Kbytes > Articles

XmlTextWriter w3wp.exe

Posted By: siteadmin on 23/04/2013 12:02:00

 

Dim writer as XmlTextWriter = new XmlTextWriter( "debug.xml",nothing)
Writer.Formatting = Formatting.Indented
doc.Save(writer)
writer.close   'MUST DO THIS OR IT LOCKS THE FILE lock caused by IIS w3wp.exe
 
 
We had some code like this above.  You must close the writer or it hangs.

blog comments powered by Disqus

Kbytes Home | Privacy Policy | Contact us | Testing Area

© 2004 - 2018 1 Oak Hill Grove Surbiton Surrey KT6 6DS Phone: +44(020)82617371