H
HASS.Agent•15h ago
MrGeek

.Net desktop errors

Morning all I woke up to errors on hass.agent.exe starting up on my machine. Been running fine for years! Is this a me issue? Should i download and install teh suggested, or is it because i am running an out of date version or something?
No description
Solution:
let me now try and install 12
Jump to solution
101 Replies
HASS.Agent Helper
HASS.Agent Helper•15h ago
Help us Help Others!
To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution
From An unknown user
HASS.Agent Helper
HASS.Agent Helper•15h ago
Help us Help You!
Please don't delete messages or posts because it makes it impossible to understand what happened. If you don't want your messages to be seen then don't post here. Please provide us with the version number of your app.
You can find it by clicking the ? at the bottom of the main page and checking under the logo that shows.
We will help as soon as possible. While you're waiting you can try the following:
- Checkout the documentation. - Search here in discord for previously solved similar issues.
HASS.Agent Helper
HASS.Agent Helper•15h ago
@Amadeo
MrGeek
MrGeekOP•14h ago
HASS Agent version info
No description
MrGeek
MrGeekOP•14h ago
I can't open the app to get inside it so i beleive those are correct.
DrR0x
DrR0x•14h ago
Hmm, this is weird Anything changed on Ur system? A reinstall should fix it, backup config if needed, but doesn't explain why it broke 🤔 .net is bundled with hass.agent so it shouldn't have been removed unless by another program or yourself.
MrGeek
MrGeekOP•14h ago
my company patch managment could have caused it and updated i guess
DrR0x
DrR0x•14h ago
Mmm was going to suggest overprotective antivirus but work computers are even worse
MrGeek
MrGeekOP•14h ago
No description
MrGeek
MrGeekOP•14h ago
Its my business, and i run the IT 🙂
DrR0x
DrR0x•14h ago
Oh, that changes it then 😂
MrGeek
MrGeekOP•14h ago
it looks like it updated to 0.36 from 0.33 Let me backup and re-install. How do i backup the config?
DrR0x
DrR0x•14h ago
Did you install .net before hass.agent?
MrGeek
MrGeekOP•14h ago
i would guess it was installed on my machine previously yes
DrR0x
DrR0x•14h ago
Hmm if 6 was installed that makes the error odd, as it should've used a link pointing to any 6.x You've tried restarting I assume?
MrGeek
MrGeekOP•14h ago
no. let me try that now, but i think my machine rebooted last night and thats when the issue started
DrR0x
DrR0x•14h ago
Backup info here
MrGeek
MrGeekOP•14h ago
hmmm not sure that is correct %appdata%\LAB02 Research\HASS.Agent\config does not exist i see a config folder in the program files dir
MrGeek
MrGeekOP•14h ago
No description
DrR0x
DrR0x•14h ago
Program files is for satellite, app is user install so orogramdata Oh yeah sorry, sent wrong link, I haven't pushed the new config folders to docs yet
MrGeek
MrGeekOP•13h ago
i have a sepererte folder in program files for the satallite service ok so just grab the one in program files
DrR0x
DrR0x•13h ago
Give me a sec
MrGeek
MrGeekOP•13h ago
maybe i just try and reinstall over the top? will that keep my config?
DrR0x
DrR0x•13h ago
Usually, not always tho
MrGeek
MrGeekOP•13h ago
ok so shall i just copy that config stuff i shared a screen shot of? then install over the top after a quick reboot?
DrR0x
DrR0x•13h ago
C:\Users\user\AppData\Local\HASS.Agent\Client\config and C:\Program Files\HASS.Agent Satellite Service\Service\config yep, everythin1g in that folder, localappdata is more important though
MrGeek
MrGeekOP•13h ago
Just rebooting Can you stick around pretty please 🙂 Ok reboot didnt help ive copied the app data stuff Just to confirm, im just copying THese folders and nothing else? C:\Program Files\HASS.Agent\Service\config i dont have a config folder in the satallite service\service folder. I dont think i use the satallite service?
MrGeek
MrGeekOP•13h ago
No description
MrGeek
MrGeekOP•13h ago
and do i need to worry about this file? C:\Program Files\HASS.Agent\Service\appsettings.json
DrR0x
DrR0x•13h ago
Installation - Hass Agent Documentation
Access your homeassistant from any windows machine - send notifications, collect data and automate repetitive tasks
MrGeek
MrGeekOP•13h ago
Ive taken copies and i am just gonna try and install over the top
DrR0x
DrR0x•13h ago
most people wont
MrGeek
MrGeekOP•13h ago
interesting, it is installing 6.0.20 of .net desktop runtime
DrR0x
DrR0x•13h ago
which version are you downloading?
Amadeo
Amadeo•13h ago
Hm, the installer should install the required .net
MrGeek
MrGeekOP•13h ago
yeah it did I assume i dont use the "Migrate" option Just weird, i can only assume my patch management some how uninstalled it which is really weird
DrR0x
DrR0x•13h ago
Actually @Amadeo docs modification here? migrate only checks lab02 right?
MrGeek
MrGeekOP•13h ago
No description
MrGeek
MrGeekOP•13h ago
leave it unchecked right?
DrR0x
DrR0x•13h ago
i leave it unchecked yes idk about the code running it tho
MrGeek
MrGeekOP•13h ago
well... this is really fucking weird after installing both the app and the satallite service and watching them both try and install .net desktop 6.0.20 which is showing as installed today
MrGeek
MrGeekOP•13h ago
No description
MrGeek
MrGeekOP•13h ago
install dates all showing today! ooh Could this be the issue
MrGeek
MrGeekOP•13h ago
No description
MrGeek
MrGeekOP•13h ago
i have version 8 installed too
DrR0x
DrR0x•13h ago
no, windows allows for multiple side by side, i have 8 as well
MrGeek
MrGeekOP•13h ago
trying a repair on v6
MrGeek
MrGeekOP•13h ago
No description
MrGeek
MrGeekOP•13h ago
still same error
MrGeek
MrGeekOP•13h ago
No description
MrGeek
MrGeekOP•13h ago
what do i try now? Also does this matter?
MrGeek
MrGeekOP•13h ago
No description
DrR0x
DrR0x•13h ago
is the other beta installed for a different user? shouldnt be more than 2 if its just 1 user
MrGeek
MrGeekOP•13h ago
No only one user on here removing it all, rebooting and starting again
DrR0x
DrR0x•13h ago
beta1 is definitely wrong then. hang on have you done it already?
MrGeek
MrGeekOP•13h ago
yes about to reboot
DrR0x
DrR0x•13h ago
all good
MrGeek
MrGeekOP•13h ago
just waiting for desktop runtime to uninstall and then rtbooting I thinkk i had to install the beta because my notification stuff wasnt working i can't remember it was soo long ago i wont install beta now and see if it works
DrR0x
DrR0x•13h ago
version doesnt matter, im on beta myself, just shouldnt be more than 1 version
MrGeek
MrGeekOP•13h ago
Ok then I’ll install the beta after the reboot instead As I’m sure there was a reason I had that installed Thank you for all your help so far I’ve become so reliant on this app for my notifications Shall i go for 2.1.1 beta 3?
DrR0x
DrR0x•13h ago
yep
MrGeek
MrGeekOP•13h ago
feels weird that both the main app and the statalite app are asking to install the .net thing same error all completely fresh
MrGeek
MrGeekOP•13h ago
No description
DrR0x
DrR0x•13h ago
And just randomly happened?
MrGeek
MrGeekOP•13h ago
No description
MrGeek
MrGeekOP•13h ago
Completely randomly! Its been working fine for months and months and its not sophos by the way 🙂
DrR0x
DrR0x•13h ago
I'd say definitely ur system, but potentially something we need to account for.
MrGeek
MrGeekOP•13h ago
Yep no doubt, but not sure what i do to investigate what on my system
DrR0x
DrR0x•13h ago
dotnet --info in powershell/cmd could help narrow it down
MrGeek
MrGeekOP•13h ago
No description
DrR0x
DrR0x•13h ago
okay, definitely .NET then
MrGeek
MrGeekOP•13h ago
shall i remove/repair v8?
DrR0x
DrR0x•13h ago
i assume dotnet on its own also doesn't work? repair should be all thats needed, the latest version is used for CLI and path
MrGeek
MrGeekOP•13h ago
No description
DrR0x
DrR0x•13h ago
but 6 will be available to apps hmm, dotnet --list-sdks?
MrGeek
MrGeekOP•13h ago
No description
MrGeek
MrGeekOP•13h ago
interesting when i tried to click change
DrR0x
DrR0x•13h ago
and --list-runtimes?
MrGeek
MrGeekOP•13h ago
The all fail with that same error
DrR0x
DrR0x•13h ago
check directory first, if files are there you dont want to just removed path and program entry except for this one
MrGeek
MrGeekOP•13h ago
yeah except that one which dir?
DrR0x
DrR0x•13h ago
C:\Program Files\dotnet\shared\Microsoft.NETCore.App
C:\Program Files\dotnet\shared\Microsoft.NETCore.App
check for 8.x and contents of it
MrGeek
MrGeekOP•13h ago
8.0.12 is empty 8.0.11 has 6 dll's 8.0.10 is empty 8.0.8 is empty
DrR0x
DrR0x•13h ago
6 suggests something wrong with the installation, problem is that its hard to clean up all of the stuff it does to your computer
MrGeek
MrGeekOP•13h ago
No description
MrGeek
MrGeekOP•13h ago
my path variables so whats my next step? reinstall v 8?
DrR0x
DrR0x•13h ago
will install 8.12 tho or newer, not solving the problem
MrGeek
MrGeekOP•13h ago
Well the one showing in add/remove programs is 11, (i cant remove it from there). So wonder if i try and install 11?
DrR0x
DrR0x•13h ago
worth a shot
MrGeek
MrGeekOP•13h ago
ok it came up with rapair straight away lets see what that does
DrR0x
DrR0x•13h ago
Microsoft Store - Download Center
Download Microsoft .NET Framework Repair Tool from Official Microso...
This tool detects and tries to fix some frequently occurring issues with the setup of Microsoft .NET Framework or with updates to the Microsoft .NET Framework.
MrGeek
MrGeekOP•13h ago
No description
Solution
MrGeek
MrGeek•13h ago
let me now try and install 12
MrGeek
MrGeekOP•13h ago
as thats whats in the error ok progress dotnet --info works now
DrR0x
DrR0x•13h ago
scrshot? or is v6 showing?
MrGeek
MrGeekOP•13h ago
V6 shows
DrR0x
DrR0x•13h ago
could restart and try hass.agent
MrGeek
MrGeekOP•13h ago
def need a restart? just doing a work thing so need 5 mins for that
DrR0x
DrR0x•13h ago
yes/no try without it then .net usually needs it because of the changes to system, but technically only a repair not an install so should be fine
MrGeek
MrGeekOP•12h ago
ill reboot in a second just doing a work thing yay we are back up and running @DrR0x you absolute legend! thank you for bearing with me on that! and all my notifications are back working amazing fuck you .net 😛

Did you find this page helpful?