Hi guys I have a web app that processes XML data. There are many steps,
but to keep things simple, here are the relevant parts:
- A PGP
encrypted file is POSTED to my web site.
- I run a BATCH file to
decrypt the PGP file. This batch file is run via
System.Diagnostics.Process with WaitForExit set to TRUE (i.e. the
decrypt process should complete before any else happens). The decrypted
file is saved to a folder on my server as .XML.
- Load the XML doc for
processing via XmlTextReader.
I have extensive logs and ran across an
exception I can't explain. While trying to load the decrypted data into
XmlTextReader my app threw a System.IO.FileNotFoundException. My
application is not multi threaded, so all steps should complete
sequentially. I checked the timestamp of my logs when this
System.IO.FileNotFoundException was encountered which as 3:00 AM. I then
looked for the decrypted XML file the BATCH process should have
created, and it does exist, but the file created time stamp is 3:05 AM. I
can't understand why the file's created time is 3:05AM when my PGP
decrypt BATCH process says it completed @ 3:00 AM. Any ideas?
View Complete Post