How to change save directory of console app on server RRS feed

  • Question

  • User-1209441616 posted

    Hi guys,

    I have a console app running is windows server 2016. I am creating an XML file which I want to be able to access in an ASP app pointed at my web pages directory.

    The application when run on my localhost saves the XML file to the local directory the console app is in. I am running the debug .exe.

    I have moved the app to the Server but it saves the XML files in SYSWOW.

    I have tried the following but it makes no difference when saving the XML file.


    I usually would in a .net use Server.Mappath to save files.


    Friday, June 8, 2018 2:02 PM

All replies