Closed GoogleCodeExporter closed 8 years ago
Hi Jens,
Are your PRTG server and the computers you try to querie in the same domain, or
are you using workgroups?
Original comment by gerard.f...@gmail.com
on 24 Sep 2010 at 12:13
Hi Gerard,
sorry for posting my question in german....
Yes, the computers are in the same domain.
Would it also be possible to check the update status across different domains?
Would be great, becaus we monitor most of our customers networks without a
remote probe.
Regards,
Jens
Original comment by jensba...@gmail.com
on 27 Sep 2010 at 11:15
Hi Jens,
das ist kein Problem.
Cross domain checking will unfortunately not work.
The user impersonation is done on the probe where the .exe runs so the
credentials must be valid there. As these credentials are also used on the
machine that is queried, they must be valid there also.
Regards,
Gerard
Original comment by gerard.f...@gmail.com
on 27 Sep 2010 at 7:24
Same problem here - every Server i tried, i get the answer "Der Dienst Remeote
Registry ...". Could it be a problem with te differences English/German?!
Regards,
Mathias
Original comment by mathias....@asta-picca.de
on 7 Oct 2010 at 1:39
Sry, forgot to answer.
That cross-domain checkig is impossible is no problem now as Paessler removed
the remote probe licensing limit.
But checking in the same domain never worked for my systems. Tried it with
different servers, domains and customers.
Regards,
Jens
Original comment by jensba...@gmail.com
on 7 Oct 2010 at 3:07
Finally found it. Thank you Mathias for pointing me in the right direction!
The error says it all: "Der Dienst Remote Registry ...".
In the German OS there is no "Remote Registry" service, as it is called
"Remote-Registrierungsdienst" :-(
I added an extra optional parameter to the sensor [-s=service name] in version
8.0.2 to overcome this issue. By default the sensor will use "Remote Registry",
but for localization purposes it can be changed using the -s= parameter.
Please note that if the service name contains spaces it has to be entered as
-s="my service name"
Regards,
Gerard
Original comment by gerard.f...@gmail.com
on 8 Oct 2010 at 10:47
Thanks Gerard!
Now it works!
Original comment by mathias....@asta-picca.de
on 11 Oct 2010 at 12:35
Damn, now there is a new problem :-(
If the sensor checks a local probe, then it works fine. But if i want to check
another PC in the network of the probe, i get the error message: "Der
Objektverweis wurde nicht auf eine Objektinstanz festgelegt."
I know that it is now problem with the login. I tried it with a wrong password
and the specific Wrong-Password-massage appears!
I hope that there is a solution too!
Regards,
Mathias
Original comment by mathias....@asta-picca.de
on 11 Oct 2010 at 12:57
Hi Mathias,
Can you please test this version for me. If will write the error to a file
called debug.txt file. Please let me know the contents of this file and the
parameters you used running the sensor.
http://ptf-prtgaddons.googlecode.com/files/LastWinUpdate.exe
Regards,
Gerard
Original comment by gerard.f...@gmail.com
on 11 Oct 2010 at 1:47
Same problem & error here, but only when checking version 2008 servers. Windows
Server 2003 works fine!
Original comment by jensba...@gmail.com
on 11 Oct 2010 at 2:45
Content of debug.txt:
System.NullReferenceException: Der Objektverweis wurde nicht auf eine
Objektinstanz festgelegt.
bei LastWinUpdate.MainMod.GetValue()
bei LastWinUpdate.MainMod.Main()
Original comment by jensba...@gmail.com
on 11 Oct 2010 at 3:01
I added some more debug info in version 8.0.2.3
Could you try once more?
http://ptf-prtgaddons.googlecode.com/files/LastWinUpdate.exe
Original comment by gerard.f...@gmail.com
on 11 Oct 2010 at 3:12
For sure!
But the debug-output is merely the same:
System.NullReferenceException: Der Objektverweis wurde nicht auf eine
Objektinstanz festgelegt.
bei LastWinUpdate.MainMod.GetValue()
bei LastWinUpdate.MainMod.Main()
Original comment by jensba...@gmail.com
on 11 Oct 2010 at 5:14
Are you sure that you are using 8.0.2.3, or has your browser cache presented
you with 8.0.2.2 again ;-)
Original comment by gerard.f...@gmail.com
on 11 Oct 2010 at 5:33
Quite sure ;)
http://screencast.com/t/Y3pD0Z1y6xVF
Original comment by jensba...@gmail.com
on 11 Oct 2010 at 5:39
This calls for some extreme debugging:
http://ptf-prtgaddons.googlecode.com/files/LastWinUpdate.exe (version 8.0.2.4)
Original comment by gerard.f...@gmail.com
on 11 Oct 2010 at 6:08
Some more Output:
Start debug session
Init service controler
Get impersonation object
Init registry object
Init registrykey object
Set service controler
Check if service is running
Open remote base key
Open sub key
Get key value
Error occured
End impersonation
Exception detailsSystem.NullReferenceException: Der Objektverweis wurde nicht
auf eine Objektinstanz festgelegt.
bei LastWinUpdate.MainMod.GetValue()
bei LastWinUpdate.MainMod.Main()
Original comment by jensba...@gmail.com
on 11 Oct 2010 at 6:21
It crashes when opening registry key
"SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto
Update\Results\Install" where it tries to read the value of the
"LastSuccessTime".
Is this a non existing key/value on your OS? If so, what should it be?
Original comment by gerard.f...@gmail.com
on 11 Oct 2010 at 6:26
Looks good:
SBS 2008 -> http://screencast.com/t/mGbOgT1kQGzs
2003 Std. -> http://screencast.com/t/Fop5qZDPr
Original comment by jensba...@gmail.com
on 11 Oct 2010 at 6:34
This is in HKEY_LOCAL_MACHINE right ?
Original comment by gerard.f...@gmail.com
on 11 Oct 2010 at 6:50
Yes.
http://screencast.com/t/sosIng5qs
Original comment by jensba...@gmail.com
on 11 Oct 2010 at 6:53
http://ptf-prtgaddons.googlecode.com/files/LastWinUpdate.exe (version 8.0.2.5)
Somewhere in the debug it should read Raw value: 2010-08-31 17:31:44
Original comment by gerard.f...@gmail.com
on 11 Oct 2010 at 7:14
nothing like that, checked again the version, it's 8.0.2.5
Start debug session
Init service controler
Get impersonation object
Init registry object
Init registrykey object
Set service controler
Check if service is running
Open remote base key
Open sub key
Get key value
Error occured
End impersonation
Exception details
System.NullReferenceException: Der Objektverweis wurde nicht auf eine
Objektinstanz festgelegt.
bei LastWinUpdate.MainMod.GetValue()
bei LastWinUpdate.MainMod.Main()
Original comment by jensba...@gmail.com
on 11 Oct 2010 at 7:20
This means that it cannot find the registry key on the specified computer.
Original comment by gerard.f...@gmail.com
on 11 Oct 2010 at 7:39
Version 8.0.3 is now available for public download.
In this version the System.NullReferenceException is replaced by a more
explaining error message.
Original comment by gerard.f...@gmail.com
on 12 Oct 2010 at 8:44
Original comment by gerard.f...@gmail.com
on 16 Oct 2010 at 4:14
Original issue reported on code.google.com by
jensba...@gmail.com
on 23 Sep 2010 at 3:43