When reconfiguring the database, repairing the Platform and/or running "AeXConfig /configureall" errors appear in the NS logs.
Alternately if you are looking at this article before reconfiguring the database, repairing the Platform and/or running "AexConfig /configureall", only Scenario 1 under the Solution section in this article is required.
There are many issues that come from running a Reconfigure of the database, Repair of the Platform and or AexConfig /configureall, some of the more critical are below:
When reconfiguring the database, repairing the Platform and/or running "aexconfig /configureall", the general behavior is that aexconfig will run the original stored procedures contained in the config files (for example, if you are in 7.5 SP1 HF2, aexconfig runs the original config files for 7.5 SP1 and then it runs the new ones for HF2). In this case spLockResource is reverted to its original version causing the errors above but if the process is left running, it should update it to the newer one. Since the new HF2 or later passes more parameters to this stored procedure than the originally expected with 7.5 SP1, it causes the repair to have unexpected behaviors with some Solutions like Asset, CMDB, and Patch (missing menus, dataclasses, etc).
There are two solutions, the first is for times when you are planning on running a Reconfigure of the database, Repair of the Platform and/or running "AexConfig /configureall" and want to avoid problems the second is for scenarios where it has already been run.
Update the config files (CoreDatabase.config and NS_Update_Database.config) before running "/configureall"
<Install Dir>:\Program Files\Altiris\Notification Server\Config\NS_Hotfix_SqlObjects.config
and locate the section that creates the spLockResource stored procedure or use the attached spLockResource.sql code.<Install Dir>:\Program Files\Altiris\Notification Server\Config\NS_Update_Database.config
and locate the section that creates the spLockResource stored procedure (find the section on those config files where starts with CREATE PROCEDURE [dbo].[spLockResource]
and replace it with the updated one).<Install Dir>:\Program Files\Altiris\Notification Server\Config\CoreDatabase.config
and locate the section that creates the spLockResource stored procedure (find the section on those config files where starts with CREATE PROCEDURE [dbo].[spLockResource]
and replace it with the updated one)."/Configureall" has already been run and you need to recover:
Applies To
SMP 7.5 SP1 HotFix2 and later