Integration Manager: “Argument ‘Start’ must be greater than zero”

A client doing some work with Integration Manager 10 recently reported the following error when trying to load the VB Script Editor;

Integration Manager - Argument

I did some testing with Integration Manager 11 to see if I could reproduce the error. I was using the Customer integration and had the following script working without problem;

Integration Manager - Script Editor

I tried different scripts in slightly different formats and complexity and determined that the error occurred if the script looked like this;

Integration Manager - Script Editor

The error message appears if the script has a blank line at the top; blank lines anywhere else in the script are fine and do not produce the error when trying to get back into the VB Script Editor.

The downside of this error is that once you receive it the only way to get past it is to change the field to not use VB Script and then back again; which does of course delete the VB Script attached to the field.

Ian Grieve

About Ian Grieve

Ian is a Microsoft Dynamics GP certified consultant specialising in the delivery of Microsoft Dynamics GP projects and currently working for Perfect Image Ltd., a Microsoft Partner and VAR in the North East of England. Ian has worked with Microsoft Dynamics GP since 2003 and, over the nine years since, has dealt with all aspects of the product life-cycle from presales, to implementation, to technical and functional training, to post go-live support and subsequent upgrades and process reviews. In his spare time, Ian runs the azurecurve | Ramblings of a Dynamics GP Consultant blog dedicated to Microsoft Dynamics GP and related products.
This entry was posted in Dynamics, GP, Integration Manager, Microsoft and tagged , , , , , . Bookmark the permalink.

2 comments on “Integration Manager: “Argument ‘Start’ must be greater than zero”

  1. Pingback: Interesting Findings & Knowledge Sharing » Integration Manager: “Argument ‘Start’ must be greater than zero”

  2. Pingback: Integration Manager: “Argument ‘Start’ must be greater than zero” | azurecurve - DynamicAccounting.net - GP Technical Blogs - Microsoft Dynamics Community

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>