You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Download work in Visual Studio Debug mode, but not working after deployed to IIS. #1273
As title, I have a "File Explorer" like windows that allow user to to download files. This function is working when I try WiseJ some time ago.
Recently I start to try WiseJ again, I rebuild the project and the download function work when the web run in Visual Studio Debug mode (refer to Capture 01 and 02 attached).
However, after deployed to IIS (the IIS of the development machine), the download function get broken. After I click "Download" the "Open, Save, Cancel" box does not appeared. Instead, the URL changed to something I've never see before and the browser window become empty and no file can be downloaded (refer to Capture 03 and 04 attached).
What caused this problem ? the URL, port number, etc. in my app, is not hard coded, I haven't got any code that set the URL to "postback.wx".
Activity
itg-assistant commentedon Jun 12, 2026
Felix CHAN answered 2017-12-28 07:49:59 UTC
Hi there,
Sorry I find the cause of the problem. It is because the web run under a "folder" "/demo6/" in IIS but run under "root" in VS Debug Mode.
And the way I handle the download ( using the url returned from "IWisejHandler.GetPostbackURL()") have a bug so it make the function not working.
Regards,
Felix CHAN