If you use Integration Manager, make sure you check out Mariano Gomez’s post on Type Mismatch errors appearing in VBScript when upgrading to Integration Manager 10. He’s got details of the issue and a work around while a fix is in the works.
VBScript “Type Mismatch” Error with IM 10
Development & IntegrationInstall, Upgrade & Admin
Archived post from 2008. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.