I am working on some code that writes a custom text file and then e-mails it to a recipient.
It has been working great in my development environment, but as soon as I did an override on a table Insert method to call the same code, I get an IO error because my custom method no longer has the necessary File access to write to the location it was writing to in testing. I am currently using WINAPI::getTempPath() to get the location to store my file.
Either I need to know of a location where I can store this file that the method does have permission to write to, or...
I need to be able to change permissions to allow the Table.Insert() call to write the file in its previous location.
Your thoughts?
Thanks.