Tech Notes
Tech Notes |
Feature requires a Key2Folder Packages for at least one version of Delphi
How do I resolve this error message?
Configuration error
This feature requires a Key2Folder "Packages" for at least one version of Delphi.
Install the WebHub Object Pascal Components, or add an appropriate Key2Folder in ZMKeybox.xml using the ZMAdmin utility.
Meaning
The error message above appears when one tries to use the feature on a computer which has WebHub Runtime installed but no Object Pascal Components, i.e. a deployment server.
Solution 1: create AppID definition another way
You can avoid using the New AppID wizard and instead edit the WHCentralInfo.xml file yourself, adding in the appropriate definition of the desired AppID. Be sure to use lowercase for the AppID itself.
The easiest way to edit the necessary xml files is to run ZMAdmin.
- Click open
- Click down to , ZMKeybox.xml.
- On the right side, locate the key named CentralInfo.
- Right-click that key and select . That will open the file for you, using whichever Windows program is associated with editing XML files.
- Find the definition of your appid on your location machine, copy the section, and paste it into the correponding place on the deployment server.
Solution 2: install the required library on the deployment server
- Look for the file WebHubNewAppIDWizard_D07.bpl on your development machine. If you have it, it will be under webhub\lib\pkgd07\. (NB: if you are NOT using Delphi 7, obtain a copy of the required package files from the webhub ftp server, using your customer login. Look for a file with a name similar to WebHub_PKGD07-v2.091.zip.)
- Copy the following package files to the deployment server, saving them together in ANY single folder. A good place to save all the packages is the webhub\bin folder.
- ldiRegExD07.bpl
- ZaphodsMapRT_D07.bpl
- WebHubRT_D07.bpl
- WebHubWizardComponents_D07.bpl
- WebHubNewAppIDWizard_D07.bpl
- rtl70.bpl
- vcl70.bpl
- vclx70.bpl
- Run ZMAdmin and, on the left side, select .
- On the right side, select
- Right-click on Keys and select
- The name of the Key2Folder should be 'Packages' + 'D' + your version of Delphi. Example: PackagesD07 for Delphi 7. PackagesD11 for Delphi 2007.
- The value should be the folder into which you copied the file during step 2, e.g. d:\Apps\HREFTools\WebHub\bin\

- Save your changes. Exit WebHubAdmin and restart it, then try the New AppID wizard again.
Copyright © 1995-2010 HREF Tools Corp. All Rights Reserved Worldwide. 05-Nov-2007.
Running DynHelp.exe v1.2.0.6 on WebHub-v2.125 built by D14
Calc time: 125 ms
Running DynHelp.exe v1.2.0.6 on WebHub-v2.125 built by D14
Calc time: 125 ms

