Writing a file from BPM

The Epicor process (running the BPM) probably doesn't have security to
access that server/share, while your personal username does. Look at
the AdminService for OpenEdge service, the "Log On As" username, and
grant it access to that share.



Brian.



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of carl.heeder
Sent: Wednesday, May 02, 2012 3:58 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Writing a file from BPM





I'm writing a csv file from a BPM to a local machine that is (for
others) an FTP site.

When I write this file to a different URL, it writes correctly. But when
I write it to the target URL, it fails
This URL assign works:
assign AR_ShipTo_URL= "\\Sr0035hou\Public\Heeder\Europe\Ireland\ShpTo\"
+ "ShpTo" + string(time) + ".csv".

This URL assign fails:
assign AR_ShipTo_URL= "\\SR0021hou\ArcRoyal\" + "ShpTo" + string(time) +
".csv".

here's the error message:
** Unable to open file: \\SR0021hou\ArcRoyal\ShpTo49453.csv

But I can copy the error-prone URL from the code, paste it into Explorer
and it gets to the drive. I can also manually save and read from the
drive.

What could be wrong??





[Non-text portions of this message have been removed]
I'm writing a csv file from a BPM to a local machine that is (for others) an FTP site.


When I write this file to a different URL, it writes correctly. But when I write it to the target URL, it fails
This URL assign works:
assign AR_ShipTo_URL= "\\Sr0035hou\Public\Heeder\Europe\Ireland\ShpTo\" + "ShpTo" + string(time) + ".csv".

This URL assign fails:
assign AR_ShipTo_URL= "\\SR0021hou\ArcRoyal\" + "ShpTo" + string(time) + ".csv".


here's the error message:
** Unable to open file: \\SR0021hou\ArcRoyal\ShpTo49453.csv

But I can copy the error-prone URL from the code, paste it into Explorer and it gets to the drive. I can also manually save and read from the drive.

What could be wrong??