Skip to main content
Question

how to define pathnames in FME server?


joy
Enthusiast
Forum|alt.badge.img+15
  • Enthusiast

I am fairly new to Fme server and I have mostly only experience with FME desktop. I was running succesfully a script with Fme desktop. However when I published the script to fme server and I run the script, then I get the following error:

I have slightly changed the names of the path due to security issues.

 

DESIGN WRITER: Failed to copy the seed file '\\\\NotRealdomainName\\aplroot$\\A-APLDATA\\FMESERVER\\repositories\\Notrealrepositoryname\\Seed.dgn' to the destination data file 'C:\\Klic_Tijdelijk\\_Bomenanalyse.dgn'. Either the path to destination does not exist or the file is in use by other program

 

I think the issue lies that I wouldn't be have to use hard pathnames in FME Server. Does anyone know how I should define the path names in FMe server?

 

2 replies

stefanh
Contributor
Forum|alt.badge.img+8
  • Contributor
  • January 4, 2023

You are using a network-map for the destination data-file; you should use an UNC-path.

And FME Server also must have read/write access to the folder.


sanaeatsafe
Safer
Forum|alt.badge.img+7

Hi @joy​ ! There are some requirements to allow FME Server to access network paths. The system account running the FME Server Engine services must have permission to read/write to the locations. Please review Workspace Fails on FME Server When Using UNC Paths for more information.

 

It is also important to ensure that the destination DGN file is not open in another program or being used by another workflow in FME.

 

Hard-coded pathnames work fine as long as FME Server can access them. However, you can also create and reference an external Resource Connection with a macro as outlined in Example 5: Using a Custom Resource Folder Within a Workspace.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings