SyncChanges icon indicating copy to clipboard operation
SyncChanges copied to clipboard

some errors were occurred when starting the syncChanges.service

Open Jessppp opened this issue 2 years ago • 1 comments

I can't install the service,The command line is as follows.

PS C:\Users\Administrator\Downloads\SyncChanges.Service.3.0.438> C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe .\SyncChanges.Service.exe
Microsoft (R) .NET Framework Installation utility Version 4.8.9037.0
Copyright (C) Microsoft Corporation.  All rights reserved.

Exception occurred while initializing the installation:
System.IO.FileLoadException: Could not load file or assembly 'file:///C:\Users\Administrator\Downloads\SyncChanges.Service.3.0.438\SyncChanges.Service.exe' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515).

Jessppp avatar Apr 05 '23 18:04 Jessppp

Strange. Have you executed the command from an elevated shell? Is the SyncChanges.Service.exe file in that location? Perhaps you can try also using Powershell as described here: https://learn.microsoft.com/en-us/dotnet/framework/windows-services/how-to-install-and-uninstall-services

mganss avatar Apr 06 '23 10:04 mganss