Solved

Response.ContentType

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
Lync server 2013 Backup Service Error ID 4049 – After File Share Migration
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

758 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