63
Views
8
Comments
[FileSystem] Filesystem throwing  System.IO.DirectoryNotFoundException error
filesystem
Service icon
Forge asset by João Portela
Application Type
Service

We are using FileSystem forge component for File sharing and

When we try to connect to the File Server  we are facing the following Issue.

 Error from FileWriteBinary() Action :

Win32Error: 53 System.IO.DirectoryNotFoundException: Could not find a part of the path '\\10.10.9.195\UCL_share'.at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost) at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost) atOutSystems.NssFileSystem.CssFileSystem.MssFile_WriteBinary(Byte[] ssContent, String ssPath, String ssDomain, String ssUsername, String ssPassword, String& ssErrorMessage)

Provided File Server details :

    Path :\\10.10.9.195\ShareFolder\

    Domain :10.10.9.195

along with user name and password

    



FileSystemForge.png
FileWriteBinaryInputs.png
2019-04-09 00-57-55
carl ruhle

Hi Bharathi,

if I'm not mistaken the port number is missing. 

Best regards 

UserImage.jpg
Bharathi S

Port number as in  ? we don't have any input params for Port number.

2019-01-07 16-04-16
Siya
 
MVP

Please check if your platform server can reach the file server @ 10.10.9.195. You can RDP to your platform server and try pinging 10.10.9.195 or accessing \10.10.9.195\ShareFolder\ in Explorer.

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Bharathi,

Do you have an on-premise OutSystems infrastructure? Because 10.10.9.195 is a local IP address, which doesn't work if your OutSystems infrastructure is hosted in the cloud.

Also, the Domain parameter should only be set if you have an actual Windows domain. You can't use an IP address for that parameter.

UserImage.jpg
Siva Devendiran

Hi Killian , Yes our infra is hosted in the cloud .Can you tell what is actually required to connect to the Private file server please ?


2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

You'll need a VPN, most likely. But that has relatively little to do with OutSystems, and everything with infrastructure, so you should probably consult your IT department / infrastructure management.

2025-08-09 07-22-56
Bharathi Selvaraj

we do have a VPN set up. But the request from Outsytems is not even reaching  Vendor  network's Primary firewall .

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Of course it is not. Like I said, 10.10.9.195 is a private IP address, you cannot use it to go from the cloud to your local vendor. You'll need a public IP address for that. But, again, that has nothing to do with OutSystems.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.