go to post Pietro Montorfano · May 15, 2023 Ok, if we are talking about code in deployed mode you simply can't do this. You must get a code compiled for your actual version. You can try with $SYSTEM.OBJ.Export which export the obj, but you will probably get the same error.
go to post Pietro Montorfano · May 14, 2023 Hi, you could check what's happening using Wireshark to analyze the TCP traffic and the request that you are doing. Are you getting this error on the server side, what you got on client side? Seems that they are not communicating or the server is getting something wrong
go to post Pietro Montorfano · May 14, 2023 Hi, you simply got an information (0 in the log), these are system db so you can choose to not backup them (they are included in the installation) and running the task as another use won't solve the problem (that is not a problem). Also mounting them as rw is a bad bad thing because you can end up in modifying the DB (Andi you don't want this). You should simply ignore the message and if it's a monitoring system that warns you, set it to check for 1 or above severity (I'll go for 2 or more). If you really really want to get rid of it and still backup every db, write a custom backup routine tanto mounts the db row, backup them, get them ro again. But this would be a waste of time because it's just an info
go to post Pietro Montorfano · May 10, 2023 why don't you use ^%GOF and ^%GIF? They should be compatible i think.Else the "bad" workaround is do something dirty, you could try to: Create a new DB in the old instancecopy the global in that dbcopy the db on the new instanceattach the dbmove your global where you like Don't know if this works, it "should"
go to post Pietro Montorfano · Mar 15, 2023 Hi Scott,not an expert for zstop, but what you are looking for cannot be developed with the zstop. With an "iris force", hardware failure (hard power off, server fault,... anything that is not a "polite" shutdown) or other similar condition where iris simply is killed, no zstop is executed. You can only be aware of an unclean shutdown at the iris restart, but that's too late for what you are looking to do. What you can do is to have an agent that monitors the iris instance (qlist, process, messages.log) and execute action when certain conditions are met. Moreover i haven't found anything on the "shutdown" cause, it's just a shutdown inside iris i think Pietro
go to post Pietro Montorfano · Mar 6, 2023 unfortunately unless you got a very very high log set in the instance and a very long journal history you can't discover that. If you got the info you can find in the journal the global change, get the process info and search the log for them. But usually is something that you can spot in the near time or something that happens on a regular basis, something spot is really difficult to find in that way.
go to post Pietro Montorfano · Feb 28, 2023 Hi, never done that, always installed production under linux. Respecting the allocation size it will be good to match the same size so if you are using only 8k, it should be better to have 8k also on fs so 1 unit for db should also be 1 unit for fs and it won't be split in 2 fs operation. 8k should be fine because you can accept that if you are using a mixed db allocation size for 8k and 16k it will always be beneficial also for 16k chunks. On this argument always remember to align the partition and the fs dropping the first bytes as per ms best practice so that also the disk (if on a raid) could match the writes https://support.microsoft.com/en-us/topic/recommendations-and-guidelines...
go to post Pietro Montorfano · Feb 27, 2023 diff between 2 environment made easy. Have i ported all routines from env A to env B? Are they the same? Exporting everything in a single file allow you to use something like winmerge and make a full diff
go to post Pietro Montorfano · Feb 24, 2023 Hi,the most straightforward thing to do is to use the upload manager that will take care of everythings.But if you want to go via code, as Davide said, you should use ##class(User.SSUser).%New() to create the user.Keep in mind that the user at first login MUST change the password. To avoid that, you have to have 2 row in the password table, so you should change the password one time via class and then the user should be able to login with the specified credentials.So the main suggestion is to go with upload manager and, may be, ldap as a backend for password auth.
go to post Pietro Montorfano · Feb 14, 2023 Iris doesn't show the file but uses the directory. Make a new dir with iris.dat in it and create a new database pointing to that dir in iris. If you are on Linux make sure that the file is IRIS.DAT all caps. In every platform consider make an exception for the antivirus...
go to post Pietro Montorfano · Feb 14, 2023 Hi, First one is in STU routine where you are probably having a problem with the installation. Contact WRC, probably you will need to make a "repair" installation Second error is just a subscript that doesn't exists. It's trying to access ^oddCOM("") that doesn't exists. But probably everything is related to a bad upgrade.
go to post Pietro Montorfano · Feb 10, 2023 Hi,the error is quite generic and it basically says that you can't login but you don't know why. Check that the superserver port is the same used in studio, Check the license on the instance. If the everything is fine, fire up the management portal, go tosystem administration -> security -> auditing -> enable auditingand check that the auditing is enabled. After that go tosystem administration -> security -> auditing -> configure system eventsand check that%System/%Login/LoginFailureis enabled. If not click on "change status". Try to login again with studio and check the audit databasesystem administration -> security -> auditing -> view audit databaseand see what error comes up Pietro