So I've started looking into using the ASDK and I pulled the following script from the Help file just as a test, but when I try to run it on my SMP I receive the error "Altiris.ASDK.NS.COM: Method failed. Has the server component been installed on the target server? Exception: The request failed with HTTP status 403: Forbidden."
Dim reportManagement
set reportManagement = CreateObject("Altiris.ASDK.NS.ReportManagement")
reportManagement.TargetServer = "smpServer"
reportManagement.UserName = "username"
reportManagement.Password = "password"
reportManagement.DomainName = "domain"
reportManagement.Authenticate()
Dim folderGuid, query, results
folderGuid = "{76239de0-c143-4a17-bd4d-159149b7e4a3}"
query = "SELECT DISTINCT [Windows 7 Professional] FROM Inv_AeX_AC_Identification"
set results = reportManagement.CreateReportUsingRawSqlQuery("Sample Report", "a sample report", "All client operating systems", folderGuid, query)
Is there any chance someone could point out what I'm doing wrong? I thought the ASDK was installed by default with the SMP installation and when I try to run the MSI file again it errors out on me.