Solved

Response.ContentType

Posted on 2006-11-29
1
623 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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SMTP Relay Issue 12 102
Allow Local User to Log On FTP 8 48
Sharepoint 2010 Product Configuration Wizard fails 4 43
PHP7 and Sql Server Windows 2008 R2 13 88
What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
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.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now