Error - > Conversion from string "" to type 'Date' is not valid

Post Reply
revero2749
Posts: 10
Joined: Thu May 16, 2024 3:30 pm
1

Error - > Conversion from string "" to type 'Date' is not valid

Post by revero2749 »

We have been having this error for a while the moment we click on the filehog tab on the client console
We have also update to version 1.0.5,but the plugin still seems to reflect v1.0.4 in the filehog interface

How can we resolve this error?I think it is causing the background scripts not to run properly etc as we dont get results at all anymore

User avatar
Cubert
Posts: 2740
Joined: Tue Dec 29, 2015 7:57 pm
9
Contact:

Re: Error - > Conversion from string "" to type 'Date' is not valid

Post by Cubert »

Sounds like you have a stuck DLL on your local PC.


Here is how to fix.

viewtopic.php?t=5523

revero2749
Posts: 10
Joined: Thu May 16, 2024 3:30 pm
1

Re: Error - > Conversion from string "" to type 'Date' is not valid

Post by revero2749 »

I have done that already with no luck

What I have not done yet is perhaps remove the plugin completely from automate,including the .dll file on the automate server.then reinstalling it afterward,the .dll could be stuck on the server instead maybe

Thanks for pointing that out,I will provide feedback once I have done a fresh install on the server of the plugin

User avatar
Cubert
Posts: 2740
Joined: Tue Dec 29, 2015 7:57 pm
9
Contact:

Re: Error - > Conversion from string "" to type 'Date' is not valid

Post by Cubert »

Test the plugin dll by right clicking it and selecting properties.


Is the file version showing 1.0.5 on the plugin you install to server? This image is for Patch Remedy but your FileHog DLL should show it's version here as well.




Screenshot 2024-05-22 142144.png
Screenshot 2024-05-22 142144.png (21.62 KiB) Viewed 98100 times

revero2749
Posts: 10
Joined: Thu May 16, 2024 3:30 pm
1

Re: Error - > Conversion from string "" to type 'Date' is not valid

Post by revero2749 »

2024-05-23 02_32_27-GLC-MIS-AUTO - ScreenConnect - Connected.png
2024-05-23 02_32_27-GLC-MIS-AUTO - ScreenConnect - Connected.png (31.28 KiB) Viewed 98096 times
I have removed the plugin completely from automate
I made sure the .dll is not in the automate server program files directory
I cleared the labtech lugins folder on the server and also cleared the control center cache all at the same time before restart the db agent service and then logging in to reinstall the plugin again and clear the plugins folder and cache folder again afterwards before testing with no luck

I am not sure if there is an issues with the .dll file or some sort of ready permission or maybe with the plugins DB tables,but I have cleared those tables too.I wish I had the 1.0.4 .dll file still just to see if it resolves the issue

sethayes
Posts: 1
Joined: Sat Jan 25, 2025 4:03 pm

Re: Error - > Conversion from string "" to type 'Date' is not valid

Post by sethayes »

Was there a solution for this?

I just installed it, as well (1.0.5), and it's throwing the same (Error- > Conversion from string "" to type 'Date' is not valid.) error whenever I open [Agent] > Plugins > FileHog.

I've logged out of CWA, and back in as Administrator.
I've deleted everything out of C:\ProgramData\LabTech Plugins\ and logged in to CWA as Administrator.

Edit: Plugin is also showing v1.0.4 - didn't notice that before.

User avatar
Cubert
Posts: 2740
Joined: Tue Dec 29, 2015 7:57 pm
9
Contact:

Re: Error - > Conversion from string "" to type 'Date' is not valid

Post by Cubert »

Here is the link to 1.0.5, update your plugin, restart the DBagent and close and reopen Control center. Lets see if that resolves your issues.

https://delivery.shopifyapps.com/-/dcfc ... 05059505e2

User avatar
Cubert
Posts: 2740
Joined: Tue Dec 29, 2015 7:57 pm
9
Contact:

Re: Error - > Conversion from string "" to type 'Date' is not valid

Post by Cubert »

I did a quick review of this plugin and see its was last updated some time in 2014-2015. Looks like there are several prereqs required to get the plugin functional. The code is a bit dated so I am going to refresh this plugin today to 1.0.6 that fixes and simplyfies the install to just installing the plugin DLL file alone.

Be back soon...

Post Reply

Return to “FileHog File Analyzer Plugin”