Error btm1010: the Scripting functoid

error btm1010: the "Scripting" functoid has 3 input parameter(s), but 0
paraneter(s) are expected. when i referenced an external assembly which had the helper method, which was called from a biztalk map

it does need 3 inputs and they are defined, this started happining on a
map that compiled fine on Biztalkserver 2006 with VS2005 SP1 .

The same code compiled fine on biztalk server 2006 R2.

Soln 

In Biztalk server 2006 though, we need to put the helper dll in GAC for this btm to build successfully.