Microsoft KB Archive/326127

= OFFXPDEV: &quot;Invalid Procedure Call or Argument&quot; Error When Trying to Package Database =

Article ID: 326127

Article Last Modified on 6/26/2006

-

APPLIES TO


 * Microsoft Office XP Developer Edition

-



This article was previously published under Q326127





SYMPTOMS
When you try to package an application, you may receive the following error:

Error 5: Invalid procedure call or argument.



CAUSE
This behavior may occur if any of the following conditions are true:
 * The drive or folder to which you are packaging is compressed.

-or-
 * You have an OEM version of Microsoft Office XP Professional and a Retail version of Microsoft Office XP Developer.

-or-
 * Your database is missing one or more references.

-or-
 * You do not have the appropriate permissions to the packaging location.

-or-
 * You have linked Oracle or AS/400 tables, or linked Microsoft Exchange data.

-or-
 * You do not have enough disk space to create the package.

-or-
 * Your database is corrupted.



Resolution 1
Uncompress the folder to which you are packaging.

Resolution 2
If you want to save your files to a compressed drive or folder, first package to an uncompressed drive or folder, and then move the files to the compressed drive or folder.

Resolution:

 * 1) Remove Office XP Developer.
 * 2) Remove the OEM version of Office XP Professional.
 * 3) Restart your computer.
 * 4) Install both Office XP Professional with FrontPage and Office XP Developer from the retail Office XP Developer suite.

Resolution
Resolve missing references.

Resolution
Either obtain full permissions, or package to a different location where you have the appropriate permissions.

Resolution
For additional information about how to resolve this issue, click the article number below to view the article in the Microsoft Knowledge Base:

304652 OFFXPDEV: 'Invalid Procedure Call or Argument' Error Message When You Package a Database That Has Linked Tables

Resolution
Free up some disk space, or package to a different location that has enough space.

Resolution
Repair your database.

For additional information about troubleshooting corruption in a Microsoft Access database, click the article number below to view the article in the Microsoft Knowledge Base:

304701 ACC2002: How to Troubleshoot Corruption in a Microsoft Access Database



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Additional query words: error 5

Keywords: kbbug kbnofix KB326127

-

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

© Microsoft Corporation. All rights reserved.