AnsweredAssumed Answered

IWP random crash when executing a script

Question asked by LucasR on Feb 25, 2012
Latest reply on Mar 1, 2012 by philmodjunk

Title

IWP random crash when executing a script

Post

I have a big issue with this.

Problem is that I run a solution with IWP, in which when you load it it takes you to a certain layout and perfoms an script which filters records and shows the first one. Let's say this is the "Open layout" script. That's OK. This script is 100% compatible with IWP and it performs fine if I manually trigger it or when I first open the database.

When you click on a button it opens a virtual window to enter data. When you clic on a "Cancel" button, it perfoms an script (lets call it "Cancel" script) with these steps: Close the window and perform the "Open layout" to take you back to the first record. The problem is that, when I activate this last script step, IWP crashes. Sometimes it doesn't react, sometimes it shows a blank page, and I have to restart filemaker in order to make it work. when I close the solution, it says I have to "ask" the clients to close the session, and when I do it, it says clients with IWP will close its session automatically, but that actually doesn't happen. It keeps saying I have to ask for closing the session forever. The only way to stop it is force quitting, so it seems it has some process in the background wich seems to prevent to close the database.

The most interesting part is that, when I enable the Perform "Open layout" script in the "Cancel" script, but with all its script steps disabled (that is, it actually does nothing) problem persists!

Appart from that, if I lose connection, when I try to connect to the IP address after this problem, it says server is busy.

Any help will be really welcome!!

Outcomes