.NETGURU
Creating a remote DIr
Messages   Related Types
This message was discovered on ASPFriends.com 'ngfx-io' list.


Carlos Magalhaes
Hi all,

One thing I have noticed with my problem with trying to create a dir on a
remote machine share is that no matter what remote machine I use it does not
want to create the dir there it keeps sayin "Can not find part of path"
\\SERVER\SHARE\ <file:///\\SERVER\SHARE\> " and if there is anything after
that it just ignores e.g my path \\SERVER\SHARE\MYFOLDER
<file:///\\SERVER\SHARE\MYFOLDER> .

Any ideas there is not security errors at all and yet when I do
Directory.createdirectory(c:\mytestfolder\) it works perfectly!

Carlos

-------------------------------------------------------------
This email and any files transmitted are
confidential and intended solely for the
use of the individual or entity to which
they are addressed, whose privacy
should be respected. Any views or
opinions are solely those of the author
and do not necessarily represent those
of the Trencor Group, or any of its
representatives, unless specifically
stated.

Email transmission cannot be guaranteed
to be secure, error free or without virus
contamination. The sender therefore
accepts no liability for any errors or
omissions in the contents of this message,
nor for any virus infection that might result
from opening this message. Trencor is not
responsible in the event of any third party
interception of this email.

If you have received this email in error please notify
Click here to reveal e-mail address For more information about
Trencor, visit www.trencor.net <http://www.trencor.net>
Reply to this message...
 
    
Jose Fuentes
I don't know if this is anyway related since you don't get the security
error I asked about but it still seems like it might be part of the problem
since I recently had a very similar problem.

in administrator tools you will find "Microsoft .net Configuration"

In there once opened go to "Runtime Security policy"

THen hit to the right "Adjust Zone security"

Now I forgot to ask if this server is on the local lan or what.
I'm assuming it is. Ok then on interant or local lan for all users up the
trust to full trust.

save and now try it.

Joe

Let me know

-----Original Message-----
From: Carlos Magalhaes [mailto:Click here to reveal e-mail address]
Sent: Thursday, May 23, 2002 2:27 AM
To: ngfx-io
Subject: [ngfx-io] Creating a remote DIr

Hi all,

One thing I have noticed with my problem with trying to create a dir on a
remote machine share is that no matter what remote machine I use it does not
want to create the dir there it keeps sayin "Can not find part of path"
\\SERVER\SHARE\ <file:///\\SERVER\SHARE\> " and if there is anything after
that it just ignores e.g my path \\SERVER\SHARE\MYFOLDER
<file:///\\SERVER\SHARE\MYFOLDER> .

Any ideas there is not security errors at all and yet when I do
Directory.createdirectory(c:\mytestfolder\) it works perfectly!

Carlos

-------------------------------------------------------------
This email and any files transmitted are
confidential and intended solely for the
use of the individual or entity to which
they are addressed, whose privacy
should be respected. Any views or
opinions are solely those of the author
and do not necessarily represent those
of the Trencor Group, or any of its
representatives, unless specifically
stated.

Email transmission cannot be guaranteed
to be secure, error free or without virus
contamination. The sender therefore
accepts no liability for any errors or
omissions in the contents of this message,
nor for any virus infection that might result
from opening this message. Trencor is not
responsible in the event of any third party
interception of this email.

If you have received this email in error please notify
Click here to reveal e-mail address For more information about
Trencor, visit www.trencor.net <http://www.trencor.net>

Reply to this message...
 
 
System.IO.Directory




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification