1.We are trying to connect to an external file server with the following details .
Domain : OM-FILESVR01
IP Address : xx.x.xx.xxx
Path :\\xx.x.xx.xxx \Share_Folder_Name
along with user name and password
We Use "FileSystem" forge component to connect with the file server and while trying to connect we receive the following errors
1.Win32Error: 0 System.ComponentModel.Win32Exception (0x80004005): Error connecting to remote share at OutSystems.NssFileSystem.CssFileSystem.MssDirectory_Exists(String ssPath, String ssDomain, String ssUsername, String ssPassword, Boolean& ssExists, String& ssErrorMessage)
2.Win32Error: 3 System.UnauthorizedAccessException: Access to the path '10.10.9.195\UCL_share' is denied. 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) at OutSystems.NssFileSystem.CssFileSystem.MssDirectory_Create(String ssPath, String ssDomain, String ssUsername, String ssPassword, String& ssErrorMessage)
3.We connected with the vendor's firewall team and got to know that the request from our side is not reaching the Primary Fire wall
Hi Bharathi S ,
I believe because you are using FileSystem Forge, your environment is self-managed(On-Premis) environment. right?
If so, try entering your FE server and see if you can access the file server from there.
Regards,
Hi @Bharathi S ,
There are three steps in establishing a connection to the file server:
Connect
Authenticate
Data Transfer
The error message indicating "Denied the request" suggests an issue with either the connection or authentication.
Since this involves an on-premises server, please ensure the destination is reachable using the 'tracert' command. The source should be the OutSystems hosted drive path. If the path is not reachable or a VPN connection is required, verify that the IP address is within the VPN range. If not, add an entry in Lifetime.
If the destination is reachable, ensure that the credentials used provide a proper user token with full access to the folder. You can also attempt the file transfer manually from the OutSystems server to verify the connection.