I am executing the following code and on my client box, my dev IIS server, qa server, and prod server; the output file is being written to C:\Windows\System32 folder. Why? A dialog screen pops up and I save the file on the C Drive of all the locations but it still appears in the System32 folder.
Dim filePath As String = ArrayToFile
Response.AddHeader("Content-Disposition", "attachment; filename=" & filePath)
Response.ContentType = "application\ocstream"