473,386 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

3043 Disk or network error.

374 256MB
All,

I know the reasons for the error: 3043 Disk or network error.

However my question is when one of these errors occurs access becomes totally unusable, as in it requires the task manager to close it otherwise the error box just keeps flashing up.

Is there a more neat way to trap this error and just exi the database and re open it for instance?

Thanks,

Chris
Jun 24 '11 #1
2 3736
Adam Tippelt
137 100+
When you say it becomes unusable do you mean it keeps throwing up the error even when you tell it to end?

Ctrl+Break will sometimes stop an error from looping round.

If you're using adequate error trapping that throws it up in a message box instead of opening the VB Editor window, you could try adding a clause in to handle specific error codes:


Expand|Select|Wrap|Line Numbers
  1. Private Sub YourProcedure()
  2. On Error GoTo YourProcedure_Err
  3.  
  4. <YOUR CODE HERE>
  5.  
  6. YourProcedure_Exit:
  7.     Exit Sub
  8.  
  9. YourProcedure_Err:
  10.     If Err.Number = 3043 Then
  11.         Err.Clear
  12.     Else
  13.         'Do you normal error trapping.
  14.     End If
  15.     Resume YourProcedure_Exit
By the way this will only work if you have your code set to only Break on Unhandled Errors - you can check this by looking in the VBA Editor under Tools -> Options -> General Tab - > Error Trapping.
Jun 24 '11 #2
NeoPa
32,556 Expert Mod 16PB
If you know why it happens Chris I would do all you can to ensure it doesn't.

Due to the nature of the problem this is often followed by corrupted and unreliable data and may cause the database to become unusable.
Jun 24 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: CD | last post by:
I am running on Win2k, SQL Server 2000 (sp3), MDAC 2.8 and using a TCP/IP client connection. I get this error when attempting to restore a database. ConnectionRead (WrapperRead()). General...
14
by: David W. Fenton | last post by:
I'm no stranger to this error message, but I have a client who is experiencing it, but, fortunately, without any actual data corruption, and it's driving them made. Their inability to grasp that...
0
by: Jas Shultz | last post by:
I'm using Win2K3 Enterprise edition with the latest .NET framework installed. I have this problem with getting "out of disk space" errors. It doesn't happen all the time but it does happen. When...
1
by: Kal | last post by:
Hello, System.Data.SqlClient.SqlException: General network error. Check your network documentation. What does this error means? My web app, suddenly started to show this error today in my...
10
by: Shwetabh | last post by:
Hi I have written an application in VB through which I can convert DBASE IV database to MS SQL Server database. Also, the application provides database manipulation features to the user like...
18
by: NEWSGROUPS | last post by:
I work for a large organization were my team has developed 2 very substantial databases in Access 2000. These databases have been working fine for the last 6 years with minimal issues or problems....
1
by: Fernando Guerreiro | last post by:
Hi I'm getting the error: Microsoft OLE DB Provider for ODBC Drivers error '80004005' Disk or network error. This error started from nowhere, from one moment the web sites were working,...
10
by: gary0gilbert | last post by:
An unusual spin to this recurring disk or network error in a Terminal Server environment. Access 2000, Terminal Server 2000, file server is windows 2000. All users have a separate copy of the...
1
by: jamesnkk | last post by:
Hi, I have an application written in VB6 with MS Access 2000 format. both application and MS Access Mdb are stored in the Network Map drive. I am using ADO to access the data. Sometime running...
9
by: Lewe22 | last post by:
I have created a secured access database which contains the following.... On Server: Back End On Client PC: Front End, Workgroup and Shortcut (to point user through workgroup) The workgroup i...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
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,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.