Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing dokan1.dll #2

Open
the-liquid-metal opened this issue Jul 8, 2019 · 5 comments
Open

missing dokan1.dll #2

the-liquid-metal opened this issue Jul 8, 2019 · 5 comments

Comments

@the-liquid-metal
Copy link

found this error:

Unhandled Exception: System.AggregateException: One or more errors occurred. ---> System.DllNotFoundException: Unable to load DLL 'dokan1.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at DokanNet.Native.NativeMethods.DokanMain(DOKAN_OPTIONS& options, DOKAN_OPERATIONS& operations)
at DokanNet.Dokan.Mount(IDokanOperations operations, String mountPoint, DokanOptions mountOptions, Int32 threadCount, Int32 version, TimeSpan timeout, String uncName, Int32 allocationUnitSize, Int32 sectorSize, ILogger logger)
at Shaman.Dokan.FileSystemBase.<>c__DisplayClass58_0.b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
at Shaman.Dokan.FileSystemBase.MountSimple(Int32 threadCount)
at Shaman.Dokan.SevenZipProgram.Main(String[] args) in C:\Repositories\BuildFs\BuildFs\Shaman.Dokan.Archive\Program.cs:line 21

@dotnetCarpenter
Copy link

I got the same error.

I have installed Dokany 1.3.1.1000 and Microsoft Visual C++ Redistributable for Visual Studio 2019.

PS C:\Users\jonro\Tools\Shaman.Dokan.Archive> .\Shaman.Dokan.Archive.exe ..\..\Downloads\foobar.rar --open
Mounted.
C:\DokanFs\SevenZipFs-..-..-Downloads-foobar.rar

Unhandled Exception: System.AggregateException: One or more errors occurred. ---> System.DllNotFoundException: Unable to load DLL 'dokan1.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at DokanNet.Native.NativeMethods.DokanMain(DOKAN_OPTIONS& options, DOKAN_OPERATIONS& operations)
   at DokanNet.Dokan.Mount(IDokanOperations operations, String mountPoint, DokanOptions mountOptions, Int32 threadCount, Int32 version, TimeSpan timeout, String uncName, Int32 allocationUnitSize, Int32 sectorSize, ILogger logger)
   at Shaman.Dokan.FileSystemBase.<>c__DisplayClass58_0.<MountSimple>b__0()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
   --- End of inner exception stack trace ---
   at Shaman.Dokan.FileSystemBase.MountSimple(Int32 threadCount)
   at Shaman.Dokan.SevenZipProgram.Main(String[] args)

@antiufo What version of Dokan /Dokany is supported?

@dotnetCarpenter
Copy link

dokan1.dll is located in C:\Windows\System32\dokan1.dll on my system.

@dotnetCarpenter
Copy link

So I guess I am missing DokanNet, since this is a .NET project.

But after setting up NuGet, I get the following:

Install-Package DokanNet
The package(s) come(s) from a package source that is not marked as trusted.
Are you sure you want to install software from 'NuGet'?
Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): Y
Install-Package : Dependency loop detected for package 'DokanNet'.
At line:1 char:1
+ Install-Package DokanNet
+ ~~~~~~~~~~~~~~~~~~~~~~~~
   + CategoryInfo          : Deadlock detected: (DokanNet:String) [Install-Package], Exception
   + FullyQualifiedErrorId : DependencyLoopDetected,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage

And now I read that dokan1.dll is not even in DukanNet. dokan-dev/dokan-dotnet#173

Oh my - it is a mess!

@painfull30
Copy link

@asheroto
Copy link

asheroto commented Jul 6, 2022

Looks like it's because Dokan is now on version 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants