ACC2002: Error Importing XML Files into Microsoft Access Projects (ADPs)
When you import an Extensible Markup Language (XML) file into a Microsoft Access project (.adp), you may receive one of the following error messages:
Microsoft SQL Server Desktop Engine must be on the machine running Microsoft Access.
[Microsoft][ODBC SQL Server Driver][SQL Server]You must upgrade your SQL Enterprise Manager and SQL-DMO (SQLOLE) to SQL Server 2000 (SQLDMO) to connect to this server.
This behavior can occur if your computer does not have either the same version of Microsoft SQL Server installed that you are importing the files from, or does not have any version of SQL Server installed. In this case, "Microsoft SQL Server" refers to any version of SQL Server, Microsoft SQL Server 2000 Desktop Engine, or Microsoft Database Engine (MSDE).
To resolve this issue, install the same version of SQL Server, SQL Server 2000 Desktop Engine, or MSDE on the local computer.
For additional information about installing Microsoft SQL Server 2000 Desktop Engine, click the article number below to view the article in the Microsoft Knowledge Base:
290627 ACC2002: Microsoft SQL Server 2000 Desktop Engine Is Not Installed by Office XP Setup
For additional information about installing the MSDE, click the article number below to view the article in the Microsoft Knowledge Base:
218812 ACC2000: Microsoft Data Engine (MSDE) Is Not Installed by Office 2000 Setup
Manipulation of SQL Server data structures, such as tables, requires that both the client and the server computers have the same set of SQL Distributed Management Objects (SQL-DMO). SQL-DMO is installed at the same time that you install SQL Server 2000 (including SQL Server 2000 Desktop Engine). This issue can occur as a result of the fact that SQL-DMO present with Microsoft SQL Server 7.0 and MSDE is an earlier version, and does not expose all elements of a SQL Server 2000 database. If this is the case, you need to upgrade the client version of SQL-DMO to be fully compatible with that of the server.
Steps to Reproduce the Problem
1. Ensure that no version of SQL Server or MSDE is installed on your computer.
2. Copy and paste the following XML code to Notepad, and then save it as Test.xml:
3. Create a new Microsoft Access project connected to the Northwind database, located on a remote SQL Server computer.
<?xml version="1.0" encoding="UTF-8"?>
4. On the File menu, point to Get External Data, and then click Import.
5. In the Import dialog box, select the Test.xml file that you created in step 2, and then click Import.
6. In the Import XML dialog box, click OK. Note that you receive the first error message listed in the "Symptoms" section of this article.
For more information about SQL-DMO, browse to SQL Server Books Online at the following Microsoft Web site:
? Microsoft Access 2002 Standard Edition