SMS Webreports Error -2147217392 (Solution)
| Report Name: |
All advertisements |
|
| Category: |
Software Distribution - Advertisements |
|
| Comment: |
Displays all of the advertisements at this site. |
|
| Parameters: |
|
|
| All advertisements |
| |
|
|
|
An error occurred when the report was run. The details are as follows:Automation error
| Error Number: |
-2147217392 |
| Source: |
SMSComponent |
| Native Error: |
0 |
-2147217392 is error number 80041010
Note: Best way to translate is paste -2147217392 into calc.exe Change to Hex (word)
The Cause of Code 80041010
Your VBScript contains a misspelled object name. Code 80041010 is an unusual Error in that a number is returned rather than 'Syntax Error' or other message.
But when you are dealing with SMS this is not the case because you didn’t write the code Microsoft did and it was working before so it should work now right???
Solution
A value had changed for my HKLM\SOFTWARE\Microsoft\WBEM\Scripting\ key. The
Default Namespace value changed to ROOT\DEFAULT. Change it to ROOT\CIMV2 and restarted the SMS_REPORTING service, reporting should work fine now.