Support 805.461.7300
Sales
Our Technology. Your Success.
Tech Notes

Common Toolkit Errors and Issues

If you attempt to call the zp4connect in Step 2 of the documentation and get an error:

Refer to the error codes on page 8. The most common error is #5, and in most cases, it means the path established in the code to the config.acu is invalid, or the contents of that file are invalid.

For example, if you had your config.acu in a directory called C:\AccuZIPToolkit, then you either need to declare a variable in your code using the "C:\AccuZIPToolkit\Config.acu" path, or your zp4connect call MUST read:

nResult=AddrCode.zp4connect("C:\AccuZIPToolkit\Config.acu",ErrorMsg)

Where "ErrorMsg" is your variable for the error message displayed.


That allows the zp4connect function to properly locate the Config.acu file. If you still return an error, open the Config.acu and verify that the paths point to the correct locations for all files.

If you stored your USPS database files in the C:\AccuZIPToolkit\ folder, then your Config.acu would look something like this:
[CONFIG]
NATIONAL=C:\AccuZIPToolkit\ADRDATA\National\
LOT=C:\AccuZIPToolkit\ADRDATA\National\
EWS=C:\AccuZIPToolkit\ADRDATA\National\
DPV=C:\AccuZIPToolkit\ADRDATA\dpv\
LACSLINK=C:\AccuZIPToolkit\ADRDATA\LACSLink\
SUITELINK=C:\AccuZIPToolkit\ADRDATA\SuiteLink\

[SYSTEM]
OUTPUT=C:\AccuZIPToolkit\Support\AddrCode.dbf

If you return an error 5 when calling zp4connect, either the system cannot find the Config.acu, or the Config.acu contents have incorrect path names.

If you return an error code 3, however, it's because the NATIONAL folder itself is read-only. Make sure the ADRDATA folder and all subfolders referenced in your config.acu have read/write permissions.

How to determine if records returned are good or bad
This question comes up periodically, especially if you use the Desktop Application as well. While the desktop application has a Errno_ field, the Toolkit return codes do not. You want to look at the DPV and the DPV Notes returns, which will tell you if the record returned good data, or had issues matching the address.[/b]

If your trial version date expired, but you are not getting the prompt to enter a new serial number for the full version subscription you purchased
Go into your AccuZIPToolkit\Support folder, and delete the AccuAddress.dat file. The next time you call the object, it will prompt for a serial number. Enter the serial number given to you at the time of purchase (or request a new one from support).

« Back to Tech Notes

I Just wanted to let you know we are in the Postal Fort Worth Texas Division and I received a call from someone in their office today wanting to ask me some questions. He asked if I understood about the changes with the move update starting for this month, then he asked me what software we were using. I explained to him that we have been using AccuZIP Software for the last 20 years and I thought you were the #1 in the United States. I told him that you were the only software displayed in the Postal Section of the Smithsonian Institute. He asked me if I had to manually change the updated addresses and I told him no that the Software did it for us and I could print a report showing the old address and the new address. He told me out of 32,000 names that were updated only 3 were wrong and he just wanted to call me to see what Software we were using. Thanks for such good software and support from your company over the past 20 years.
C.K., Wichita Falls, TX