Hi All,
I'm working in the troubleshooting of some undiscovered DDBB instances, I took the .vbs script from the SQL management pack, and when I try to execute it manually I always receive the same error:
DiscoverSQL2008DBEngineDiscovery.vbs(28, 25) Microsoft VBScript compilation error: Expected 'Then'
The line 28 has the following code:
If oError.Number <> 0 Then ThrowScriptError "Unable to create automation object '" & sProgramId & "'", oErrorI'm pretty sure that the code is correct because it comes with the management pack, I copied the correct portion of the XML, so I don't know the why of this error.
Thanks in advance,