[jcifs] jcifs.smb.SmbException: 0xC0000205

Yatin Baraiya baraiya.yatin at gmail.com
Mon Jun 25 00:40:39 MDT 2012

Hy John McCarthy

I am having an same issue on a Windows Server 2008 R2 32-bit system where
sometimes I get SMB Error 0xC0000205 when the following java code is executed

SmbFile dir = new SmbFile(remotePath + "yatin");

if (dir.isDirectory())
String fileList[] = dir.list();//this code line will throw the Exception

Error printstrace:

jcifs.smb.SmbException: 0xC0000205
at jcifs.smb.SmbTransport.checkStatus(SmbTransport.ja va:545)
at jcifs.smb.SmbTransport.send(SmbTransport.java:622)
at jcifs.smb.SmbSession.send(SmbSession.java:244)
at jcifs.smb.SmbTree.send(SmbTree.java:119)
at jcifs.smb.SmbFile.send(SmbFile.java:770)
at jcifs.smb.SmbFile.doFindFirstNext(SmbFile.java:197 9)
at jcifs.smb.SmbFile.doEnum(SmbFile.java:1731)
at jcifs.smb.SmbFile.list(SmbFile.java:1702)
at jcifs.smb.SmbFile.list(SmbFile.java:1599)

I am using jcifs-1.3.14.jar file for copy the files and getting the files from
the windows server.

I have goggling on it but nothing getting from it.
Have you get any reason why this error occurs? Or have you get any solution
regarding the said issue?

If you have find something useful for this issue,can you share it with me?
It is really critical for me.

Thanks in advance
Yatin Baraiya 

More information about the jCIFS mailing list