Hi,
Since the new update, some larger files (7.7MB) are giving us "Not Enough Credits" error, is there something we are doing wrong or something we need to change on the target server?
Thanks.
Ok, I made a mistake in 2.0.2. Version 2.0.3 should fix it.
Hi Olivier. Are you trying to read or write larger files?
Could you also share a stack trace of the error?
Hi, we are trying to write a file (7.7MB) in this case and here is what I see in Service center, this is working with the older non-SMB version of the component:Not enough credits at SMBLibrary.Client.SMB2Client.TrySendCommand(SMB2Command request, Boolean encryptData) at SMBLibrary.Client.SMB2FileStore.WriteFile(Int32& numberOfBytesWritten, Object handle, Int64 offset, Byte[] data) at OutSystems.NssSmbClient.Smb.SmbTreeConnection.WriteFile(String filePath, Byte[] contents) at OutSystems.NssSmbClient.CssSmbClient.MssWriteFile(String ssHostname, RCAuthenticationRecord ssAuthentication, String ssShare, String ssFilePath, Byte[] ssContents) at ssFaskenSecurePortalRequests_CS.RssExtensionSmbClient.MssWriteFile(HeContext heContext, String inParamHostname, IRecord inParamAuthentication, String inParamShare, String inParamFilePath, Byte[] inParamContents)
Thanks for the report. Could you check if version 2.0.2 fixes your problem?
Sadly it's not fixed on my end, here's the stack(Looks like the same error) :
Not enough credits at SMBLibrary.Client.SMB2Client.TrySendCommand(SMB2Command request, Boolean encryptData) at SMBLibrary.Client.SMB2FileStore.WriteFile(Int32& numberOfBytesWritten, Object handle, Int64 offset, Byte[] data) at OutSystems.NssSmbClient.Smb.SmbTreeConnection.WriteFile(String filePath, Byte[] contents) at OutSystems.NssSmbClient.CssSmbClient.MssWriteFile(String ssHostname, RCAuthenticationRecord ssAuthentication, String ssShare, String ssFilePath, Byte[] ssContents) at ssFaskenSecurePortalRequests_CS.RssExtensionSmbClient.MssWriteFile(HeContext heContext, String inParamHostname, IRecord inParamAuthentication, String inParamShare, String inParamFilePath, Byte[] inParamContents)
It now works, many thanks!
Version : 2.2.3Not enough credits at SMBLibrary.Client.SMB2Client.TrySendCommand(SMB2Command request, Boolean encryptData) at SMBLibrary.Client.SMB2FileStore.Disconnect() at OutSystems.NssSmbClient.CssSmbClient.MssReadFile(String ssHostname, RCAuthenticationRecord ssAuthentication, String ssShare, String ssFilePath, Byte[]& ssContents) at ssUCL_API_CS.RssExtensionSmbClient.MssReadFile(HeContext heContext, String inParamHostname, IRecord inParamAuthentication, String inParamShare, String inParamFilePath, Byte[]& outParamContents)
@Leonardo Fernandes Kindly help with this Issue .