go to post Alexander Koblov · Jun 2 For already running backup or restore you can check "7) Monitor progress of backup or restore" menu in do ^BACKUP routine
go to post Alexander Koblov · May 12 Generally, if performance matters -- consider using $Listnext instead of $List or $ListGet
go to post Alexander Koblov · May 12 This is a standard Windows error with the code 64: C:\>net helpmsg 64 The specified network name is no longer available. Some Caché code called some OS system function that returned this error and for some reason it was logged. To investigate this further -- check what process logged the error message. Find in the Caché Audit a Login event with the corresponding process. Perhaps it might give you some hint Generally, messages with severity 0 are informational, 1 -- warnings, 2 -- error, 3 -- critical
go to post Alexander Koblov · May 12 No. If you have Windows NT authentication enabled to connect to SQL Server then SQL Server ODBC driver uses OS user that executes irisdb.exe process. That's the same use as configured to run service IRIS. If you'd like to use different user for authentication , then choose SQL Server authentication and specify that user and its password in SQL Gateway connection settings
go to post Alexander Koblov · Apr 7 Yes. See privileged routineshttps://docs.intersystems.com/iris20223/csp/docbook/DocBook.UI.Page.cls?...
go to post Alexander Koblov · Apr 5 Did you try to run this after failed set x509 = ##class(%SYS.X509Credentials).GetByAlias("foo") ?
go to post Alexander Koblov · Apr 4 Try to output %oblasterror: zw %objlasterror Based on "%Admin_Secure:USE" it seems like user who runs the CSP page lack USE privilege on %Admin_Secure resource
go to post Alexander Koblov · Mar 22 The best option -- create XSD from the XML or get XSD from the XML provider, import the XSD in IRIS, that will generate set of classes to import XML to Other way -- manually create classes for each different xsi:type
go to post Alexander Koblov · Mar 21 Recompile also FIelds class. Yes, looks correct. I have the following classes: Class dc2303.Field Extends (%Persistent, %XML.Adaptor) { Parameter XMLTYPE = "UDFLookupFieldInstance"; Parameter XMLFORMAT = "literal"; Parameter XMLNAME = "Field"; Parameter NAMESPACE = "http://www.civica.co.uk/ParisConnect/ConnectXml/1.0/Messaging"; Property Suffix As %String(XMLNAME = "Suffix", XMLPROJECTION = "ATTRIBUTE"); Property Description As %String(XMLNAME = "Description", XMLPROJECTION = "ATTRIBUTE"); Property ID As %String(XMLNAME = "ID", XMLPROJECTION = "ATTRIBUTE"); } Class dc2303.Fields Extends (%Persistent, %XML.Adaptor) { Parameter XMLFORMAT = "literal"; Parameter XMLNAME = "Fields"; Parameter XMLSEQUENCE = 1; Parameter NAMESPACE = "http://www.civica.co.uk/ParisConnect/ConnectXml/1.0/Messaging"; Parameter SUPPRESSTYPEPREFIX = 1; Property Fields As list Of Field(XMLNAME = "Field", XMLPROJECTION = "ELEMENT"); /// d ##class(dc2303.Fields).TestFieldsCorrelate() ClassMethod TestFieldsCorrelate() { Set reader = ##class(%XML.Reader).%New() Set tSc=reader.OpenFile("c:\temp\Fields.xml") #dim match as Fields Do reader.Correlate("Fields","dc2303.Fields") While reader.Next(.match,.tSc) { w !, "Hurrah" } If $$$ISERR(tSc) { w !, $SYSTEM.Status.GetErrorText(tSc) } } } And fields.xml is <Fields xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > <Field xsi:type="UDFLookupFieldInstance" ID="2925" Description="FIRE ALARM ACTIVE" Suffix="FDT_ACTIVATE"/> </Fields>
go to post Alexander Koblov · Mar 20 Should work. I actually tested it. Did you recompile both classes? Do you get the same error still?