Support Forum

Ask questions and get help from MobileTogether experts.
MobileTogether Product Information
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
Philip Michael  
#1 Posted : Saturday, February 13, 2021 2:43:43 PM(UTC)
Philip Michael

Rank: Member

Groups: Registered
Joined: 12/31/2019(UTC)
Posts: 26
United States
Location: Missouri

Thanks: 7 times
I am trying to read\write images using a UNC ("\\fs1\mypath\myfile.jpg") path with the Load/Save Binary File action and it works just fine from the Designer. When I deploy to the server, I get an error message on the same image file: "The only allowed location for reading is C:\ProgramData\Altova\Mobile-TogetherServer\SolutionFiles\"

Please help!
Philip Michael  
#2 Posted : Sunday, February 14, 2021 10:47:59 PM(UTC)
Philip Michael

Rank: Member

Groups: Registered
Joined: 12/31/2019(UTC)
Posts: 26
United States
Location: Missouri

Thanks: 7 times
I think I figured this out, sort of. If I set the Altova Service to start with a Domain User ID that has read/write access to the UNC folder I'm trying to access and I set the "Server side solution's working directory" on the Altova Server to that UNC or anything before it, I can read/write binary files to that UNC path. As long as you can setup your solution to use only one UNC path then you should be good to go. In my case, the UNC path is a file share on another server and I can create folders and files within and I don't need to connect to another server. For instance:
I need to save a binary file to "\\fs1\public\Customer Service\Customers\Customer Name\Images\WO12345\Image1.jpg".
I set the "Server side solution's working directory" to "fs1\public\Customer Service\Customers\".
I give a domain user full control of "fs1\public\Customer Service\Customers\" and I set the "Log On As' to this user on the Altova MobileTogether Server service.
I can now access the images and pull them in via the Load/Save Binary File action.

If I need to access another server like "fs2\public\Sales", I'm out of luck. Hope this helps.
Users browsing this topic
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.