D
Dave
All of a sudden I am getting the following error in my Access database
application when I click on a command button.
ERROR: F_ArticleList.cmdSelect_Click
4/22/2006 7:31:47 PM
Err.Number: 48
Err.Description: Error in loading DLL
The error occurs on the line indicated in the following procedure:
Private Sub cmdSelect_Click()
On Error GoTo ErrHandler
'open the detail for this record in frmArticleAnd Topic
'is the form open?
Dim i As Integer
For i = Forms.Count - 1 To 0 Step -1
If Forms(i).Name = "F_ArticleTopic" Then
'if F_ArticleTopic is open, move to current record
With Forms!F_ArticleTopic.RecordsetClone
.FindFirst "ArticleID = " & str(txtArticleID) <----error occurs
here *****
If .NoMatch Then
MsgBox "Record not found"
Else
Forms!F_ArticleTopic.Bookmark = .Bookmark
End If
End With
End If
Next
'Now close
DoCmd.Close
ErrHandlerExit:
Exit Sub
ErrHandler:
Debug.Print "ERROR: F_ArticleList.cmdSelect_Click"
Debug.Print Now()
Debug.Print "Err.Number: " & Err.Number
Debug.Print "Err.Description: " & Err.Description
Debug.Print "----------------"
MsgBox "Error No: " & Err.Number _
& "; Description: " & Err.Description
Resume ErrHandlerExit:
End Sub
This application was working fine for some time and the problem only just
started occurring.
I have done the following troubleshooting steps:
I tried repairing my Microsoft Office Professional 2003 installation
through the repair option in the Control Panel Add/Remove Programs app
Checked for updates to make sure I am using Office SP2
Upgraded the mdb database file to Access 2002-2003 format
Downloaded the MDAC Com checker and ran it. It says I am using MDAC 2.8 SP1
and shows one mismatch:
<group name="MISMATCH" count="1">
- <file xmlns="http://tempuri.org/CCFilestream_template.xsd"
name="MSADCO.DLL" dir="%COMMONFILES%\system\msadc\">
<release name="MDAC 2.8 SP1 on Windows XP SP2" version="2.81.1117.0"
fileversion="2.81.1117.0" />
<found xmlns="" Description="Microsoft Data Access - Remote Data Services
Data Control" date="03/23/2006" fileVersion="2.81.1124.0
(xpsp_sp2_gdr.060322-1613)" size="143360" version="2.81.1124.0" />
<result xmlns="" mismatch_fields="version" />
</file>
</group>
Checked KB and Google for the issue. I get a number of hits but either there
is no resolution or its not applicable.
I am using Windows XP SP2 that has a version of SQL 2000 on it.
Has anyone seen this issue before? Could it be a virus?
application when I click on a command button.
ERROR: F_ArticleList.cmdSelect_Click
4/22/2006 7:31:47 PM
Err.Number: 48
Err.Description: Error in loading DLL
The error occurs on the line indicated in the following procedure:
Private Sub cmdSelect_Click()
On Error GoTo ErrHandler
'open the detail for this record in frmArticleAnd Topic
'is the form open?
Dim i As Integer
For i = Forms.Count - 1 To 0 Step -1
If Forms(i).Name = "F_ArticleTopic" Then
'if F_ArticleTopic is open, move to current record
With Forms!F_ArticleTopic.RecordsetClone
.FindFirst "ArticleID = " & str(txtArticleID) <----error occurs
here *****
If .NoMatch Then
MsgBox "Record not found"
Else
Forms!F_ArticleTopic.Bookmark = .Bookmark
End If
End With
End If
Next
'Now close
DoCmd.Close
ErrHandlerExit:
Exit Sub
ErrHandler:
Debug.Print "ERROR: F_ArticleList.cmdSelect_Click"
Debug.Print Now()
Debug.Print "Err.Number: " & Err.Number
Debug.Print "Err.Description: " & Err.Description
Debug.Print "----------------"
MsgBox "Error No: " & Err.Number _
& "; Description: " & Err.Description
Resume ErrHandlerExit:
End Sub
This application was working fine for some time and the problem only just
started occurring.
I have done the following troubleshooting steps:
I tried repairing my Microsoft Office Professional 2003 installation
through the repair option in the Control Panel Add/Remove Programs app
Checked for updates to make sure I am using Office SP2
Upgraded the mdb database file to Access 2002-2003 format
Downloaded the MDAC Com checker and ran it. It says I am using MDAC 2.8 SP1
and shows one mismatch:
<group name="MISMATCH" count="1">
- <file xmlns="http://tempuri.org/CCFilestream_template.xsd"
name="MSADCO.DLL" dir="%COMMONFILES%\system\msadc\">
<release name="MDAC 2.8 SP1 on Windows XP SP2" version="2.81.1117.0"
fileversion="2.81.1117.0" />
<found xmlns="" Description="Microsoft Data Access - Remote Data Services
Data Control" date="03/23/2006" fileVersion="2.81.1124.0
(xpsp_sp2_gdr.060322-1613)" size="143360" version="2.81.1124.0" />
<result xmlns="" mismatch_fields="version" />
</file>
</group>
Checked KB and Google for the issue. I get a number of hits but either there
is no resolution or its not applicable.
I am using Windows XP SP2 that has a version of SQL 2000 on it.
Has anyone seen this issue before? Could it be a virus?