|
by: Matthias Ludwig |
last post by:
I'm trying to create a directory on the web server with a
vb.net code:
....
Dim dirName As String = "w:\filepath\images"
If Not Directory.Exists(dirName) Then
Directory.CreateDirectory(dirName)
Label1.Text = "Directory created"
Else
|
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: Andy Lim |
last post by:
Hello all,
I just moved one of my ASP.NET application to a new hosting. But the same
application that used to work perfectly before now returns this error:
System.IO.DirectoryNotFoundException
What's wrong here? and how to resolve it?
|
by: Jacques Wentworth |
last post by:
I'm trying to access a Folder on a different Server using ASP.NET, and
are getting a DirectoryNotFoundException. It works fine when I access
the local drives on the server. I made sure the folder does exist.
I've put my code below to show what I'm trying to do.
Thanks
Jacques Wentworth
|
by: Joe |
last post by:
Hi,
I have written a webpage that allows a user to delete files in asp.net with
I am having a small problem.
To access this page a user has to login via login.aspx page. After
successful login, user is directed to a page called view.aspx which shows the
user the files in a directory and allows them to delete the files. This page
has a data grid having 4 columns - delete button, File Name, Last Write Time
and File Size. When a user...
|
|
by: Larry Viezel |
last post by:
I posted this problem on another forum previously, any help here would
be appreciated:
Two developers here are working on the same code in slightly different
environments. Jason programmed code to access a public folder on an
outside machine "\\usnynyc01ap002\". The code works fine on his box. He
is running Win2k3. I am running Windows 2000 Server. Running the same
code I get:
System.IO.DirectoryNotFoundException: Could not find a...
|
by: Bruce W. Darby |
last post by:
My application, prior to building it into an .exe, was working as it should.
As soon as I performed the build and attempted to run the application
outside the IDE, I got an error message stating DirectoryNotFoundException
unhandled. It then gives me the directory that it cannot find and I know why
it can't find it... It doesn't exist! What the program is now doing is
concatenating the projects directory with the filename of the folder that...
|
by: Dan Christensen |
last post by:
Hi, I've been using MSBee to build a small program for some time now
(since not everyone seems to have the 2.0 CLI installed yet).
Recently I decided to add some buttons that used images, so I naturally
placed the images in the project directory, then assembled them into a
resource file using the resource editor, which VS2005 placed the final
resource file in Properties\Resources.resx. All seemingly normal, no
hiccups thus far. ...
|
by: cw808 |
last post by:
Hi all. I'm new here but hoping I can get some help for my problem.
My situation is that I need to upload files through a C# .NET web application to a file server. I done a search and followed some advice on how to set it up.
My environment is Windows 2003 file server, Windows 2000 web service (IIS) and .NET v1.1.4.
So far I've done this.
Windows 2003 file server: Created an account SHAREUSER. Created a share MEDIA. SHAREUSER is...
|
by: Berryl Hesh |
last post by:
I don't know where the "%" sysmbols are coming from, but without them this
is a valid directory. I've pasted both the exception and code that
triggeered it below. The purpose of this code block is to gather a list of
dll's.
Thanks - BH
Here is the Code
/-------------------------------/
|
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: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|