Please Help. Could not find of part the path, Unattended

Hello all,
This error is driving me crazy and I would appreciate it a lot if you help me.
Info: Could not find a part of the path: ‘C:\Users\gloria.nuget\packages\G4_PRIVATEFLY_INVOICES\1.0.1\lib\net45\Data\Output’.

When I try it with attended mode, it works. Unattended it throws this error its crazy.

image

image

Hi @Hurmet_Noka

Try to give “” after gloria
‘C:\Users\gloria.nuget

Regards
Gokul

THIS path is auto generated with this;:
path.Combine(Environment.CurrentDirectory, “Data\Output”)

Environment.CurrentDirectory.
Ant his is where the error is triggered from this assign activity. I dont understand where is the freaking issue.

Hi @Hurmet_Noka

Have you try with back slash

Regards
Gokul

path.Combine(Environment.CurrentDirectory, “Data\Output”) THIS IS A BACKLASH!

I’m talking about this Path. After gloria Try to use Back slash

Regards
Gokul

But this Path is Auto generated through the usage of:
Environment.CurrentDirectory
Its not that I customize it.

Should I make it hard coded?

HI @Hurmet_Noka

Try to use like This

Regards
Gokul

1 Like

Thank You.
Can you complete the path also using “Data\Input” inside the path.Combine method?

HI @Hurmet_Noka

Try to use

image

Regards
Gokul

Okay I will try, but what do you think of this:

This is the package from the orchestrator. And when I run the file the Input Folder disappeares.
Am I deleting something?
I am using Delete file, for each file in Invoice.

Does this deletes the folder aswell at the end?
WHAT THe hell, is stressing me out.

image
The slash before Data\Input is already there.
I dont think I should add it.

Hi @Hurmet_Noka

  • What you want to delete?
  • Can you explain your queries?

Regards
Gokul

I think this is causing the issue:
In the project files, in Studio I have this Tree:

After I publish the project I dont have these other folders:

How is this possible, all other packages have these folders but this one dosnt?
Should I manually add them?

Hi @Hurmet_Noka

You can add it manually and check it.

Regards

1 Like

I did create them manually and also added an extra back slash as you said and it worked. Thank You Sir.

Hi @Hurmet_Noka

That’s Great
Happy Automation

Regards
Gokul

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.