Script timeout message - how to get rid of

L

liz-kma

Hello,

Is there a way I can disable the following script timeout message?

"The script running in this form is causing InfoPath to run slowly. If the
script continues to run, your computer may become unresponsive. Do you want
to stop the script?"

Thanks,
Liz
 
G

Greg Collins [InfoPath MVP]

I don't know that you can turn off that message. You really need to evaluate your script and find out why it is taking so long. Perhaps there is something that can be optimized in the code, or perhaps there is a bug which is causing the slow-down.

--
Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com


Hello,

Is there a way I can disable the following script timeout message?

"The script running in this form is causing InfoPath to run slowly. If the
script continues to run, your computer may become unresponsive. Do you want
to stop the script?"

Thanks,
Liz
 
L

liz-kma

Hello Greg,

It's not a question of events that are taking too long... We are seeing
this after a few seconds. Any ideas on how to get this "feature" disabled?

Thanks,
Liz
 
G

Greg Collins [InfoPath MVP]

Someone may wish to prove me wrong, but I don't know of any way to disable it. It is there for a purpose--to prevent your application from locking up because of poorly written code.

Now having said that, there might be some way to lengthen the timeout, but I personally don't know how to do that.

--
Greg Collins [InfoPath MVP]
Visit http://www.InfoPathDev.com


Hello Greg,

It's not a question of events that are taking too long... We are seeing
this after a few seconds. Any ideas on how to get this "feature" disabled?

Thanks,
Liz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top