| Author |
Build Error - Scripting Functoids
|
|
|
| BTS 2004 on Windows Server 2003
I'm trying to build my project but I am getting an error on two of my
scripting functoids that state: 'The "Scripting" functoid has 4 input
parameter(s), but 0 parameter(s) are expected.'
The scriptoids call an external assembly and each function takes four
parameters. I can not figure out how to make this project build. I've been
unsuccessful in everything I've tried so far such as rebuilding and
reapplying to the GAC my VB project w/ the functions I am calling.
Thanks in advance for your help.
| |
|
| I was able to resolve by recreating the map and excluding the original one.
Project then built and deployed w/o a problem.
"phil" wrote:
> BTS 2004 on Windows Server 2003
> I'm trying to build my project but I am getting an error on two of my
> scripting functoids that state: 'The "Scripting" functoid has 4 input
> parameter(s), but 0 parameter(s) are expected.'
>
> The scriptoids call an external assembly and each function takes four
> parameters. I can not figure out how to make this project build. I've been
> unsuccessful in everything I've tried so far such as rebuilding and
> reapplying to the GAC my VB project w/ the functions I am calling.
>
> Thanks in advance for your help.
| |
| Khaled M. Hnidk 2005-05-07, 7:51 am |
|
Hey,
Next time try removing the reference and adding it. one way i found very
practical is having the project (Class lib) in the same solution as the BTS
stuff, and have your reference pointing to projects instead of assemblies
Kal
"phil" <phil@discussions.microsoft.com> wrote in message
news:D00B3875-0E45-4C28-A6F8-5262AF6F63EF@microsoft.com...[vbcol=seagreen]
>I was able to resolve by recreating the map and excluding the original one.
> Project then built and deployed w/o a problem.
>
> "phil" wrote:
>
| |
|
| Great idea. Thanks. Something else that helped was to delete all the
commented code from the C# and J# script in the functoids that were using
inline VB.NET. Don't ask me why it worked but it did.
Phil
"Khaled M. Hnidk" wrote:
>
>
> Hey,
> Next time try removing the reference and adding it. one way i found very
> practical is having the project (Class lib) in the same solution as the BTS
> stuff, and have your reference pointing to projects instead of assemblies
>
> Kal
> "phil" <phil@discussions.microsoft.com> wrote in message
> news:D00B3875-0E45-4C28-A6F8-5262AF6F63EF@microsoft.com...
>
>
>
| |
| Matt Milner 2005-05-09, 2:47 am |
| This may have had to do with the script precedence set for your map. You
can indicate the precedence and what type of scripts to allow thourhg the
properties of the map.
Removing the samples can work as well, as you now know.
Matt
"phil" <phil@discussions.microsoft.com> wrote in message
news:34C28E3D-E49E-414C-A01E-38617043C054@microsoft.com...[vbcol=seagreen]
> Great idea. Thanks. Something else that helped was to delete all the
> commented code from the C# and J# script in the functoids that were using
> inline VB.NET. Don't ask me why it worked but it did.
>
> Phil
>
> "Khaled M. Hnidk" wrote:
>
|
|
|
|