Imagine you have file saved in a database. Then you have an aspx page that gets that page and sends it back to the user.
If you just simply use Response.BinaryWrite you get the browser's download dialog box and the file's name will be the aspx page's name. If you want to force the original file name you have to add an header to the response like this:
Response.AddHeader("Content-Disposition", "inline;filename=ORIGINAL_FILENAME");

![[FIX] BizTalk Server 2010, 2013, 2013 R2 & 2016 errors “Class not registered (WinMgmt)” or “Access denied”](https://blogit.create.pt/wp-content/uploads/2018/07/access-black-and-white-blur-270514-218x150.jpg)



















