[SFTP (Java)] Error Upon Deploying the Application

[SFTP (Java)] Error Upon Deploying the Application

  
Forge Component
(0)
Published on 2009-06-19 by Stefan Meier
0 votes
Published on 2009-06-19 by Stefan Meier
Install the extension is fine, added the reference, used the get action widget

however after clicking 1 click publish, it stopped me and gave me 3 internal error

1) Internal Error
 
Compilation Error.
referencesProxy\Extension_SFTP_proxy.cs(27,29): error CS0234: The type or namespace name 'NssSFTP' does not exist in the namespace 'OutSystems' (are you missing an assembly reference?
 
State: Build References Proxy

2) Internal Error
 
Compilation Error.
error CS0006: Metadata file '.\bin\Application1ReferencesProxy.dll' could not be found
 
State: Second stage compilation

3) Internal Error
 
Could not find file 'C:\Program Files\OutSystems\Platform Server\share\Application1\full\bin\Application1ReferencesProxy.dll'.
Details : System.IO.FileNotFoundException: Could not find file 'C:\Program Files\OutSystems\Platform Server\share\Application1\full\bin\Application1ReferencesProxy.dll'.
File name: 'C:\Program Files\OutSystems\Platform Server\share\Application1\full\bin\Application1ReferencesProxy.dll'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.File.InternalReadAllBytes(String path, Boolean checkHost)
   at OutSystems.HubEdition.ServerCommon.Pool.PoolFileManager.#m8k(FileInfo file, Byte[]& contents)
   at OutSystems.HubEdition.ServerCommon.Pool.PoolFileManager.CreatePoolFile(DirectoryInfo baseDirectory, FileInfo file, Byte[]& contents)
   at OutSystems.HubEdition.ServerCommon.Pool.PoolFileManager.#D8k.PlaceInPool(Action`1 onNewPoolFile)
   at #Ico.#Qco.#Nco(HEMessageArrayList response, String espaceTemporaryPath, String eSpaceName, String espaceKey, Boolean debugMode, String testAreaName, Boolean linkWithProxy, Boolean partial, Boolean fromSS)
   at #2bo.#uJk.#yeo(Byte[] oml, Boolean debugMode, String eSpaceName, Int32 eSpaceVersionId, String userName, Boolean partial, Boolean forceNewTables, Boolean eSpaceAlreadyLocked, String uniqueId, Boolean fromSS)
 
Exception Details:
[1] Internal Error: Could not find file 'C:\Program Files\OutSystems\Platform Server\share\Application1\full\bin\Application1ReferencesProxy.dll'.
Details : System.IO.FileNotFoundException: Could not find file 'C:\Program Files\OutSystems\Platform Server\share\Application1\full\bin\Application1ReferencesProxy.dll'.
File name: 'C:\Program Files\OutSystems\Platform Server\share\Application1\full\bin\Application1ReferencesProxy.dll'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.File.InternalReadAllBytes(String path, Boolean checkHost)
   at OutSystems.HubEdition.ServerCommon.Pool.PoolFileManager.#m8k(FileInfo file, Byte[]& contents)
   at OutSystems.HubEdition.ServerCommon.Pool.PoolFileManager.CreatePoolFile(DirectoryInfo baseDirectory, FileInfo file, Byte[]& contents)
   at OutSystems.HubEdition.ServerCommon.Pool.PoolFileManager.#D8k.PlaceInPool(Action`1 onNewPoolFile)
   at #Ico.#Qco.#Nco(HEMessageArrayList response, String espaceTemporaryPath, String eSpaceName, String espaceKey, Boolean debugMode, String testAreaName, Boolean linkWithProxy, Boolean partial, Boolean fromSS)
   at #2bo.#uJk.#yeo(Byte[] oml, Boolean debugMode, String eSpaceName, Int32 eSpaceVersionId, String userName, Boolean partial, Boolean forceNewTables, Boolean eSpaceAlreadyLocked, String uniqueId, Boolean fromSS)
at #2bo.#uJk.#aeo(Object operation)
   at #2bo.#nco.#bP.#smo(Object s)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
[2] System.IO.FileNotFoundException: Could not find file 'C:\Program Files\OutSystems\Platform Server\share\Application1\full\bin\Application1ReferencesProxy.dll'.
File name: 'C:\Program Files\OutSystems\Platform Server\share\Application1\full\bin\Application1ReferencesProxy.dll'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.File.InternalReadAllBytes(String path, Boolean checkHost)
   at OutSystems.HubEdition.ServerCommon.Pool.PoolFileManager.#m8k(FileInfo file, Byte[]& contents)
   at OutSystems.HubEdition.ServerCommon.Pool.PoolFileManager.CreatePoolFile(DirectoryInfo baseDirectory, FileInfo file, Byte[]& contents)
   at OutSystems.HubEdition.ServerCommon.Pool.PoolFileManager.#D8k.PlaceInPool(Action`1 onNewPoolFile)
   at #Ico.#Qco.#Nco(HEMessageArrayList response, String espaceTemporaryPath, String eSpaceName, String espaceKey, Boolean debugMode, String testAreaName, Boolean linkWithProxy, Boolean partial, Boolean fromSS)
   at #2bo.#uJk.#yeo(Byte[] oml, Boolean debugMode, String eSpaceName, Int32 eSpaceVersionId, String userName, Boolean partial, Boolean forceNewTables, Boolean eSpaceAlreadyLocked, String uniqueId, Boolean fromSS)
Hey David, the SFTP extension you are trying to use is specific to the Java environment. From the error message it looks like you're on a windows based platform. 

Stefan

Yup, Window Enviroment.

So looks like I can't use this extension? Or is there anyway make it work?
I know I come a bit late to the discussion, but there's a .NET SFTP extension which you can use.