B
Brian
I have an app that crashes on Access 2003 SP3, but not on SP1 or SP2. I
discovered this because I develop on SP3 and it repeatedly & predictably
crashes during development under certain circumstances but not in the live
environment (which are SP1 or SP2). The crash generates an ntdll.dll-related
1000 error in the event log. There are different places where the crash
occurs. Here is one example:
On Error GoTo ErrorHandler
If IsNull([Selector]) = True Then Exit Sub
Me.RecordsetClone.FindFirst "[CustomerID] = " & [Selector]
Me.Bookmark = Me.RecordsetClone.Bookmark
LastName.SetFocus
Selector = Null
<Crashes here>
I don’t think the code is at fault, though, for several reasons:
1. I use an almost identical procedure for record navigation in every form
in the app, and no others crash. If I add MsgBox “Test†after the Selector =
Null line, then it does not crash.
2. I have done many compact/repairs
3. I have even imported the form to a new DB, all to no avail.
4. I also get strange errors when attempting to save the form after removing
the MsgBox “Test†I inserted above to test preventing the crash (i.e. “unable
to save form†and “not enough memory available to perform the operationâ€).
These versions of msaccess.exe work with no crash:
11.0.6355.0 SP1 5/18/04
11.0.6566.0 SP2 7/7/05
I can even copy these over the SP3 version, leaving the rest of SP3 intact,
and have it work correctly. This one, however, crashes:
11.0.8166.0 SP3 5/10/07
This is true also of stations running Access 2003 runtime; those with the
SP3 version of msaccess.exe crash, while those running earlier versions do
not.
Does anyone have a post-SP3 hotfix or version of msaccess.exe, or do I have
to pursue a hotfixe from MS?
discovered this because I develop on SP3 and it repeatedly & predictably
crashes during development under certain circumstances but not in the live
environment (which are SP1 or SP2). The crash generates an ntdll.dll-related
1000 error in the event log. There are different places where the crash
occurs. Here is one example:
On Error GoTo ErrorHandler
If IsNull([Selector]) = True Then Exit Sub
Me.RecordsetClone.FindFirst "[CustomerID] = " & [Selector]
Me.Bookmark = Me.RecordsetClone.Bookmark
LastName.SetFocus
Selector = Null
<Crashes here>
I don’t think the code is at fault, though, for several reasons:
1. I use an almost identical procedure for record navigation in every form
in the app, and no others crash. If I add MsgBox “Test†after the Selector =
Null line, then it does not crash.
2. I have done many compact/repairs
3. I have even imported the form to a new DB, all to no avail.
4. I also get strange errors when attempting to save the form after removing
the MsgBox “Test†I inserted above to test preventing the crash (i.e. “unable
to save form†and “not enough memory available to perform the operationâ€).
These versions of msaccess.exe work with no crash:
11.0.6355.0 SP1 5/18/04
11.0.6566.0 SP2 7/7/05
I can even copy these over the SP3 version, leaving the rest of SP3 intact,
and have it work correctly. This one, however, crashes:
11.0.8166.0 SP3 5/10/07
This is true also of stations running Access 2003 runtime; those with the
SP3 version of msaccess.exe crash, while those running earlier versions do
not.
Does anyone have a post-SP3 hotfix or version of msaccess.exe, or do I have
to pursue a hotfixe from MS?