Skip to content

Download work in Visual Studio Debug mode, but not working after deployed to IIS. #1273

Closed

Description

@itg-assistant

Felix CHAN asked 2017-12-28 06:30:14 UTC

Hi there,

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".

Thanks and Regards,

Felix CHAN

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    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

  2. added
    BugSomething is broken or behaving unexpectedly.
    on Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is broken or behaving unexpectedly.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions