Sorry I should have posted my results earlier. I creating a service call and with there help resolved the issue. It appears that there was no stored procedure for "spGetWindowsAccouts......" in the database. Using the script below it resolved the issue:
"Please go to your SQL server, select the proper database and run the following script against the Altiris database to create a new stored procedure to replace the one that is missing":
/****** Object: StoredProcedure [dbo].[spGetWindowsAccountsWithNoADResourceKeys] Script Date: 05/24/2011 13:50:04 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[spGetWindowsAccountsWithNoADResourceKeys]
AS
SET NOCOUNT ON;
SELECT rkSid.KeyValue AS [Sid], raAccCred.ParentResourceGuid AS [AccountGuid] FROM vRM_Windows_Credential wc
JOIN ResourceKey rkSid ON rkSid.ResourceGuid = wc.Guid AND rkSid.KeyName = 'sid'
JOIN ResourceAssociation raAccCred ON raAccCred.ChildResourceGuid = wc.Guid AND raAccCred.ResourceAssociationTypeGuid = '4582ADBC-43FA-4783-807A-A3CD7D58992C'
JOIN vRM_Account ra ON ra.Guid = raAccCred.ParentResourceGuid
LEFT JOIN ResourceKey rkTrusteeDirId ON rkTrusteeDirId.ResourceGuid = raAccCred.ParentResourceGuid AND rkTrusteeDirId.KeyName = 'directoryid'
LEFT JOIN ResourceKey rkTrusteeDirDN ON rkTrusteeDirDN.ResourceGuid = raAccCred.ParentResourceGuid AND rkTrusteeDirDN.KeyName = 'distinguishedname'
WHERE rkTrusteeDirId.KeyValue IS NULL AND rkTrusteeDirDN.KeyValue IS NULL
SET NOCOUNT OFF
GO