Hi All,
I don't know if anyone has encountered the same challenges as I have, but here it goes.
After upgrading my webserver to Windows Server 2022, my Intraweb applications using TIWAppCache stopped working.
More details:
I create a new Tempfile with: LFileName := TIWAppCache.NewTempFileName('.pdf')
The App does it's thing and saves it's data to this new Tempfile
Finally I process the Tempfile with: HRef := TIWAppCache.AddFileToCache(WebApplication, LFileName, FContentType, ctSession)
But in one of the 2 final steps I get the error: Can't add file <TempFile> to cache. The file does not exist.
All this is done in HTTP.SYS.
When running the same app in SA, all works fine.
I've read about security issues and patches on Windows Server 2022 regarding HTTP.SYS, could it be that this mechanism is unsecure?
I'm using Delphi 11.1 with IW 15.2.68 Ultimate.
Thanks in advance for (possible) solutions!
Cheers, Paul
PS. After moving everything to a Windows 2019 Server, all worked well!
I don't know if anyone has encountered the same challenges as I have, but here it goes.
After upgrading my webserver to Windows Server 2022, my Intraweb applications using TIWAppCache stopped working.
More details:
I create a new Tempfile with: LFileName := TIWAppCache.NewTempFileName('.pdf')
The App does it's thing and saves it's data to this new Tempfile
Finally I process the Tempfile with: HRef := TIWAppCache.AddFileToCache(WebApplication, LFileName, FContentType, ctSession)
But in one of the 2 final steps I get the error: Can't add file <TempFile> to cache. The file does not exist.
All this is done in HTTP.SYS.
When running the same app in SA, all works fine.
I've read about security issues and patches on Windows Server 2022 regarding HTTP.SYS, could it be that this mechanism is unsecure?
I'm using Delphi 11.1 with IW 15.2.68 Ultimate.
Thanks in advance for (possible) solutions!
Cheers, Paul
PS. After moving everything to a Windows 2019 Server, all worked well!