System.IO.IOException

  • Thread starter Thread starter Krissy
  • Start date Start date
K

Krissy

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 http://localhost the page
works fine!!

So is there any fixes/ideas why this is happening!!

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top