Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 73760

AX 2009 Table Insert IO Permissions

$
0
0

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. 

 


Viewing all articles
Browse latest Browse all 73760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>