Microsoft KB Archive/326127

From BetaArchive Wiki

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

Cause 1: Drive or Folder is Compressed

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.

Cause 2: OEM Version of Microsoft Office XP Professional and Retail Version of Microsoft Office XP Developer Installed

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.

Cause 3: Database Missing One or More References

Resolution

Resolve missing references.

Cause 4: Inappropriate Permissions to Packaging Location

Resolution

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

Cause 5: Linked Oracle or AS/400 tables, or Linked Microsoft Exchange Data

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


Cause 6: Not Enough Disk Space

Resolution

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

Cause 7: Database is Corrupted

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