Skip to content
This repository has been archived by the owner on Dec 5, 2018. It is now read-only.

DokanSSHFS.exe has stopped working #5

Open
GoogleCodeExporter opened this issue Mar 16, 2015 · 19 comments
Open

DokanSSHFS.exe has stopped working #5

GoogleCodeExporter opened this issue Mar 16, 2015 · 19 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Install dokan-0371181.zip (64-bit installer)
2. Install dokan-sshfs-0191124.zip
3. Attempt to connect to an SSH server (in this case, Fedora 9 running
OpenSSH 5.0)

The connection is established successfully, but then DokanSSHFS.exe crashes.

This is on Vista x64 Ultimate. The only unusual configurations on the SSH
server:

- There is a banner (but this is displayed correctly by DokanSSHFS in a
dialog box)
- The connection may be established over IPv6 (I haven't checked -- both
are available and I'm connecting by DNS hostname)

Feel free to ask me any followup questions necessary; I'll be happy to
assist in debugging.

Original issue reported on code.google.com by stian%ok...@gtempaccount.com on 12 Sep 2008 at 2:38

@GoogleCodeExporter
Copy link
Author

Hello,

Did you get some message when DokanSSHFS crashed?
DokanSSHFS has a debug option "-sd" to output debug message, to enable this 
option,
you can use the bellow binary and run DokanSSHFS with "-sd" parameter. You can 
see 
the messages using Dbgview (MS sysinternals). Could you try this?
http://dokan-dev.net/en/wp-content/uploads/2008/07/dokansshfs.zip

Original comment by asa...@gmail.com on 15 Sep 2008 at 7:30

  • Added labels: DokanSSHFS

@GoogleCodeExporter
Copy link
Author

Original comment by asa...@gmail.com on 15 Sep 2008 at 8:00

@GoogleCodeExporter
Copy link
Author

Hi. I also have a similar issue.
I also installed 
- dokan-0371181.zip (64-bit installer)
- dokan-sshfs-0191124.zip

Once I try to connect, it crash and the debugger shows 
"An unhandled exception of type 'System.DllNotFoundException' occurred in 
DokanNet.dll

Additional information: Unable to load DLL 'dokan.dll': The specified module 
could 
not be found. (Exception from HRESULT: 0x8007007E)"

But I found that "dokan.dll" is in C:\Windows\Syswow64.

I think that DokanSSHFS tries to find 32bit version of "dokan.dll" from 
C:\Windows\system32.


Original comment by story...@gmail.com on 11 Oct 2008 at 12:18

@GoogleCodeExporter
Copy link
Author

Hi,

first: Thanks a lot for your work making sshfs open available on windows.

Here are the same issues with:
-dokan-0.3.7.1181 (64)
-dokan-sshfs-0.2.0.1226

on a Windows Vista 64bit Business.

While trying to connect to an openSSH server in a private network (IPv4) 
"DokanSSHFS
stopped working".
If I try a wrong password it won't crash (message "failed to connect" appears 
and I
can try again). Only when I use the right password the problem occurs.

It would be really amazing if you could fix this error :)

Original comment by KevinZu...@gmail.com on 11 Dec 2008 at 7:40

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Getting the same thing with the 0.4.0.1223 x64 library and 0.2.0.1226 binary.  
Tried
hosts running both Ubuntu 8.10 & Solaris 10.  Tried connecting from both Vista
Enterprise 64bit & XP 64bit.

Original comment by t.ready...@gmail.com on 17 Feb 2009 at 8:43

@GoogleCodeExporter
Copy link
Author

Same here:  Vista x64
Installed dokansshfs,  the dokan libs, and vcredist.

I also tried the dokansshfs in comment #1 and got this trace:

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly 'DokanNet,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its 
dependencies.
The system cannot find the file specified.
File name: 'DokanNet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
   at DokanSSHFS.SettingForm.connect_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32
clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr
wparam, IntPtr lparam)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure 
logging.
To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog].



************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1826 (QFE.050727-1800)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
DokanSSHFS
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/dan/AppData/Local/Temp/Temp1_dokansshfs.zip/DokanSSHFS.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e
089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/Sy
stem.Drawing.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System
.Xml.dll
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50
a3a/System.Configuration.dll
----------------------------------------
t3ccibwl
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Deployment
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
    CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a
/System.Deployment.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Original comment by Dan.Gart...@gmail.com on 20 Feb 2009 at 12:31

@GoogleCodeExporter
Copy link
Author

Well, I got the solution. (Yes!)

Use this guide here: 
http://blogs.intesoft.net/post/2007/12/Running-NET-Apps-in-32-
bit-mode-on-64-bit-Windows.aspx

On the file C:\Program Files (x86)\Dokan\DokanSSHFS\DokanSSHFS.exe

Then it works.

Original comment by sinni...@gmail.com on 21 Feb 2009 at 11:01

@GoogleCodeExporter
Copy link
Author

To asakaw:

Recompile your SSHFS.exe program to ONLY run in x86 mode!

Original comment by sinni...@gmail.com on 21 Feb 2009 at 11:02

@GoogleCodeExporter
Copy link
Author

This is the link to the SDK you need in order for Comment #8 to work:
http://www.microsoft.com/downloads/details.aspx?FamilyID=a91dc12a-fc94-4027-b67e
-46bab7c5226c&displaylang=en

Original comment by mikael.l...@gmail.com on 24 Jul 2009 at 10:09

@GoogleCodeExporter
Copy link
Author

Any chance to get an updated build that works on x64?

Original comment by sorin.sb...@gmail.com on 16 Sep 2009 at 11:54

@GoogleCodeExporter
Copy link
Author

I'd like to second the request for a x644 build for sshfs

Original comment by YourK...@gmail.com on 30 Sep 2009 at 5:13

@GoogleCodeExporter
Copy link
Author

did what den...@efjot.de said, worked perfectly. 


This is the coreflags.exe that is needed  

Original comment by ulaela...@gmail.com on 14 Jan 2010 at 12:50

Attachments:

@GoogleCodeExporter
Copy link
Author

Same issue on (Win7 Pro 64bit) and same EASY 2-step solution.

1.) Get CorFlags.exe from the link in comment #13
2.) Run this command ONCE from an administrator-privileged command prompt.
    CoreFlags.exe DokanSSHFS.exe /32BIT+

Now the program works everytime I click the icon!  Thanks for the teamwork!

Original comment by nate.wil...@gmail.com on 23 Jun 2010 at 2:58

@GoogleCodeExporter
Copy link
Author

I can confirm that #13/#14 works (at least the program don't crash).

For information : the like on #8 is dead, here is an updated one : 
http://blogs.intesoft.net/post/2007/12/Running-NET-Apps-in-32-bit-mode-on-64-bit
-Windows.aspx

Original comment by jok...@gmail.com on 25 Jul 2010 at 2:54

@GoogleCodeExporter
Copy link
Author

Thanks for a great implementation.

Also can confirm that 13/14 works BUT... you need to run the cmd promt as 
Administrator for this to work, otherwise you may get corflags error cf001.

Just navigate to windows/system32/cmd.exe, right click and choose "Run as 
Administrator"

Here is the output of what happens if you do not:

C:\Program Files (x86)\Dokan\DokanSSHFS>CorFlags.exe DokanSSHFS.exe /32BIT+
Microsoft (R) .NET Framework CorFlags Conversion Tool.  Version  3.5.21022.8
Copyright (c) Microsoft Corporation.  All rights reserved.

corflags : error CF001 : Could not open file for writing

Enjoy and Good luck.

Cheers,
Christian

Original comment by christia...@gmail.com on 21 Sep 2010 at 12:34

@GoogleCodeExporter
Copy link
Author

I did the above and still received the below error. 


Description:
  Stopped working

Problem signature:
  Problem Event Name:   CLR20r3
  Problem Signature 01: dokansshfs.exe
  Problem Signature 02: 1.0.0.0
  Problem Signature 03: 4d2da982
  Problem Signature 04: DokanNet
  Problem Signature 05: 1.0.0.0
  Problem Signature 06: 4d2c6b88
  Problem Signature 07: 20
  Problem Signature 08: 2a7
  Problem Signature 09: System.DllNotFoundException
  OS Version:   6.0.6002.2.2.0.305.9
  Locale ID:    1033

Read our privacy statement:
  http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409

Original comment by michael....@gmail.com on 9 Jan 2012 at 9:21

@GoogleCodeExporter
Copy link
Author

CorFlags-method not working on Win8/x64.

Original comment by stanisla...@gmail.com on 27 Mar 2013 at 2:44

@GoogleCodeExporter
Copy link
Author

if this error received Problem Signature 09:    System.DllNotFoundException 

first step install dokan libraries

Original comment by oguzhank...@gmail.com on 26 Apr 2013 at 12:50

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

No branches or pull requests

1 participant