Urgent! Error, need help!

Stimulsoft Reports.Flex discussion
Locked
uasy
Posts: 6
Joined: Sat Aug 06, 2011 3:14 am

Urgent! Error, need help!

Post 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?
uasy
Posts: 6
Joined: Sat Aug 06, 2011 3:14 am

Urgent! Error, need help!

Post 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?
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Urgent! Error, need help!

Post by Vladimir »

Hello,

You can change the timeout using the following option:

StiOptions.connection.clientRequestTimeout = 30;

Thank you.
uasy
Posts: 6
Joined: Sat Aug 06, 2011 3:14 am

Urgent! Error, need help!

Post by uasy »

Big thanks, Vladimir!

But, error on timeout is no good...
uasy
Posts: 6
Joined: Sat Aug 06, 2011 3:14 am

Urgent! Error, need help!

Post 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! :(
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Urgent! Error, need help!

Post by Vladimir »

Hello,

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

Thank you.
Locked