go to post Enrico Parisi · Sep 12 Is this on Windows or Linux? Are you using 32 or 64 bit Cachè/Ensemble? If Windows, did you configure the DSN named "DSN" in windows? 32 bits or 64 bits?
go to post Enrico Parisi · Sep 11 What is reported in the WIndows Event log? In addition, check the cconsole.log in the installation mgr directory.
go to post Enrico Parisi · Sep 11 Yes, for ODBC connection you can use the SQL Gateway directly from code, I suggest to start from documentation: Using the SQL Gateway Programmatically
go to post Enrico Parisi · Sep 10 I advise to use: TROLLBACK 1 Instead of TROLLBACK This way you rollback "your stuff", not EVERYTHING...god knows what! 😉
go to post Enrico Parisi · Sep 10 The last message/error is pretty clear:Unable to allocate shared memory minimum of 146MB Although it seems strange to me that a modern system is not able to allocate 146MB of memory! Can you try to reboot the system?
go to post Enrico Parisi · Sep 8 What puzzle me is the "EnsLib.NullAdapter"! EnsLib is a "system" package mapped to a read only database. There is no such a "EnsLib.NullAdapter" class in the ENSLIB database. Does this class even compile?!
go to post Enrico Parisi · Sep 8 How is configure the "Stay Connected" setting in the BO that use the EnsLib.SQL.OutboundAdapter? How many/how often you have messages sent to this BO?
go to post Enrico Parisi · Sep 2 Just to check, how did you "build index on both EnsLib.HL7.SearchTable and OSU.HL7.SearchTable."?
go to post Enrico Parisi · Aug 28 it doesn't seem like the Results of the Class Method are coming back correctly 100% of the time. This is VERY strange, I would add a test/check if an error occur testing SQLCODE and %msg after &SQL() to see if/when/why it fails. When using embedded SQL you are not supposed to check/access a returned variable (ExtDisplay in your case) before checking for success/failure via SQLCODE variable. If you need to check if the query found a row, you should check the SQLCODE value, not ExtDisplay value.
go to post Enrico Parisi · Aug 26 Went to the sea or a lake: Hiked/enjoyed nature: Earned points and redeemed a reward on Global Masters 🏆Many rewards...too many to count! 😊 Joined READY 2025 🎉Yep! See first picture in this Discussion 😉 Spent time with family or friends: And, a lot of relaxing!...I definitely needed it!
go to post Enrico Parisi · Aug 26 This is very confusing, I understand editing names for privacy reasons, but you are changing the actual format, not only names. I've never seen "##class(|"NS"|Path.To.Class)" in errors. Can you reproduce the issue with a simple sample code using generic names? This way you can post your code so we can understand what's going on and how to fix/log the problem.
go to post Enrico Parisi · Aug 25 I don't think that ##class(|"NS"|Path.To.Class).ClassMethod() is a valid syntax. I believe the "|NS|" makes it a syntax error.
go to post Enrico Parisi · Aug 25 s %sc=##class(|"NS"|Path.To.Class).ClassMethod(..%p1,%p2) Is this really contained in the error message? Is that your code? To me |"NS"| and ..%p1 look strange.
go to post Enrico Parisi · Aug 25 Try with: <Map Prefix="/v([0-9]{1,2})/news/([^/]*)" Forward="API.Dispatch.news"/>
go to post Enrico Parisi · Aug 22 Try with: <Map Prefix="/v([0-9]{1,2})/news/:id" Forward="API.Dispatch.news"/>
go to post Enrico Parisi · Aug 22 Stream compression is enabled by default since version 2021.2, see release notes: Saving on StorageStream compression – is now on by default for all globals-based stream classes, with no application change required. Existing data remains readable and will be compressed upon the next write. Experiments with real-world data have indicated compression ratios ranging from 30% for short texts to 80% and more for XML and other document types.
go to post Enrico Parisi · Aug 1 Please check the relevant documentation: Executing Stored Procedures I've asked the DC AI chat bot and the answer is worth a look: https://community.intersystems.com/ask-dc-ai?chat_id=1920 Note that using SQL Server ODBC you probably do not need to specify "IOType" in the param array. If you still have problems, get back with a sample code of what you are doing.