Problem:
Attempting to deploy a service to a 64-bit server produces the Enterprise Server error “Cannot install a 32-bit service in a 64-bit server”
Resolution:
Due to scope limitations, the service interface deployment process cannot see what the project’s current platform target settings are at deploy time, so it retrieves the bitism of the server it expects to be deployed to from the mapped program’s data dictionary (cdt) file. The bitism stored in the data dictionary file matches the project’s platform target when the data dictionary was generated, so if a user changes their project’s platform target later or wishes to deploy to a server with a different bitism, then the data dictionary will need to be refreshed using the following steps:
- In the COBOL tab of your project’s properties, set Platform target so that it matches the bitism of the server to which you wish to deploy.
- Save the changes to your project’s properties.
- In the Solution Explorer, right-click on your project and select “Refresh Annotations for Services…” from the context menu.
- In the Refresh Annotations dialog, select the program mapped to the service you want to deploy and click the Refresh button.
- Close the Refresh Annotations dialog and deploy your service.
#MFDS
#EnterpriseDeveloper
#IMTK
