Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.

Not able to save workflow in gallery

Arjun_1997
6 - Meteoroid

Facing difficulties in saving the workflow in gallery, when try to save the workflow getting path context D:\server\prod\service \staging\.... is not a valid file or directory.Alteryx error.jpg 

what was the issue? kindly help me on this.

15 REPLIES 15
mbarone
16 - Nebula
16 - Nebula

"D" is generally a mapped drive.  You'll need the full UNC path.  For example, the computer you're uploading the workflow to the Gallery from might know that "D" is "server1", but the actual UNC path would be something like \\alteryxserver.  Can you check with your IT or whoever is able to remote into the Server and check the drives to see where your Service layer actually lives?  Normally it'd be \\alteryxservername\c$ (or w$)\ProgramData\Alteryx\Service.

Arjun_1997
6 - Meteoroid

@mbarone thanks for feedback, i have tried with UNC path but still facing issue.

moreover, WF was working till last friday, from monday onwards it's giving these error no changes\update made in the settings.

whenever runs the workflow in gallery getting this 

Arjun_1997_0-1652875616818.png

but locally runs.

Is that bug?

Alteryx version currently using is 2020.4.5

mbarone
16 - Nebula
16 - Nebula

Try creating  a workflow with one Text Input Tool with just one column/row:
2022-05-18 08_20_25-Alteryx Designer x64 - New Workflow4_.png

 

Then add an Output tool and configure exactly as below:

2022-05-18 08_21_11-Alteryx Designer x64 - New Workflow4_.png

 

Then save the workflow to the Gallery, and make sure to go into Manage Assets and check the sample.csv box:

2022-05-18 08_22_31-alteryxpnv01 - Remote Desktop Connection.png

2022-05-18 08_22_40-alteryxpnv01 - Remote Desktop Connection.png

 

Then run it in the Gallery and let me know what happens.  It should present you with the CSV for download.

Arjun_1997
6 - Meteoroid

created text file and loaded it to output(csv) as mentioned but not able to save it to gallery getting below error: 

Arjun_1997_0-1652938764133.png

Arjun_1997_0-1652941847522.png

 

what to do next?

 

mbarone
16 - Nebula
16 - Nebula

Okay, that at least tells us the issue is the with your server settings.  In the server settings, the highlighted field is probably be set to the D:\ drive location referenced in the error message, and that location must not exist any longer on the server.  For me, we set up a W:\ drive with tons of space for this:

2022-05-19 07_15_04-alteryxpnv01 - Remote Desktop Connection.png

Arjun_1997
6 - Meteoroid

server setting:

Arjun_1997_0-1652959546817.png

there was no update made in server settings. but now WF in gallery giving out issue.

Is there any quick fix\troubleshoot available for this issue?

mbarone
16 - Nebula
16 - Nebula

The "Workspace" location . . . does it actually exist?  Can you remote into the Server, open up a Windows Explorer window, and find it, like this for mine:

2022-05-19 07_44_54-alteryxpnv01 - Remote Desktop Connection.png

Arjun_1997
6 - Meteoroid

Arjun_1997_0-1652962787835.png

workspace exists 

mbarone
16 - Nebula
16 - Nebula

Very strange.  For the test workflow with the text tool and the output tool, did you start fresh, meaning you created a brand new workflow?  Can you try changing the output from ...sample.csv to ...\sample.csv ?   I don't think that will matter, but worth a shot.  When it runs in Designer (before you publish it to the Gallery), copy out the Output Log and let's look at that.  And then also to a screenshot of the "Workflow" screen to check your temp directories.