I'm not sure what the preferred route for support of the SEP plugin is (it doesn't seem to be listed in the support options on the Symantec website), so I thought I'd start here!
I'm trialing an upgrade to Kaseya 6.3, and after installing the latest SEP plugin (2.1 RU1, having had to uninstall my old v1 in order for the 6.3 upgrade to proceed), I get an error at the 'apply schema' stage. Uninstalling the plugin makes the error go away, re-installing it again brings it back. Kaseya support suggest I speak to Symantec, so if there are any Symantec people listening, how might I make this error go away?
Thanks,
Sam
Fatal MessageSys Error: SymInt/view/SymInt.MachineAgentOrg.sql |
System Error [0] Message: Error #207: Invalid column name 'ClientDeployedFromPlugin'. Invalid column name 'ServerType'. on line 30. Execution Duration: 10:02:13 AM - 10:02:13 AM SQL Command: Text: CREATE VIEW [SymInt].[MachineAgentOrg] AS SELECT ISNULL ((SELECT TOP (1) UPPER(RTRIM(tmp1.machName)) AS Expr1 FROM dbo.machNameTab AS tmp1 LEFT OUTER JOIN dbo.userIpInfo AS tmp3 ON tmp1.agentGuid = tmp3.agentGuid LEFT OUTER JOIN dbo.agentState AS a ON tmp1.agentGuid = a.agentGuid WHERE (tmp3.ipAddress = ep.ManagedBy) ORDER BY a.online DESC), (CASE WHEN (ep.ClientVersion IS NOT NULL) THEN '(self)' ELSE NULL END)) AS managedByMachineName, mg.machGroupGuid AS machGroupId, mg.groupName, org.id AS orgId, org.ref AS orgRef, org.orgName, t1.machName + '.' + t1.groupName AS Machine_GroupID, t1.agentGuid, t1.machName, t1.groupName AS Expr1, t2.manufacturer, t2.productName, t2.version AS MachineVersion, t2.sysSerialNumber, t2.chassisSerialNum AS ChassisSerialNumber, t2.chassisAssetTag, t2.extBusSpeed AS BusSpeed, t2.maxMemModSize AS MaxMemorySize, t2.memSlots AS MaxMemorySlots, t2.chassisManuf AS ChassisManufacturer, t2.chassisType, t2.chassisVer AS ChassisVersion, t2.mbManf AS MotherboardManufacturer, t2.mbProduct AS MotherboardProductCode, t2.mbVersion AS MotherboardVersion, t2.mbSerial AS MotherboardSerialNumber, t3.computerName, t3.ipAddress, t3.subnetMask, t3.defaultGateway, t3.dnsServer1, t3.dnsServer2, t3.dnsServer3, t3.dnsServer4, t3.dhcpEnabled, t3.dhcpServer, t3.winsEnabled, t3.primaryWinsServer, t3.secondaryWinsServer, t3.connectionGatewayIp, t3.ipv6Address, t3.osType, t3.osInfo, t3.majorVersion, t3.minorVersion, t3.macAddr, t3.loginName, ISNULL(t4.tzOffsetMin, 0) AS timezoneOffset, ISNULL(t4.agentInstGuid, 0) AS agentInstGuid, ep.ID, ep.ManagedBy, ep.ClientVersion, ep.IsInfected, (CASE WHEN (ISDATE(ep.CurDefs) = 1) THEN CAST(ep.CurDefs AS Datetime) ELSE NULL END) AS CurDefs, ep.AVRunningStatus, ep.ASRunningStatus, ep.FWRunningStatus, ag.online, ag.idle, t3.lastLoginName, (CASE WHEN (ep.ClientVersion IS NOT NULL) THEN (CASE WHEN (ep.AVRunningStatus != '1' OR ep.AVRunningStatus IS NULL) THEN '1' ELSE '0' END) ELSE '0' END) AS IsProtectionDisabled, (CASE WHEN (ISNULL(ep.AVRunningStatus, ' ') = '0') OR (ag.online != 1) THEN '1' ELSE '0' END) AS IsNotCheckingIn, (CASE WHEN (ep.CurDefs IS NULL AND ep.ClientVersion IS NOT NULL AND ep.IsInfected != 1) THEN '1' WHEN (CASE WHEN (ISDATE(ep.CurDefs) = 1) THEN CAST(ep.CurDefs AS Datetime) ELSE NULL END) <= DATEADD(day, - 3, DATEADD(hour, - 7, GETUTCDATE())) AND (ep.IsInfected = 0) THEN '1' ELSE '0' END) AS IsOutOfDate, (CASE WHEN ((ep.IsInfected = 1)) THEN '1' ELSE '0' END) AS Infected, (CASE WHEN (ep.ClientVersion IS NOT NULL) THEN '0' ELSE '1' END) AS NoInstallation, CAST((CASE WHEN (ep.ClientVersion IS NOT NULL) THEN 0 ELSE 1 END) as bit) as IsMissingInstallation, ep.LastUpdated, (CASE WHEN (ep.IsServer = 1) THEN 'Server' ELSE (CASE WHEN (ep.AgentGuid IS NOT NULL) THEN 'Endpoint' ELSE NULL END) END) AS role, ep.AreFlagsValid, (CASE WHEN (ep.ClientVersion IS NULL) THEN '' ELSE (CASE WHEN (ep.IsInfected = 0) THEN '1' ELSE '0' END) END) AS IsHealthy, (CASE WHEN (ep.ClientVersion IS NULL) THEN '' ELSE (CASE WHEN (ep.IsInfected = 0) THEN 'Not Infected' ELSE 'Infected' END) END) AS InfectionStatus, t1.partitionId, ep.LastSuccessfulScan, ep.RebootReason, ep.IsServerInstalled, ep.ServerVersion, ep.IsServerOutOfDate, ep.LastServerContentDownload, ep.LastServerContentDownloadDate, ep.IsSupportedClient, ep.ClientDeployedFromPlugin, ep.ServerType FROM dbo.machNameTab AS t1 LEFT OUTER JOIN dbo.auditRsltSmbios AS t2 ON t1.agentGuid = t2.agentGuid LEFT OUTER JOIN dbo.userIpInfo AS t3 ON t1.agentGuid = t3.agentGuid LEFT OUTER JOIN dbo.users AS t4 ON t1.agentGuid = t4.agentGuid LEFT OUTER JOIN dbo.machGroup AS mg ON mg.machGroupGuid = t1.machGroupGuid LEFT OUTER JOIN kasadmin.org AS org ON org.id = mg.orgFK LEFT OUTER JOIN SymInt.EndpointMetaData AS ep ON ep.AgentGuid = t1.agentGuid LEFT OUTER JOIN dbo.agentState AS ag ON ag.agentGuid = t1.agentGuid WHERE (t1.machName IS NOT NULL) AND (mg.machGroupGuid IS NOT NULL) AND (t3.ipAddress IS NOT NULL) Errors collection contains: Class: 16 Error #207: Invalid column name 'ClientDeployedFromPlugin'. on line 30. Error reported by .Net SqlClient Data Provider while connected to (local) Class: 16 Error #207: Invalid column name 'ServerType'. on line 30. Error reported by .Net SqlClient Data Provider while connected to (local) , Location: at Hermes.DataManager.ExecuteNonQuery(SqlConnection Conn, SqlCommand Cmd) in C:Devcore.3sourceKaseya.AppFoundationKaseya.AppFoundationDispatching--HermesRuntime--DataManager.cs:line 694 at Hermes.DataManager.ExecuteNonQuery(String commandText, CommandType ExecutionComandType) in C:Devcore.3sourceKaseya.AppFoundationKaseya.AppFoundationDispatching--HermesRuntime--DataManager.cs:line 372 at Hermes.ExecSQL.Process() in C:DevCorev6.3.0sourceMessageSysHermesPluginsCommonExecSQL.cs:line 122 |
System Error [0] Message: Error #207: Invalid column name 'ClientDeployedFromPlugin'. Invalid column name 'ServerType'. on line 30. Execution Duration: 10:02:13 AM - 10:02:13 AM SQL Command: Text: CREATE VIEW [SymInt].[MachineAgentOrg] AS SELECT ISNULL ((SELECT TOP (1) UPPER(RTRIM(tmp1.machName)) AS Expr1 FROM dbo.machNameTab AS tmp1 LEFT OUTER JOIN dbo.userIpInfo AS tmp3 ON tmp1.agentGuid = tmp3.agentGuid LEFT OUTER JOIN dbo.agentState AS a ON tmp1.agentGuid = a.agentGuid WHERE (tmp3.ipAddress = ep.ManagedBy) ORDER BY a.online DESC), (CASE WHEN (ep.ClientVersion IS NOT NULL) THEN '(self)' ELSE NULL END)) AS managedByMachineName, mg.machGroupGuid AS machGroupId, mg.groupName, org.id AS orgId, org.ref AS orgRef, org.orgName, t1.machName + '.' + t1.groupName AS Machine_GroupID, t1.agentGuid, t1.machName, t1.groupName AS Expr1, t2.manufacturer, t2.productName, t2.version AS MachineVersion, t2.sysSerialNumber, t2.chassisSerialNum AS ChassisSerialNumber, t2.chassisAssetTag, t2.extBusSpeed AS BusSpeed, t2.maxMemModSize AS MaxMemorySize, t2.memSlots AS MaxMemorySlots, t2.chassisManuf AS ChassisManufacturer, t2.chassisType, t2.chassisVer AS ChassisVersion, t2.mbManf AS MotherboardManufacturer, t2.mbProduct AS MotherboardProductCode, t2.mbVersion AS MotherboardVersion, t2.mbSerial AS MotherboardSerialNumber, t3.computerName, t3.ipAddress, t3.subnetMask, t3.defaultGateway, t3.dnsServer1, t3.dnsServer2, t3.dnsServer3, t3.dnsServer4, t3.dhcpEnabled, t3.dhcpServer, t3.winsEnabled, t3.primaryWinsServer, t3.secondaryWinsServer, t3.connectionGatewayIp, t3.ipv6Address, t3.osType, t3.osInfo, t3.majorVersion, t3.minorVersion, t3.macAddr, t3.loginName, ISNULL(t4.tzOffsetMin, 0) AS timezoneOffset, ISNULL(t4.agentInstGuid, 0) AS agentInstGuid, ep.ID, ep.ManagedBy, ep.ClientVersion, ep.IsInfected, (CASE WHEN (ISDATE(ep.CurDefs) = 1) THEN CAST(ep.CurDefs AS Datetime) ELSE NULL END) AS CurDefs, ep.AVRunningStatus, ep.ASRunningStatus, ep.FWRunningStatus, ag.online, ag.idle, t3.lastLoginName, (CASE WHEN (ep.ClientVersion IS NOT NULL) THEN (CASE WHEN (ep.AVRunningStatus != '1' OR ep.AVRunningStatus IS NULL) THEN '1' ELSE '0' END) ELSE '0' END) AS IsProtectionDisabled, (CASE WHEN (ISNULL(ep.AVRunningStatus, ' ') = '0') OR (ag.online != 1) THEN '1' ELSE '0' END) AS IsNotCheckingIn, (CASE WHEN (ep.CurDefs IS NULL AND ep.ClientVersion IS NOT NULL AND ep.IsInfected != 1) THEN '1' WHEN (CASE WHEN (ISDATE(ep.CurDefs) = 1) THEN CAST(ep.CurDefs AS Datetime) ELSE NULL END) <= DATEADD(day, - 3, DATEADD(hour, - 7, GETUTCDATE())) AND (ep.IsInfected = 0) THEN '1' ELSE '0' END) AS IsOutOfDate, (CASE WHEN ((ep.IsInfected = 1)) THEN '1' ELSE '0' END) AS Infected, (CASE WHEN (ep.ClientVersion IS NOT NULL) THEN '0' ELSE '1' END) AS NoInstallation, CAST((CASE WHEN (ep.ClientVersion IS NOT NULL) THEN 0 ELSE 1 END) as bit) as IsMissingInstallation, ep.LastUpdated, (CASE WHEN (ep.IsServer = 1) THEN 'Server' ELSE (CASE WHEN (ep.AgentGuid IS NOT NULL) THEN 'Endpoint' ELSE NULL END) END) AS role, ep.AreFlagsValid, (CASE WHEN (ep.ClientVersion IS NULL) THEN '' ELSE (CASE WHEN (ep.IsInfected = 0) THEN '1' ELSE '0' END) END) AS IsHealthy, (CASE WHEN (ep.ClientVersion IS NULL) THEN '' ELSE (CASE WHEN (ep.IsInfected = 0) THEN 'Not Infected' ELSE 'Infected' END) END) AS InfectionStatus, t1.partitionId, ep.LastSuccessfulScan, ep.RebootReason, ep.IsServerInstalled, ep.ServerVersion, ep.IsServerOutOfDate, ep.LastServerContentDownload, ep.LastServerContentDownloadDate, ep.IsSupportedClient, ep.ClientDeployedFromPlugin, ep.ServerType FROM dbo.machNameTab AS t1 LEFT OUTER JOIN dbo.auditRsltSmbios AS t2 ON t1.agentGuid = t2.agentGuid LEFT OUTER JOIN dbo.userIpInfo AS t3 ON t1.agentGuid = t3.agentGuid LEFT OUTER JOIN dbo.users AS t4 ON t1.agentGuid = t4.agentGuid LEFT OUTER JOIN dbo.machGroup AS mg ON mg.machGroupGuid = t1.machGroupGuid LEFT OUTER JOIN kasadmin.org AS org ON org.id = mg.orgFK LEFT OUTER JOIN SymInt.EndpointMetaData AS ep ON ep.AgentGuid = t1.agentGuid LEFT OUTER JOIN dbo.agentState AS ag ON ag.agentGuid = t1.agentGuid WHERE (t1.machName IS NOT NULL) AND (mg.machGroupGuid IS NOT NULL) AND (t3.ipAddress IS NOT NULL) Errors collection contains: Class: 16 Error #207: Invalid column name 'ClientDeployedFromPlugin'. on line 30. Error reported by .Net SqlClient Data Provider while connected to (local) Class: 16 Error #207: Invalid column name 'ServerType'. on line 30. Error reported by .Net SqlClient Data Provider while connected to (local) , Location: at Hermes.DataManager.ExecuteNonQuery(SqlConnection Conn, SqlCommand Cmd) in C:\Dev\core\6.3\source\Kaseya.AppFoundation\Kaseya.AppFoundation\Dispatching\--HermesRuntime--\DataManager.cs:line 694 at Hermes.DataManager.ExecuteNonQuery(String commandText, CommandType ExecutionComandType) in C:\Dev\core\6.3\source\Kaseya.AppFoundation\Kaseya.AppFoundation\Dispatching\--HermesRuntime--\DataManager.cs:line 372 at Hermes.ExecSQL.Process() in C:\Dev\Core\v6.3.0\source\MessageSys\Hermes\Plugins\Common\ExecSQL.cs:line 122