go to post Alexander Koblov · May 13, 2019 There is a qualifier /incremental that allows incremental compilation. Check if it's enabled and try to disable it: See "Flags and Qualifiers" section: https://docs.intersystems.com/ens20101/csp/docbook/DocBook.UI.Page.cls?K...
go to post Alexander Koblov · Apr 12, 2019 Jimmy, what version do you use? Try to upgrade to latest available version -- 2018.1.2 for Caché, perhaps this error is fixed there.
go to post Alexander Koblov · Apr 4, 2019 David, can you please provide provide SQL generated by the Entity Framework that is not valid and error that is generated.
go to post Alexander Koblov · Apr 4, 2019 Lucas, Log that you provided spans from March 19th 09:35 to March 20th 14:43. Depending on moments when application was unavailable you need to look in different records of csp.log For example, 1) Exception caught in f:csp: c0000005:4600 c0000005 is the code for an access violation. I would advise to you to try installing latest release version of CSP Gateway, or if this error still appears there, contact InterSystems Worldwide Response Center to fix this error. 2) CSP application closed the connection before sending a complete response This is most likely something with the code of the page "/csp/erp/system/lib/filtro.csp". It started to write some answer back and then closed the connection, for example process terminated itself with halt 3) Configuration Error: Insufficient space in the configuration buffer Configuration block Size: 126397; Size of configuration block to insert: 55114; Space available: 68611 (Consider setting CONFIG_BUFFER_SIZE=112K (or higher) in the [SYSTEM] section of CSP.ini) This message is self-explanatory 4) Failed to connect to 'csp' - Reason: -8 (Server busy: Gateway's configured limits exceeded) (No Retry) CSP Gateway can limit number of total connections to server and connections per session that it makes to Caché. See parameters "Maximum Server Connections" and "Maximum Connections per Session" here. Generally for IIS-specifics read section "Microsoft IIS All Versions" of CSP Gateway configuration guide. And for general configuration of CSP Gateway -- chapter "CSP Gateway Operation and Configuration".
go to post Alexander Koblov · Apr 4, 2019 Caché ODBC drivers are located here: ftp://ftp.intersystems.com/pub/cache/odbc/ InterSystems IRIS ODBC drivers -- here: ftp://ftp.intersystems.com/pub/iris/odbc/
go to post Alexander Koblov · Mar 28, 2019 Check that after &SQL(SELECT ...) value of SQLCODE is checked.
go to post Alexander Koblov · Mar 12, 2019 Please see this question: https://community.intersystems.com/post/difference-between-method-and-cl...
go to post Alexander Koblov · Mar 4, 2019 For drawbacks of Parent/Child relationships see this comment by @Brendan Bannon
go to post Alexander Koblov · Mar 1, 2019 No, indirection does not introduce additional stack, as far as I know. It works with variables that are visible in public (global) scope, not in private scope of procedure.
go to post Alexander Koblov · Feb 28, 2019 Quoting doc: "Name indirection, argument indirection, and XECUTE commands that appear within a procedure are not executed within the scope of the procedure." https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY... Consider method: Class Test.test [ Abstract ] { ClassMethod ind() { kill info set active = 1 set i="active" set @i = "global scope" break } } Output: USER>do ##class(Test.test).ind() break } ^ <BREAK>zind+5^Test.test.1 USER 2d1>w active="global scope" <Private variables> active=1 i="active" Notice private variables and public variables.
go to post Alexander Koblov · Feb 22, 2019 Correction for future readers. Correct path is {serverdir}/dev/atelier/CACHELIB/Metadata.zip Relevant section in Atelier documentation
go to post Alexander Koblov · Jan 26, 2019 Null in this case is not a reserved word. It’s just a name of variable that is not defined.
go to post Alexander Koblov · Jan 23, 2019 NTLM Authentication is supported in Caché / Ensemble 2018.1 and later: https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY...
go to post Alexander Koblov · Dec 10, 2018 I'm getting following error, running your program on Caché 2017.2.2: USER>do ^test This FTP server is anonymous only. And it works OK once I change Connect to be anonymous: If 'ftp.Connect(host,"anonymous","",port) Write ftp.ReturnMessage,! Quit sc Output: USER>do ^test Ftp server messsage: Features: EPRT EPSV MDTM PASV REST STREAM SIZE TVFS End Mode now: Binary Length of file received: 524288 Can you connect to speedtest.tele2.net from the same server, but not from Caché? Maybe access via port 21 is blocked by your firewall?
go to post Alexander Koblov · Nov 29, 2018 You need to use Escape clause. SELECT ID, CompanyName FROM Table1 WHERE CompanyName LIKE '%\%%' ESCAPE '\' See documentation for LIKE predicate
go to post Alexander Koblov · Nov 26, 2018 Consider adding @Sascha Kisser article on DeepSee troubleshooting
go to post Alexander Koblov · Nov 26, 2018 DeepSee Engine is independent of DeepSee user interface. You can use DeepSee REST API to access DeepSee Engine from any UI. See documentation.
go to post Alexander Koblov · Nov 20, 2018 Right! And write more and more clever code to train colleagues :-)