rodneyviana / ODSyncService

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

BadImageFormatException - assembly manifest? #20

Closed cyn3rgy closed 3 years ago

cyn3rgy commented 3 years ago

Hi I'm getting the following error when trying to import the module import-module : Could not load file or assembly 'file:///C:\OndeDrive\OneDriveLib.dll' or one of its dependencies. The module was expected to contain an assembly manifest. At line:1 char:1

Wondering if you have seen this before?

rodneyviana commented 3 years ago

Hi I'm getting the following error when trying to import the module import-module : Could not load file or assembly 'file:///C:\OndeDrive\OneDriveLib.dll' or one of its dependencies. The module was expected to contain an assembly manifest. At line:1 char:1

  • import-module C:\OneDrive\OneDriveLib.dll
  • + CategoryInfo          : NotSpecified: (:) [Import-Module], BadImageFormatException
    + FullyQualifiedErrorId : System.BadImageFormatException,Microsoft.PowerShell.Commands.ImportModuleCommand

Wondering if you have seen this before?

See this: https://github.com/rodneyviana/ODSyncService/issues/5#issuecomment-573111391

StevenReid commented 3 years ago

I am getting the same result and have followed the steps in #5

cyn3rgy commented 3 years ago

I ran the suggested script and re-ran the download. I'm getting the same file hash in the script and the download: Algorithm Hash Path


SHA256 411FCC70A9AA76AA3403C196DA34433A16A65CB850154E5FFE5B72B42334D482

Is that correct?

rodneyviana commented 3 years ago

Is it happening on just a computer or on all computers? It may be any of these:

cyn3rgy commented 3 years ago

My issue was resolved by using another computer for the download. It's curious that the issue isn't happening with other downloads. Also on e I downloaded it to another location, I could then copy the file to my main computer without issue. Very bizarre and I'm sure a source of frustration for you Rodney. Thanks for your support.

Get Outlook for Androidhttps://aka.ms/ghei36


From: Rodney Viana notifications@github.com Sent: Friday, October 30, 2020 1:08:51 PM To: rodneyviana/ODSyncService ODSyncService@noreply.github.com Cc: cyn3rgy cyn3rgy@hotmail.com; Author author@noreply.github.com Subject: Re: [rodneyviana/ODSyncService] BadImageFormatException - assembly manifest? (#20)

Is it happening on just a computer or on all computers? It may be any of these:

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/rodneyviana/ODSyncService/issues/20#issuecomment-719126300, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFKTNJPKYKCH6LTSEKMPCVDSNIN3HANCNFSM4SNTU4FQ.