We have a problem to open files from users client.
When we try to open Excel file with openXML dotnet variable, we get an error: A call to Microsoft.Dynamics.NAV.OpenXml.Spreadsheet.WorkbookReader.Open failed with this message: “C:\Test.xlsx”
With same user if we are on server we can open file, but if we try to open file from another computer with same user, we can’t open file and we get an error:
Is it a custom export function?
My guess that you have not considered that you (or the developer who code this) didn’t think about that when executing this code, then it takes place on the server. So you are also storing the file on an address relative to the server.
So if the user is actually running it on the server, then it works fine, because the file addresses used are the same.
You need to use the functionality available in NAV 2015 to first create the file on the server, and then upload and store it on a location relative to the client.