go to post Eduard Lebedyuk · Jun 18, 2020 Give CSPSystem user access to the database with a REST broker.
go to post Eduard Lebedyuk · Jun 16, 2020 Do you want to send alerts on all exceptions? If you have a centralized exception handler, you can write to messages.log from there and send alerts with Log Monitor (or use /alerts endpoint with external monitoring tool).
go to post Eduard Lebedyuk · Jun 16, 2020 Use this Task to run Business Service via Task Manager. Alternatively you can use Ensemble Scheduling.
go to post Eduard Lebedyuk · Jun 16, 2020 How many files are there in total? How many (on average) do you need to process per day?
go to post Eduard Lebedyuk · Jun 15, 2020 Still interested. Thanks for the info. Does dedicated license server not support application licenses?
go to post Eduard Lebedyuk · Jun 14, 2020 @Yuri Marx you can use "@Name" to mention someone. @Sarvesh Raut is your server available over HTTPS (and call HTTPS endpoints)?
go to post Eduard Lebedyuk · Jun 12, 2020 Check AbortMessage method here. First query your messages to find the correct id set and after that call AbortMessage for each header. The reason SQL did not work is that your messages are enqueued.
go to post Eduard Lebedyuk · Jun 12, 2020 Not really. Object ByRef means pointer itself may be changed (so we need to pass a pointer to a pointer), which is exactly what happens in this method. A more correct qualifier would be Output as old object is always discarded. But initializing stfp before the call would serve no purpose in this case.
go to post Eduard Lebedyuk · Jun 12, 2020 I think contacting the WRC would be a better option at this stage.
go to post Eduard Lebedyuk · Jun 12, 2020 1. Install public web server (Windows, Linux). 2. Connect it to InterSystems IRIS. 2. Enable HTTPS there. Easiest way is Let's Encrypt.
go to post Eduard Lebedyuk · Jun 12, 2020 Remote path should be just: set remotePath="/NEW.txt" That said, this error Ошибка '-2147014836': A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. looks like you don't have the network connectivity. Have you tried to connect with Putty from the same server as Ensemble?
go to post Eduard Lebedyuk · Jun 11, 2020 Docs specify that Connect should come before Authentication. Try this code: Try { Set ssh = ##class(%Net.SSH.Session).%New() Set sc = ssh.Connect(host) Write:$$$ISERR(sc) "Connect:", $System.Status.GetErrorText(sc),! Set sc = ssh.AuthenticateWithUsername(username, password) Write:$$$ISERR(sc) "Auth: ", $System.Status.GetErrorText(sc), ! #dim sftp As %Net.SSH.SFTP Set sc = ssh.OpenSFTP(.sftp) Write:$$$ISERR(sc) "SFTP: ", $System.Status.GetErrorText(sc), ! Set sc = sftp.Dir("/", .contents, , $$$YES) Write:$$$ISERR(sc) "Dir: ", $System.Status.GetErrorText(sc), ! Zwrite contents //If 'sftp.Disconnect() Write "Failed to logout",! } Catch ex { Set sc = ex.AsStatus() Write "Exception: ", ex.DisplayString(), ! }