Click here to Skip to main content
14,386,394 members
Rate this:
Please Sign up or sign in to vote.
See more:
I have a Windows application (not deployed, I am debugging it in my machine) written in vb, that is supposed to download a file from a server. But the application is returning a "False" when doing the File.Exists("path on the FileServer").

I can access the path on FileServer from my windows explorer and see the file.
I have given full control to everyone at a parent directory level on file server, but still does not work.
I have removed "read only" check at a parent level directory on file server, does'nt help.
I have written a console application in vb and c# to check if the path on FileServer is accessible. It works here. File.Exists returns a True here.
Looks like the path on fileserver is not getting detected from the windows application alone. Please help!!!

Thanks in advance.
F-ES Sitecore 1-Sep-15 6:04am
It looks like your windows app is running under a user that doesn't have access to the network share.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100