|
by: Frederico Caldeira Knabben |
last post by:
Hello,
I'm having a problem when trying to use the Directory.CreateDirectory()
method. It throws a DirectoryNotFoundException exception. I'll try to
illustrate it:
Suppose you have the following (existing) directory:
d:\Sites\MySite\
And you whant to create the following:
|
by: David Davies |
last post by:
Please HELP !!
I have a web page that is trying to create folders on a file server
eg. \\SERVERNAME\F4\Projects\
Users of the web site are authenticated with Windows Integrated Security.
(have tried on W2003/IIS6 and W2k/IIS5 with no difference in behavoir)
|
by: Daniel |
last post by:
If I call CreateDirectory(\\\\devDriveA\\foo\\bar\\a\\b\\c) and
\\devDriveA\foo\bar already exists then sub directories a\b\c don't get
created. When I use CreateDirectory on my own file system, e.g.
CreateDirectory("c:\\a\\b\\c"); it works fine. Is there something that I
must do to get CreateDirectory to work on network drives?
|
by: Van Nguyen via DotNetMonster.com |
last post by:
My app run at 2 modes: Windows and Service. At Windows mode, my app works fine but at service mode, I can not use CreateDirectory command to create a new directory on server.
Ex:
Directory.CreateDirectory(@"\\ghpvn-linux1\ghp\20041205");
ghpvn-linux1: is the server name
ghp: is the shared directory
20041205: is the directory that I want to create
I receive error, starting "Could not find part of the path '\\ghpvn-linux1\ghp'."
I try...
|
by: H.B. |
last post by:
Hi,
Is there a way to avoid conflicts between CreateDirectory() (from API) and
Directory::CreateDirectory(). The other functions from Directory class
works(Exists() as example). It seems to be caused by the inclusion of
"windows.h" ... but I need it.
I already tried the System::IO::Directory::CreateDirectory() typo.
Any ideas ?
|
|
by: Tim Mulholland |
last post by:
What are my options for getting around the issues with
Directory.CreateDirectory() when i'm working on a hosted server where the
hosting company will not allow the ASPNET user to have read/list access to
the root of the drive (as is necessary for Directory.CreateDirectory() to
work, sadly)?
I have heard of a way to use unmanaged code to call _mkdir or something like
that instead, but that's very far from a clean solution.
What options...
|
by: Clinton Frankland |
last post by:
Hi,
On a Windows 2000 Server when attempting to use
System.IO.Directory.CreateDirectory(string.concat(Server.MapPath(""),
"\verify"))
I receive a System.IO.DirectoryNotFoundException error: Could not find a
part of the path "D:\".
The full path is "D:\hshome\clinton\test.gotchasoft.com\verify"
The web is running using impersonation as a user on the local machine.
|
by: Dan Lorenz |
last post by:
When trying to use the function CreateDirectory on my local machine
everything works fine but when I upload the page to my webhost I get an issue
that it can't find path on D:\, though D:\ is what my website is found on.
This is an H-SPHERE web cluster host.
From my research I found that this issue is due to ASPNET account not having
read previdgeles on the root of the drive.
My question is what is the correct approach to solve this...
|
by: Tom |
last post by:
This is really weird, but I have the following code:
private static readonly string mString = "tempUnzipDir" +
Path.DirectorySeparatorChar;
....
public static string ExtractToTempLocation(string aZip)
{
try
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|