|
-
Apr 22nd, 2008, 05:21 PM
#1
Thread Starter
Addicted Member
[2008] IO on Mapped Drive
Hi
I have a windows application which using "Directory.Exists" and "Directory.CreateDirectory", It works perfect on local drive but if I use mapped drive it does not work.
FYI:
mapped drive is Novel Netware not windows.
I have already tried security options with no luck.
-
Apr 22nd, 2008, 06:39 PM
#2
Re: [2008] IO on Mapped Drive
Things don't just not work. Please tell us exactly what happens. Is an exception thrown? If so then you're provided with an error message as a diagnostic tool. Given that you're asking us to diagnose the issue, logic would dictate that you provide us with that error message, or any other information regarding the issue. maybe someone has had that same issue and maybe they'll see this thread. In the meantime, the rest of us may be able to help if we have all the information.
-
Apr 22nd, 2008, 06:59 PM
#3
Thread Starter
Addicted Member
Re: [2008] IO on Mapped Drive
For "Directory.Exists" it returns FALSE even that directory does EXISTS.
Example
If Not Directory.Exists("T:\Test") Then' this returns false but directory exists.
directory.createdirectory("T:\Test")
'create directory will fail ofcourse as its not able to see mapped path
End If
Hope this helps.
-
Apr 22nd, 2008, 07:06 PM
#4
Thread Starter
Addicted Member
Re: [2008] IO on Mapped Drive
Another quick thing, it works perfect if mapped drive is of windows OS and AS 400. I am trying to make it work on Mapped drive of on Novell Network.
-
Apr 22nd, 2008, 07:34 PM
#5
Re: [2008] IO on Mapped Drive
One point to note is this, from the MSDN documentation for the Directory.Exists method:
The Exists method does not perform network authentication. If you query an existing network share without being pre-authenticated, the Exists method will return false.
Try opening the mapped folder in Windows Explorer and see if Directory.Exists returns True then.
-
Apr 23rd, 2008, 11:06 AM
#6
Thread Starter
Addicted Member
Re: [2008] IO on Mapped Drive
Sorry, what do you mean by
"Try opening the mapped folder in Windows Explorer and see if Directory.Exists returns True then."
In windows explorer, I see that folder by opening drive letter "T:\",
Well, we have asked network admin to add a username/password to novell network domain. Hopefully this will solve problem. This is the same username/password which we use to login on windows.
I will update this thread accordingly.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|