Page 1 of 1

Urgent! Error, need help!

Posted: Sat Sep 03, 2011 6:52 am
by uasy
After the upgrade release to the 08/31 show was an error:
TypeError: Error #1034: Type Coercion failed: cannot convert flash.events::Event@6c82bf1 to stimulsoft.flex.base.StiURLLoader.
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at stimulsoft.flex.base::StiURLLoader/onTimeout()[D:\.Builder\temp\Stimulsoft_Base\stimulsoft\flex\base\StiURLLoader.as:97]
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()

What could happen?

Urgent! Error, need help!

Posted: Sat Sep 03, 2011 7:42 am
by uasy
The problem was in previous releases too. Checked prior to 05/04. Occurs when waiting for data over a specified time (10 seconds by default). How do I increase this timeout?

Urgent! Error, need help!

Posted: Mon Sep 05, 2011 1:48 am
by Vladimir
Hello,

You can change the timeout using the following option:

StiOptions.connection.clientRequestTimeout = 30;

Thank you.

Urgent! Error, need help!

Posted: Mon Sep 05, 2011 7:10 am
by uasy
Big thanks, Vladimir!

But, error on timeout is no good...

Urgent! Error, need help!

Posted: Mon Sep 05, 2011 7:54 am
by uasy
Vladimir wrote:Hello,

You can change the timeout using the following option:

StiOptions.connection.clientRequestTimeout = 30;

Thank you.
I put this on init function, but its not work! :(

Urgent! Error, need help!

Posted: Tue Sep 06, 2011 1:06 am
by Vladimir
Hello,

Please indicate when you change this value, does the timeout not change and remain 10 seconds?

Thank you.