Visual Basic 6.0 Package and Deployment Wizard does not distribute MDAC 2.6
This article was previously published under Q310303 SYMPTOMS When your Visual Basic project references the Microsoft
ActiveX Data Objects library, if you use the Package and Deployment Wizard
(PDW) to build the installation package, the Package and Deployment Wizard
includes the Mdac_typ.exe file to install Microsoft Data Access Components
(MDAC) on the target computer. The Mdac_typ.exe is located in the following
folder:
\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Redist
However, every time you update MDAC, you do not guarantee that
the Mdac_typ.exe file is also updated. RESOLUTION To distribute the correct Mdac_typ.exe file with your
application, you must replace the version of Mdac_typ.exe in the \Program
Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Redist folder with the
correct version of that file. MORE INFORMATION You can use several methods to update MDAC on the
development system. For example, you can use Visual Basic service packs or
Microsoft SQL Server updates to update your version of MDAC. You can also
download the latest version of the MDAC from the Web. However, none of these
methods guarantee that the Mdac_typ.exe file is also updated. When you install a Visual Basic service pack, the service pack may or may not update MDAC and the Mdac_typ.exe file. The following table outlines the behavior of the last three Visual Basic 6.0 service packs:
If you use any method other than a Visual Basic service pack to update MDAC, the Mdac_typ.exe file is not updated automatically. You must manually copy the Mdac_typ.exe file in the above-mentioned folder for the version of MDAC that is installed. To determine the version number of a file, follow these steps:
REFERENCESFor additional
information about how to distribute and install MDAC with a Visual Basic
application, click the article numbers below to view the articles in the
Microsoft Knowledge Base: 217754 (http://support.microsoft.com/kb/217754/EN-US/) HOWTO: Control Which MDAC Version the Package and Deployment Wizard (PDW) Distributes
213846 (http://support.microsoft.com/kb/213846/EN-US/) INFO: Deploy Database Applications with the Package and Deployment Wizard (PDW)
231943 (http://support.microsoft.com/kb/231943/EN-US/) INFO: Microsoft Data Access Components (MDAC) Release History
APPLIES TO
| Article Translations
|
Back to the top
