jcifs.smb.SmbException: The network name cannot be found

This forum was posted on Tuesday, May 21, 2013 6:16:42 AM

The below is my piece of code snippet
SmbFile catalExp = new SmbFile("smb:///Project share/Home/4. Folders/planning - Design & Exec/sample.txt" 
new NtlmPasswordAuthentication(LoadProp.getShrdDomain() "user" "paswd"));

In this I'm facing the error
jcifs.smb.SmbException: The network name can't be found
at jcifs.smb.SmbTransport.send(SmbTransport.java:753)
at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:140)
at jcifs.smb.SmbSession.send(SmbSession.java:103)
at jcifs.smb.SmbTree.treeConnect(SmbTree.java:132)
at jcifs.smb.SmbFile.connect(SmbFile.java:674)
at jcifs.smb.SmbFile.connect0(SmbFile.java:644)
at jcifs.smb.SmbFile.open0(SmbFile.java:700)
at jcifs.smb.SmbFile.createNewFile(SmbFile.java:2027)

Is this anything to do with the member rights to that specific shared folder or am I doing anything wrong
Plz advice



 Views 238 Get Source Code >>
Related Tags:




Replies on "jcifs.smb.SmbException: The network name cannot be found" :

Nobody has replied on this post , be first to post answer.


Post Your Answer/Comment:

Please Login first to post Reply !


Note: Please Put Code into <code></code> block.

Threads related to "jcifs.smb.SmbException: The network name cannot be found":