PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → WB application Server 19 - images stop displaying over time
WB application Server 19 - images stop displaying over time
Débuté par Piet van Zanten, 31 jan. 2015 09:54 - 4 réponses
Posté le 31 janvier 2015 - 09:54
Hi,

I have a strange problem that is hard to debug.
My dynamic WB site has dynamic images that show a photo of a member (using filetopage or by programming).
All goes well for a few weeks, but somewhere in time WB stops displaying these images and shows a broken link image.
The images only show when the page is loaded for the first time, otherwise, if the members file is browsed on the same page, the image shows a broken link.
If some button or another action causes the page to be refreshed the image shows up.
All I can do is restart the server and all is well again.

Does anybody have some tips what steps I can take to pinpoint where these problems come from?
AWP sites don't have this problem of course, because the page is refreshed all the time.
As the site is in production the debugging time is very limited.

Regards,
Piet
Posté le 31 janvier 2015 - 13:13
Hello Piet

based on your description, I'm suspecting that the web server (IIS?) is getting too big for his breaches and doing some kind of cache voodoo that creates the problem...

If I'm right, it will be easy to test: next time you have the problem, instead of restartint the whole server, restart only the web server (IIS?)

If that solves the problem, you'll know WHERE to look for a solution

Best regards
Posté le 31 janvier 2015 - 14:35
Hello Piet

It looks like the firewall issue of both ends and the bandwidth of the internet
connection. Worst that all, if you're using burstable connections and by the
time a large number of people using the same trunk from ISP, then the
slow internet is the cause.

You also need to check the default timeout issue/session in IIS could be the
cause. I'd such problem of uploading a 4GB file (max in IIS by HTTP) to
my app in WB15 and it works after setting a longer timeout limit and the
filesize.

HTH

King
Posté le 31 janvier 2015 - 14:42
Hi Fabrice,

You may be right, because restarting only the WB app server did not help.
When inspecting the generated browser code the image source looks like:
<img src="/[site folder]/[pagename]/YAcAACcPEAF1Q25FeVVNWURwAgA?WD_ACTION_= This looks like some kind of vitrual path, because there's no folder physically on disk by the name of the page.
If I click on the link in the browser inspector then the image displays, but when the problem occurs the link seems to be broken.

I'll have to wait for a few weeks, but then I'll try restarting only the (IIS) website.

Reagrds,
Piet
Posté le 31 janvier 2015 - 14:49
Hi King,

Your suggestion seems unlikely, because the problem only occurs on generated images from a database memo.
I don't think a firewall will start behaving differently after a few weeks uptime.
Thanks anyway.

Regards,
Piet.