What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Sensor randomly generates "80041017: The query was not syntactically valid." event.

Votes:

0

One of our WMI Disk Free Sensors, has alerted us with a down event with the following message: "80041017: The query was not syntactically valid." a few times in the last few days. The sensor come back up normally and there is no disruption in log statistics however we aren't sure why this started happening out of the blue. Any ideas?

80041017 sensors wmi

Created on Sep 20, 2010 2:26:17 PM



Best Answer

Accepted Answer

Votes:

2

I had this on all sensors on 1 Workstation other than ping and rdp which were normal. I followed several of the suggestions here including the script to rebuild WBEM above which got all but CPU and Pagefile sensors working. Those 2 remained downwith the 80041017: The query was not syntactically valid error until running lodctr /r which I found here http://technet.microsoft.com/en-us/library/dd348620(WS.10).aspx

Created on Aug 11, 2011 3:50:39 PM



8 Replies

Votes:

0

Hello,

which exact version of PRTG are you running?

Best Regards.

Created on Sep 20, 2010 2:52:27 PM by  Torsten Lindner [Paessler Support]



Votes:

0

PRTG Network Monitor 7.3.5.5802

Created on Sep 20, 2010 2:55:42 PM



Votes:

0

It seems that the DCOM/WMI-System on the target-host is not really stable, as this error-message "80041017: The query was not syntactically valid." comes directly from the target. It is directly forwarded by PRTG. Can you please try if the WMI Volume Sensor shows the same issues?

Created on Sep 20, 2010 3:20:41 PM by  Torsten Lindner [Paessler Support]



Accepted Answer

Votes:

2

I had this on all sensors on 1 Workstation other than ping and rdp which were normal. I followed several of the suggestions here including the script to rebuild WBEM above which got all but CPU and Pagefile sensors working. Those 2 remained downwith the 80041017: The query was not syntactically valid error until running lodctr /r which I found here http://technet.microsoft.com/en-us/library/dd348620(WS.10).aspx

Created on Aug 11, 2011 3:50:39 PM



Votes:

0

lodctr /r worked for me! I had the same error message. Thanks!

Created on Aug 29, 2011 7:53:02 PM



Votes:

0

lodctr /r worked for me!

Thanks

Created on Mar 6, 2018 4:19:26 PM



Votes:

0

Yes. lodctr /r worked for me too.

Created on Sep 25, 2018 4:16:33 PM



Votes:

0

Was also fixing the failure on out machine Win2008R2 - DomainController. The failure appeared after January Windows Updates installed.

Created on Feb 7, 2019 3:24:55 PM




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.