![]() |
Intraweb-App friert nach sendfile ein
Hi Leute,
ich habe folgendes Problem. Ich habe mit Intraweb ne Applikation geschrieben, mit der ich ne Datei runterladen kann.
Delphi-Quellcode:
Leider friert mir die Applikation immer ein, sobald ich auf den Button geklickt habe und ich kann gar nichts mehr machen.
procedure Ttemplateframe.IWButton1Click(Sender: TObject);
begin GGetWebApplicationThreadVar.SendFile('.\FILES\vorlage\free_text.docx', true, 'free_text.docx'); end; An was könnte das liegen? vlg Markus PS: Das ganze läuft über den IIS als "ISAPI-Modul" |
Re: Intraweb-App friert nach sendfile ein
Dategröße?
Bei jeder Datei/ jedem Dateityp (PDF, JPEG, ...)? |
Re: Intraweb-App friert nach sendfile ein
Wow, danke für die schnelle Antwort!
Bis jetzt hab ichs mit ner .docx und ner .mht versucht, da das auch die einzigen Dateien sind, die ich runterladen können muss. Die docx ist 10kb groß und die mht ist 29 kb groß. Die Dateien werden auch richtig heruntergeladen und lassen sich auch normal öffnen, nur die Applikation ist eingefroren. vlg Markus |
Re: Intraweb-App friert nach sendfile ein
Weiß niemand woran das liegen könnte??
vlg Markus |
Re: Intraweb-App friert nach sendfile ein
OKOK,
wer lesen kann ist klar im Vorteil: :wall: "My application freezes in IntraWeb 7 when I use SendFile, SendStream, or I perform a File-upload? IntraWeb 7.0 introduces a new feature called LockOnSubmit. This is to prevent the double-click on a form when a submit is still in progress. However, it is incompatible with certain other features. Two of these are the ones above. If you are performing any of these, make sure this property is set to False in the form." Steht genau so in der FAQ. Naja, das nächste mal schau ich da zuerst. danke |
Alle Zeitangaben in WEZ +1. Es ist jetzt 14:01 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz