rodneyviana / ODSyncService

OneDrive service/DLL for Sync State
MIT License
93 stars 26 forks source link

OneDriveLib.dll not working with 1903 #6

Closed dprice116 closed 4 years ago

dprice116 commented 5 years ago

I have setup a powershell script to run OneDriveLib.dll and get status on our OneDrive libraries. On 1903 builds, the dll will import, but get a NullReferenceException when running Get-ODStatus. This works on 1809 and lower builds. Details:

get-odstatus : Object reference not set to an instance of an object. At line:1 char:1

dprice116 commented 5 years ago

Forgot to mention that the version of OneDrive is the same on both systems: 19.123.0624.0005

rodneyviana commented 4 years ago

I could reproduce the problem. I will check what the problem is.

dprice116 commented 4 years ago

Thanks for that. After a lot of trail and error, I managed to get it working with Windows 10 Pro Education 1903. Windows 10 Education 1903 still does not work.

rodneyviana commented 4 years ago

I could not reproduce actually. I tried the wrong version. I tested with Windows 10.0.18990.1 and I am enrolled in Windows Insider program fast track. What do you get in cmd prompt when you run: "ver"?

C:\Windows\System32>ver

Microsoft Windows [Version 10.0.18990.1]
Niclash1979 commented 4 years ago

Hi. Found this today and saw that only a clean installed 1903 of windows 10 is affected on another forum

dprice116 commented 4 years ago

Sorry for the delay, My test computer is using: Version 10.0.18362.30 It has started doing it in 1903 Pro Education

RobinBeismann commented 4 years ago

Can reproduce it on Build 18362.175, fails with an assembly missing error.

rodneyviana commented 4 years ago

Check the new version