General :: Disk Or Network Error With Error Code 3043

Jul 13, 2012

How I can get rid of Disk or network error with error code 3043? What this error indicates.

View Replies


Disk Or Network Error

Feb 1, 2005


I have my Access database on a network and every once in a while (at least once a day), Access stalls and says disk or network error

We moved the database on a better server and for whatever reason, it stalls way more often, like ten times a day! I have to think that this new server is lacking in something

But the whole point, is it supposed to do that? There's about 10 users using my database, but rarely more than 2-3 at a time

Can I do something on my database to prevent this? I'm using those lines in my code

dim mycn as adodb.connection
set mycn=currentproject.connection

I don't close the connection with mycn.close every time, could it have something to do with it? Is there something that's always running in the background which could cause this?

I'm clueless cause I've created a dummy database and placed it on the network, and I'm the only one on it, and it will still say disk or network error. Is there somehting fundamentally wrong with my DB?

View 2 Replies View Related

General :: How To Get Rid Of Error When Network Access Interrupted

Jun 10, 2012

Some of my users have laptops and usually at work finish, they remove their laptops. The issue occurs when they restart their laptops again without network access and then they have some dialog boxes showing below messages:

"Your network access was interrupted and you should close MS access and restart."

When OK is pressed, some other messages like " Object invalid or not set" appears and by pressing many time OK, it does not reset. Last option is to use "Ctrl+Alt+Del".

View 5 Replies View Related

Not Enough Disk Space Error

Nov 21, 2005

OS = XP pro SP2
200GB IDE HD with 134GB free (NTFS)
200GB USB2.0 with 54GB Free (NTFS)
Virtual Memory = 1gb (Let Windows Manage)

Trying to copy files from a external USB drive to the Hard drive.

I have done this a million times and now it decides to foul up. When trying to copy files from the external drive to the hard drive that are 4GB or higher I get an error "Not Enough Disk Space"

Both Drives are NTFS with Plenty of free space. Also get the same error when creating files larger than 4GB. It worked before and no OS changes have been made that I know of.

View 2 Replies View Related

Database Split - Disk Error

Nov 8, 2005

Since splitting my database into a front & back end - when I attempt to run the front end part from a client PC logging in as one of the users/groups defined I get : 'Disk or Network Error' and the DB fails to open.

If I log in using the same username/group bypassing the config/startup options - I do see the Access Design view main window - but then if I attempt to open (not all) most of the forms in Form View - I again get the same 'Disk or Network Error' message each time.

Yet, if I log in as the administrator from the same workstation - no message appears?

Any ideas please? :confused:

View 3 Replies View Related

Error Message: Not Enough Space On Disk.

Jun 30, 2006

I've been searching on the net to know what exactly does the error message "3026 - Not enough space on disk" mean when it pops up not allowing me to open my access file. Please offer your help. (This message pops up at many other cases... e.g. when saving a file - but i don't know what's the problem in this case)

View 1 Replies View Related

Error 3026 - Not Enough Space On Disk

Mar 30, 2008

Dear All,

I have a MS Access put into shared server to let user to use. However, when a user tried to open to use it, it prompted user that "Not enough space on disk".

I have checked the server size and local harddisk. There are also contain enough space to use. (My Access just 6MB only) Is there any user face this and solve before?

I have tried to search in google, nothing can be found. Please help!!!

View 7 Replies View Related

General :: Combo Box Filter Error In Code

Sep 6, 2012

I am using a combo box to filter a 2nd form upon clicking a button. I posted on this topic the other month and was given some code that works. I am attempting to tweak it for another part of my database.I am receiving a Run-time error "3464': Data type mismatch in criteria expression.

DoCmd.OpenForm "Utilities Contacts", , , "[Utility] = """ & Me.Utility.Column(1) & """"
DoCmd.Close acForm, "Utility Menu"

View 4 Replies View Related

General :: Code Error When Load Data From Server

Jun 5, 2014

Im using ms access 2010 and this program compatible with previously ms access.the error show is type mismatch (error 13) on


Set rbs = CurrentDb.OpenRecordset("SELECT MSysObjects.Name" _
& " FROM MSysObjects WHERE MSysObjects.Type= 1 And MSysObjects.Flags=0" _
& " and MSysObjects.Name='" & n_tb & "'")

View 2 Replies View Related

Simple Error Trapping By Error Code

Dec 6, 2005

hi all

i have the following peice of code ...

Private Sub NextApplication_Click()
On Error GoTo Err_NextApplication_Click
DoCmd.GoToRecord , , acNext

Exit Sub

If Err.Number = 2105 Then
MsgBox "Cannot navigate to the next record. This is the last record."
MsgBox Err.Description
End If

Resume Exit_NextApplication_Click

End Sub

but even when this error occurs nothing is being properly handled the way i specified - any ideas ?

View 3 Replies View Related

Error Accessing Network

Mar 7, 2006

I am making a database and after a small amount of progress I save it and then copy and save with same name but with an extension V1, V2 etc. so that I can keep a working one as backup. Throughout this process I have come across 'Error accessing Network' connection may be lost.....! I have to go back to my previously saved version and redo the changes I was making. This time I didnt save until I was about to make my usual backup and I had quite a few changes. How can I stop this happening and make my last DB work again.

View 1 Replies View Related

Disc Or Network Error

Nov 10, 2006

We have recently upgraded our systems from 97 to 2003. A lot of our main info is kept in our Data db and we link our tables to this main db from all our other databases.

When I try and link these tables after converting them to 2003 i get a ' Disc or Network error' and then all the queries disappear and I have to close access and start again.

Is there anything I can do or do I need to make all of my databases stand alone?:(

View 6 Replies View Related

Error Accessing File. Network Connection May Have Been Lost

May 20, 2005

I think the damage to my database is not recoverable, but i'm still hoping.
My computer crashed when I was working on my dtabase and after restart the db is not working anymore :( If I try to do something, anything (!!!) all I got is an error message: "Error accessing file. Network connection may have been lost." But the db is on my computer, I don't use it over the network.
What can I do to make it working again?


View 8 Replies View Related

Code Error

May 1, 2005

I can't get this working. The code was posted by someone else. Anybody that can help, thanks so much.
I have a table name main1.
I have a form name main2. (input box and command button)

..........................I placed the code into my command button......

Private Sub Command2_Click()
Set con = Application.CurrentProject.Connection
Set rs = CreateObject("ADODB.Recordset")
stSql = "SELECT * FROM main1 "
'I have the password stored in this table!

rs.Open stSql, con, 1 ' 1 = adOpenKeyset

If Not (rs.EOF) Then
If rs![PASSWORD] = Form_main2.Text1.Value Then
'Text1 is my unbound box for the user to enter the password!
DoCmd.OpenForm "intro"
DoCmd.OpenForm "main2"
MsgBox "You have entered the wrong Password!"
End If
End If
End Sub

View 3 Replies View Related

No Error Code

Sep 27, 2005

While stepping through some Access VB statments at one point I come to a line which is;
Code: recordsetObject.Update

At this point, we leap off to the current error handler label.
However, on arrival err.number and such are blank.

How do I find the error generated by the errant rs.update ?

View 2 Replies View Related

Error Running Code

Sep 29, 2006

I get this error when trying to rung a piece of code:
The expression On Load you entered as the event property setting produced the following error: Member already exists in an object module from which this object module derives.

I have the EXACT same code working on other forms using different fields and I just can't figure out why this particular one isn't working, it's driving me nuts!
My code is this:
Private Sub Form_Load()
Dim strReason As String

strReason2 = Nz(Ref3Poor_Reason, " ")

Select Case strReason3
Case "Not Known", "Unwilling to Give"
Poor1NavRef3.Visible = False
Poor2NavRef3.Visible = True

Case Else
Poor2NavRef3.Visible = False
Poor1NavRef3.Visible = True

End Select

Dim Ref3PoorCheck As Boolean
Ref3PoorCheck = Ref3Poor_Reference

Select Case Ref3PoorCheck

Case "True"
Ref3Poor_Reason.Visible = True

Case "False"
Ref3Poor_Reason.Visible = False

End Select

End Sub

Can anybody tell me where I'm going wrong please?

View 1 Replies View Related

Please Help!! "Error Accessing File. Network Connection May Have Been Lost"

Oct 12, 2007

Hi all,

I have been developing Access 2K applications. Lately, every time I click a command button on a form or even open the code window for a form, I got this repetitive error message. I even create BLANK Access db and re-import all objects or create brand new form and copy the control designs/code from the error one to the new one. The new db or the new form still have the same ERROR, which is as follow :

"The expression On Click you entered as the event property setting produced the following error: Error accessing file. Network connection may have been lost.
*The expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure].
*There may have been an error evaluation the function, event, or macro."

Please help! Thanks so much for your suggestions/
Have a great weekend,

View 1 Replies View Related

Error In Code To Find Duplicates

Sep 29, 2005

Greetings all,

I have the code below which is giving me grief as I have copied it from a previous usage and it worked fine. I have tried it in a beforeupdate and now as a seperate button on the form and it gives me the same error message; I have tried to put a save command in to save the record without any luck

the code is

If DCount("[Batch]", "tbl_Data_Wine_Batch", "[Batch]=" & Me.Batch) > 0 Then
Cancel = True
End If

The error message is
Run time error 2001
you cancelled the previous operation.

The problem comes up in the dcount expression.

Any help would be great as it is an important part of the project and we can move on once we have overcome this


View 1 Replies View Related

Error Message In Command Button Code

Jun 29, 2005

I have created command buttons to enter event registration information after biographical information has been completed. When I click on the button I get the following error message:

"Microsoft Office Access cannot find the field '|' referred to in your expression."

This is the On Click code that I have in there. Can anyone spot the error of my ways?

Private Sub RegisterButton_Click()
On Error GoTo Err_RegisterButton_Click
If IsNull(Me![AttendeeID]) Then
MsgBox "Enter attendee information before registering for an event."
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
DoCmd.OpenForm "Registration", , , "[Registration]![RegistrationID]=Forms![Attendees]![Attendees Subform].form![RegistrationID]"
End If

Exit Sub

MsgBox Err.Description
Resume Exit_RegisterButton_Click
End Sub


View 1 Replies View Related

Modules & VBA :: Code Runs OK Once But Error Next Time

Jun 26, 2015

The task is (1) output an Access query to Excel (2) overwrite that file if it already exists (3) apply specific formatting to the header row and the other rows in Excel. I have cobbled the code together from two sources. The beginning and end are adapted from code on but the large insert in the middle is code I got form a project a former colleague had done. But he's no longer around.

The problem: I click the button and everything works OK. The file is created and formatted just how I want. If I click the button a second time though, it seems to run OK, but when I open the file it is NOT formatted. However, theres another window behind it called Book 1 which has all the data and all the correct formatting it just hasnt been saved. If I click it a third time I get an error message that says Object variable or With block variable not set. Im not even 100% all that is accurate because I have tried it a multitude of ways, closing and re-opening the form, closing and re-opening Access itself, starting with Excel open or closed, never with the destination excel file open though. I dont seem to get exactly the same behaviour any two times. But as far as I can see, if I close and re-open Access, it always works the first time. So I can live with it.

Private Sub cmdExport_Click()
On Error GoTo Errhandler
Dim rs As DAO.Recordset
Dim oExcel As Object
Dim oBook As Object
Dim oSheet As Object


View 8 Replies View Related

Quick Easy Question, RE Error With Simple Code

May 24, 2007

hiya every1, (access 2k3)

quick easy question, as im a noob when it comes to coding/vb.

Within our company database we have the usual timesheet table. With the table I have create a query (called "dailytimeforkeith") that gives me the sum of time for an individual person for one day (in fact its the previous day). What I have done then is created a form (called "keithyesterdaytime") that shows this query entry (called "sumoftimespent").

Each user has a different database screen logon and forms that are present when they log in. So what I then done is on one of these forms the load up, i attached this:

Private Sub Employee_Enter()

Me.Employee = User.FirstName

If Me.Employee = "Keith" Then

Dim stdocname As String

stdocname = "keithyesterdaytime"

DoCmd.OpenForm stdocname, , , acAdd


then on "keithyesterdaytime" opening the following code runs

Private Sub Form_Open(Cancel As Integer)

Dim internal1 As Integer

internal1 = Forms!keithyesterdaytime.SumOfTimeSpent

If internal1 < 6 Then


MsgBox " Less than 6 hours have been entered " & Chr(13) & " into your timesheet for yesterday. ", vbCritical, Title1



End If

End Sub

Whenever i logon with the user keith, i get the following error 'runtime error 2427: You entered an expression that has no value.

If I open the form "keithyesterdaytime" on its own, the code works and i dont get an error.

What have i done wrong, and be gently. HEHEHE. Also is there any easy way i can do this instead of having to create the the form "keithyesterdaytime"

View 2 Replies View Related

Modules & VBA :: Backup Code Getting Permission Denied Error

Aug 22, 2014

I got these three code routines for backing up an Access database file from two different forums. I installed them as is, on a test database, creating command buttons for each. The test database is not password protected. I intend (if I can get one of these working) to install it on simple, single file, password protected databases.The first two came from Access World Forums at: URL....


Function BACKUPS()
On Error GoTo Err_BACKUPS
Dim fso As Object
Dim sSourcePath As String
Dim sSourceFile As String
Dim sBackupPath As String
Dim sBackupFile As String


I got a compile error "Invalid use of property." on the button sub. Then there was a simple On Click sub:


Private Sub Backup_Click()
Dim fs
Set fs = CreateObject("Scripting.FileSystemObject")
fs.CopyFile CurrentProject.FullName, "C:", True
Set fs = Nothing
MsgBox "Database has been backed up successfully"
End Sub
Private Sub Command32_Click()
End Sub

On this one I got a "Permission denied." error on the CopyFile method. As I said before, my database is not password protected.I found this third bit of code on another forum: URL...

Public Function db_Backup()
On Error GoTo db_Backup_Err

Dim sourceFile As String, destinationFile As String
Dim aFSO As Variant
Dim path As String, name As String


On this one I got another "Permission denied." error on the CopyFile method. Again, my database is not password protected. This code had appeared to me to be the most promising of the three.

View 14 Replies View Related

Forms :: Update And Save Button Code Is Getting Error

Aug 24, 2014


Private Sub Save_Click()
If IsNull(cboEmpName) Then
MsgBox "Please Select Employee Name"
End If
If Me.txtNoofDaysWorked.Value = "0" Then
MsgBox "Please Enter No of Worked Days"


View 1 Replies View Related

Modules & VBA :: Object Missing Error On Code To Apply Two Filters

May 12, 2015

I've got a form that takes the members from my members table and allows me to take attendance. I have it set up with toggle buttons in the footer (so we can see what class we're currently looking at) and I want to apply two filters when we click on a button. The two filters are "SS_Roll = Yes (or True)" and "SS_Class = AD1 (or whatever the class is)". I did some research and found one code for it, but now that I'm getting the missing object error and upon further research, I'm starting to think the code I found was only an excerpt. Below is the code I currently have. It highlights the first line when I hit debug.


Private Sub OptAD1_Click()
Table![MembersTable].FilterOn = True
Table![MembersTable].Filter = "[SS_Roll] = " & True And "[SS_Class] = " & AD1
End Sub

View 11 Replies View Related

Modules & VBA :: Calculate A Field That Excludes Weekends And Holidays - Code Error

Sep 24, 2014

I am using the function below to calculate a field that excludes weekends and holidays. The weekends are excluded as it is now, but when I try to add in code to exclude holidays I am getting errors. The code for the holidays is in bold and a couple of the errors are Loop without Do so I remove the Loop then I get a Else without If.

Option Compare Database

Public Function WorkingDays(Due_Date As Date, Result_Date As Date) As Integer
'-- Return the number of WorkingDays between Due_Date and Result_Date
On Error GoTo err_workingDays

[Code] ....

View 6 Replies View Related

Microsoft JET Database Engine Error '80004005' Unspecified Error

Jan 28, 2004


Im new to asp and access and have been having this problem for serveral weeks.

Every couple of days, all the asp pages on my site that communicate with the database start having 500 internal errors. i turned off the "Show friendly error messages" and one page gave me this specific error:

Microsoft JET Database Engine error '80004005'

Unspecified error

/admin/submitlogin.asp, line 8

I have tried a million things and have no idea why this is happening. Im not sure what other information i should post in order to see the problem. Any help would be greatly appreciated. Thank you,


View 3 Replies View Related

Copyrights 2005-15, All rights reserved