Ask a Question related to ASP.NET General, Design and Development.
-
Krissy #1
System.IO.IOException
Hi all,
Yesterday we upgraded our server to the 1.1 Framework. (from 1.0)
Our project was also converted in Visual Studio to 1.1
Since we have uploaded the project, we are getting an error with one of our
pages which is trying to read a list of files from a network share and
populate a dropdownlist.
The error is:
System.IO.IOException: The specified network name is no longer available.
OR
System.IO.IOException: The specified network password is not correct.
The code is:
Dim fileEntries As String() = Directory.GetFiles(targetDirectory)
where targetdirectory is "\\192.168.1.1\data\General\Documents\"
If we try to view the page on our own machines ie [url]http://localhost[/url] the page
works fine!!
So is there any fixes/ideas why this is happening!!
Thanks!
Krissy Guest
-
java.io.IOException: Parameter is incorrect
I have two intranet websites running on one windows (server 2003) box using IIS and CFMX7. Each site is in a separate folder (?voice? & ?incoming?)... -
java.io.IOException: Type Throwable is referenced but not defined
Hi all, First off i'm a newbie, so the error might not be that well defined, but here's my best shot. I'm using an inhouse tool that generates... -
java.io.IOException: Too many open files
How can I avoid the error "java.io.IOException: Too many open files" when copying a large number of files? Hint: the correct answer is not to copy... -
System.IO.IOException: Cannot create a file when that file already exists.
Getting the following error on my production server whether the file exists or not: "System.IO.IOException: Cannot create a file when that file... -
Method not found: System.Collections.Specialized.NameValueCollection System.Web.HttpRequest.get_QueryString().
I just recently started getting the above error on a page I am posting MULTIPART/FORM-DATA. We have SoftArtisans FileUp component and Filter... -
Kevin Spencer #2
Re: System.IO.IOException
How would you get TWO different error messages from the same code?
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
[url]http://www.takempis.com[/url]
Complex things are made up of
lots of simple things.
"Krissy" <krissi___@hotmail.com> wrote in message
news:3f27704b@quokka.wn.com.au...our> Hi all,
>
> Yesterday we upgraded our server to the 1.1 Framework. (from 1.0)
> Our project was also converted in Visual Studio to 1.1
>
> Since we have uploaded the project, we are getting an error with one ofpage> pages which is trying to read a list of files from a network share and
> populate a dropdownlist.
>
> The error is:
>
> System.IO.IOException: The specified network name is no longer available.
>
> OR
>
> System.IO.IOException: The specified network password is not correct.
>
>
> The code is:
>
> Dim fileEntries As String() = Directory.GetFiles(targetDirectory)
>
> where targetdirectory is "\\192.168.1.1\data\General\Documents\"
>
>
> If we try to view the page on our own machines ie [url]http://localhost[/url] the> works fine!!
>
> So is there any fixes/ideas why this is happening!!
>
> Thanks!
>
>
Kevin Spencer Guest
-
Krissy #3
Re: System.IO.IOException
"Kevin Spencer" <kevin@takempis.com> wrote in message
news:ONRU7dpVDHA.2316@TK2MSFTNGP09.phx.gbl...available.> How would you get TWO different error messages from the same code?
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> [url]http://www.takempis.com[/url]
> Complex things are made up of
> lots of simple things.
>
> "Krissy" <krissi___@hotmail.com> wrote in message
> news:3f27704b@quokka.wn.com.au...> our> > Hi all,
> >
> > Yesterday we upgraded our server to the 1.1 Framework. (from 1.0)
> > Our project was also converted in Visual Studio to 1.1
> >
> > Since we have uploaded the project, we are getting an error with one of> > pages which is trying to read a list of files from a network share and
> > populate a dropdownlist.
> >
> > The error is:
> >
> > System.IO.IOException: The specified network name is no longerIf I knew that then I wouldn't have the problem ;)> page> >
> > OR
> >
> > System.IO.IOException: The specified network password is not correct.
> >
> >
> > The code is:
> >
> > Dim fileEntries As String() = Directory.GetFiles(targetDirectory)
> >
> > where targetdirectory is "\\192.168.1.1\data\General\Documents\"
> >
> >
> > If we try to view the page on our own machines ie [url]http://localhost[/url] the> > works fine!!
> >
> > So is there any fixes/ideas why this is happening!!
> >
> > Thanks!
> >
Krissy Guest



Reply With Quote

