Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Alteryx server error: Cant find the file. Works fine in designer

wonka1234
10 - Fireball

Hi,

 

My workflow works fine when running in designer. But when I upload to the server I get an error:

  • Can't find the file: "D:\Alteryx\Service\Staging\1748_060c27e55c6242c58203c816bf6e85ec\In_6272fa1be2600000850050ff\Errors_log_2021-07-09.xlsx|`XFP Daily Check #1$`". Make sure the file path is correct. (Tool Id: 1)

Whats going on here? I have a browse tool trying to import a file.

 

wonka1234_0-1651702481425.png

wonka1234_1-1651702577953.png

 

 

 

4 REPLIES 4
DataNath
17 - Castor

By the looks of it you haven’t packaged the asset with your workflow so when it’s running on server it’s still looking for your error code file locally rather than in gallery. More info and steps to package here: https://community.alteryx.com/t5/Alteryx-Server-Knowledge-Base/Assets-and-Packaging-Workflows/ta-p/4...!

apathetichell
18 - Pollux

I don't see this working - either in Designer or in Server when run as an app...

 

The way you have your action tool currently configured you have your input data tool configured with the full path to an excel sheet. You remove everything - but keep the sheet identifier (|||`XFP Daily Check #1$) - when a file is browsed to on server and a sheet selected you will generate an entirely new full path - with a new sheet identifier - ie  - "D:\Alteryx\Service\Staging\1748_060c27e55c6242c58203c816bf6e85ec\In_6272fa1be2600000850050ff\Errors_log_2021-07-09.xlsx|`XFP Daily Check #1$`".  (note the Alteryx server has updated from the ||| in your input data/action tool to the single pipe on server) which will feed into your action tool - and be used to replace everything but |||`XFP Daily Check #1$`".  - so long story short - I'd expect Alteryx is looking for D:\Alteryx\Service\Staging\1748_060c27e55c6242c58203c816bf6e85ec\In_6272fa1be2600000850050ff\Errors_log_2021-07-09.xlsx|XFP Daily Check #1$|||XFP Daily Check #1$  - which is gibberish.

 

Try changing the config on your action tool to "update input data tool" - or include everything in the replace with specific string - not just the filename.

wonka1234
10 - Fireball

@apathetichell  thanks! I changed the action tool to "update input data tool". 

Now getting a new error on the server: 

  • There was an unknown error executing the application. The engine reported status Error
apathetichell
18 - Pollux

Is this a scheduled workflow? that seems to relate to memory issues on scheduled workflows...

https://community.alteryx.com/t5/Alteryx-Server-Discussions/There-was-an-unknown-error-executing-the...

https://community.alteryx.com/t5/Alteryx-Server-Discussions/There-was-an-unknown-error-executing-the...

 

if this isn't a scheduled worfklow - I'd say delete the original version from server and reupload.

Labels