Solved

Response.ContentType

Posted on 2006-11-29
1
624 Views
Last Modified: 2008-02-07
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"
        Response.End()
       
0
Comment
Question by:kwcowboy1226
1 Comment
 
LVL 9

Accepted Solution

by:
kraffay earned 500 total points
ID: 18041507
What is the value of ArrayToFile?



0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question