Welcome Guest Search | Active Topics | Sign In | Register

AJAXUploader timeout problem Options
Mike Wynn
Posted: Friday, March 28, 2008 8:21:44 AM
Rank: Advanced Member
Groups: Member

Joined: 8/24/2007
Posts: 130
Hi,

I am having a problem with the AJAXUploader timing out prematurely. Within my web application, I set an executionTimeout globally. The page which is hosting the AJAXUploader, requires a greater executionTimeout, which I set in Page_Init using Server.ScriptTimeout.

I am finding that the AJAXUploader will always time out on the value set in web.config, and not the value specified for the hosting page.

Thanks,
eo_support
Posted: Friday, March 28, 2008 8:28:52 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

That is normal. ScriptTimeout controls the time out of the value of the current request, whereas AJAXUploader uses a separate request (uploading file does not trigger any of your page code), so your time out value has no effect on the uploader. It would make sense to be able to set the time out value separately though. So we will look into that and see what we can do.

Thanks
Mike Wynn
Posted: Friday, March 28, 2008 9:43:43 AM
Rank: Advanced Member
Groups: Member

Joined: 8/24/2007
Posts: 130
Thanks for that. Is it possible to give some indication as to how long this may take?

Regards
eo_support
Posted: Friday, March 28, 2008 9:50:55 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We understand it would be a useful feature. But we do not know whether it's possible yet, or it's possible but has other side effects. So it's too early to say that now.

Thanks
Mike Wynn
Posted: Monday, March 31, 2008 3:02:11 AM
Rank: Advanced Member
Groups: Member

Joined: 8/24/2007
Posts: 130
Hi,

I have tried to solve this problem by placing the page that hosts the AJAXUploader into a separate folder. This folder has a separate web.config, specifying a greater request timeout value. However, I am finding that the AJAXUploader is still timing out at the value specified in the main application web.config value. Is there anyway I can get the AJAXUploader to take the value from the second web.config?

Regards
eo_support
Posted: Monday, March 31, 2008 6:34:58 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Very creative solutions. :) Unfortunately we have not looked into it the detail yet, so we can not tell whether or why what works or not.

Thanks
ljubok
Posted: Friday, April 17, 2009 3:19:44 AM
Rank: Newbie
Groups: Member

Joined: 3/16/2009
Posts: 9
Hello,

Has there been any progress regarding this issue? Is there any way to override default executionTimeout setting for a specific page or specific control instance?

Thanks
eo_support
Posted: Friday, April 17, 2009 9:49:17 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Have you tried to use a location element in your web.config and then set executionTimeout inside that location tag?

Code: HTML/ASPX
<location path="SomePage.aspx">
    <system.web>
        <httpRuntime executionTimeout="100" />
    </system.web>
</location>


Thanks
ljubok
Posted: Friday, April 17, 2009 10:19:08 AM
Rank: Newbie
Groups: Member

Joined: 3/16/2009
Posts: 9
Yes, but unfortunately that didn't work.

Now I'm using global setting, but it's still not good because it's too big for most of the pages and too small for those where users actually upload something :)
eo_support
Posted: Friday, April 17, 2009 10:27:19 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

It's my bad. The path value for location element should be "eo_web.ashx". The uploader uploads through eo_web.ashx, not the page that contains the uploader. You may need to explicitly specify the location of eo_web.ashx in your appSettings section:

http://doc.essentialobjects.com/library/1/installationanddeployment/deploy.aspx

Look for "Placing eo_web.ashx at a different location" section.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.