Hi,
We've recently deployed or web application to a new web server (Window Server 2012, IIS 8.0)
Since then, we're having an annoying problem with virtual directories.
The first time a user tries to open a file on a virtual dir, he or she gets Error 500.19.
The second time the same user tries to open
the same file (directly after the first attempt), it opens!
From then on, this user (and all other users) can open all files on that virtual directery for some hours.
After some hours, the same issue occurs...
It's like the first time IIS tries to open the file, there's been something initialized...
I use following HTML to open the file: <a href="..\uploads\file.zip">Open file</a>
("uploads" is the virtual dir)
The error is logged in the IISS logs:
<failedRequest url="http://extranet.domain.com:80/uploads/file.zip"
siteId="7"
appPoolId="extranet.domain.com "
processId="2612"
verb="GET"
authenticationType="NOT_AVAILABLE" activityId="{00000000-0000-0000-3529-0080000000E2}"
failureReason="STATUS_CODE"
statusCode="500.19"
triggerStatusCode="500.19"
timeTaken="0"
xmlns:freb="http://schemas.microsoft.com/win/2006/06/iis/freb"
>
</failedRequest>
We thought this might be caused bij de Application pool recycle options, so we set the Regular Time Interval to 0 but this issue still occurs…
We’ve been searching for a solution for days now…
Any help would be much appreciated!!
Thanks!!