Help and Support

OFFXPDEV: "Invalid Procedure Call or Argument" Error When Trying to Package Database

Article ID:326127
Last Review:June 26, 2006
Revision:2.2
This article was previously published under Q326127
On This Page

SYMPTOMS

When you try to package an application, you may receive the following error:
Error 5: Invalid procedure call or argument.

Back to the top

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.

Back to the top

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.

Back to the top

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.

Back to the top

Cause 3: Database Missing One or More References

Resolution

Resolve missing references.

Back to the top

Cause 4: Inappropriate Permissions to Packaging Location

Resolution

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

Back to the top

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 (http://support.microsoft.com/kb/304652/EN-US/) OFFXPDEV: 'Invalid Procedure Call or Argument' Error Message When You Package a Database That Has Linked Tables

Back to the top

Cause 6: Not Enough Disk Space

Resolution

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

Back to the top

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 (http://support.microsoft.com/kb/304701/EN-US/) ACC2002: How to Troubleshoot Corruption in a Microsoft Access Database

Back to the top

STATUS

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

Back to the top


APPLIES TO
Microsoft Office XP Developer Edition

Back to the top

Keywords: 
kbbug kbnofix KB326127

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.