|
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?
|
|
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
|
|
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?
|
|
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!
|
|
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?
|
|
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!
|
|