Welcome Guest Search | Active Topics | Sign In | Register

eo_web.ashx 404s on first few loads Options
Sina Mehr
Posted: Tuesday, September 30, 2014 11:21:54 AM
Rank: Newbie
Groups: Member

Joined: 9/30/2014
Posts: 3
I use the progress bar and my app server is load balanced. I also put my script physically in a different folder but after deployment for first few requests I get 404 on the scripts:

scripts/eo_script/eo.7e55b231-d9db-40f6-ad56-84f5b0d0f4b5.js - 404 (not found)

After 3 or 4 loads everything seems to be working fine, but 404s right after deployment is breaking my automated tests.

My guess is that the requests go from one server to another and that's why its 404ing. Is there a way to initialize all the scripts before run time? Am I missing something?
eo_support
Posted: Tuesday, September 30, 2014 2:33:10 PM
Rank: Administration
Groups: Administration

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

There is no way for the code in our component to initialize the files on all servers --- at any given time our code would only be running on one server and files can only be generated on that server. If you need it to work on all servers, you can add these script files into your deployment and deploy them across all servers.

Thanks
Sina Mehr
Posted: Tuesday, September 30, 2014 2:43:04 PM
Rank: Newbie
Groups: Member

Joined: 9/30/2014
Posts: 3
Thanks for reply. So the file names wont change eo.7e55b231-d9db-40f6-ad56-84f5b0d0f4b5.js will always be the same irrespective of the run? The name seems runtime generated to me. Does it also persist with the same name across different deploys and app pool recycles?
eo_support
Posted: Tuesday, September 30, 2014 2:54:33 PM
Rank: Administration
Groups: Administration

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

It is always the same name for the same version. If you update to a different version of EO.Web.dll, then they will be different.

Thanks!
Sina Mehr
Posted: Tuesday, September 30, 2014 6:20:31 PM
Rank: Newbie
Groups: Member

Joined: 9/30/2014
Posts: 3
Thank you so much!

Can I also generate eo_web.ashx before deploying? Is that run time specific?
eo_support
Posted: Wednesday, October 1, 2014 8:20:36 AM
Rank: Administration
Groups: Administration

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

eo_web.ashx does not change. So you can just copy it.

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.