On 1 Sep 2010, at 21:53, Brad Perkins wrote:
Any ideas would be appreciated.
I spent a great deal of time tracking down 'invalid parameters in
execute command' when I upgraded to v11 (mainly because I use
components and they've been revolutionised).
It was one of those things where there's nothing else for it but to
sink entire days into it systematically to get to the bottom of the
problem.
I think what I did was to systematically remove of If(False) whole
bits of the Active 4D scripts out of the call chain to isolate where
the problem was. Unfortunately I can't quite remember what the various
problems were, however, a lot were related to component use (e.g.
trying to call a component method from an Active 4D script which is
not allowed).
Other stuff which I dealt with but which may not result in the
symptoms you have were:
- type mismatches
- undefined variables in interpreted mode being passed to a compiled
component
- forms being called which did not exist (this is a good one - works
fine in 2004 but throws and error in v11)
- 4D bugs (mainly 11.6 If your on 11.7 there are less)
- custom constants not defined
Are you using the 'out of the box' shell ? If not I could go on
because some stuff has changed with regards to A4D Execute 4D request.
Failing any of the above being your problem, I strongly recommend the
'get out and dig' option which means take a couple of hours to
systematically disable your Active4D call chain (i.e. all the code
that runs inside A4D Execute 4D request (or in your case A4D Execute
stream request) until you no longer get the error. Then work back the
way, re-enabling code at a more granular level until you have isolated
the buggy code by sheer brute force and will. This approach worked for
me, but you need some time and a lot of coffee. The payback is you'll
learn something :)
h.t.h.
Peter
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/