Microsoft KB Archive/252493

= MOD2000: "Invalid Procedure Call or Argument" Error Message When You Package Database with Linked Tables =

Article ID: 252493

Article Last Modified on 7/30/2001

-

APPLIES TO


 * Microsoft Office 2000 Developer Edition

-



This article was previously published under Q252493



SYMPTOMS
When you run the Package and Deployment Wizard that is included with Microsoft Office 2000 Developer, a Microsoft Access 2000 database (*.mdb) that contains Oracle or AS/400 linked tables or Microsoft Exchange data returns the following error message:

Invalid procedure call or argument.



RESOLUTION
To resolve the "Invalid procedure call or argument" error message:
 * 1) In Microsoft Access, remove the linked tables from the database.
 * 2) Start the Package and Deployment Wizard to create a package.
 * 3) After the package is created, open the Support folder.
 * 4) In Microsoft Access, open the database, and then re-create the link to the tables.
 * 5) Run the associated BAT file to re-create the CAB file. For example, if the database is Northwind.mdb, run Northwind.bat.



Steps to Reproduce the Behavior

 * 1) Create a new database in Access 2000.
 * 2) Use the Microsoft ODBC Driver for Oracle to link a table from Oracle8. The driver is MSORCL32.dll, version : 2.573.3711.00.
 * 3) Save the database.
 * 4) Start the Package and Deployment Wizard. Click the Package button to create a package. When the wizard searches for additional dependencies, note that you receive the error message mentioned at the beginning of this article.

The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

Additional query words: pra attached errmsg err msg runtime run time run-time solution relink acc2000

Keywords: kberrmsg kbbug kbpdwizard kbpending KB252493

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.