Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3323410
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:17:58+00:00 2026-05-17T23:17:58+00:00

I have a VB .NET Application which I have written for my company which

  • 0

I have a VB .NET Application which I have written for my company which occasionally throws a message “System.IO.IOException: An unexpected network error occurred.”, that I have been unable to figure out the issue.

The application is a Backup program which to simplify for this post does the following:

1) Checks for H drive or external drive with label of “BackupDrive”, if either of these are found it automatically starts a backup of user data  
2) Starts an Async thread that deletes older backups based on how many days the user has specified he/she wants to keep  
3) Starts the main thread that backups up user data and updates current file/folder and results into a console window.  

If the application encounters an error it will email me the results, below are the results from a members of our sales staff this morning:

Time:
10/28/2010 8:25:31 AM

Version:
1.4.0.2

Message:
An unexpected network error occurred.

Full Exception:
System.IO.IOException: An unexpected
network error occurred. at
System.IO.Directory.DeleteHelper(String
fullPath, String userPath, Boolean
recursive) at
System.IO.Directory.Delete(String
fullPath, String userPath, Boolean
recursive) at
Microsoft.VisualBasic.FileIO.FileSystem.DeleteDirectoryInternal(String
directory, DeleteDirectoryOption
onDirectoryNotEmpty, UIOptionInternal
showUI, RecycleOption recycle,
UICancelOption onUserCancel) at
Microsoft.VisualBasic.MyServices.FileSystemProxy.DeleteDirectory(String
directory, DeleteDirectoryOption
onDirectoryNotEmpty) at
BackupUserData.TransferDataModule.fn_DeleteFolder(String
Source)

Additional Information:
Function fn_DeleteFolder – Source: h:\Backups\Backup from October 26 2010

This error message happens about once a week from one of our sales staff, and I haven’t been able to isolate why. It always seems like everything deletes and Backups normally. If they unplugged their network cable I would expect the delete or backup to fail, so I don’t think thats the issue.

Any idea’s as to whats going on?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T23:17:59+00:00Added an answer on May 17, 2026 at 11:17 pm

    It doesn’t have anything to do with your code. The network driver is having problems, look in the Windows Event log for the reason why. Ultimately it needs to be the LAN admin that has to tackle the problem. He can post to serverfault.com for help.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just written a Word Document creation web application using .NET 3.5 which
I have an .Net MVC application which runs fine if I use the build
I have an ASP.Net application which as desired feature, users would like to be
I have a .net client application which is connected to a remote database. Is
I have an ASP.NET MVC-application which I want deployable on both IIS6 and IIS7
We have a .NET 2.0 application which we normally run on IIS6, and used
I have a asp.net web application which has a number of versions deployed on
I have an ASP.NET web application which does the following: Reads an Excel file.
HI All, We have a .Net 2.0 application which has a MySQL backend. We
I have a .NET application, which is using an open source C++ compression library

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.