Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 3rd, 2008, 11:06 PM
Registered User
 
Join Date: Jan 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default CSV Export filename not working Windows Server 03

I created a file named x.csv with the following code.
<%
Response.AddHeader "Content-Disposition", "inline; filename=abc.csv"
Response.ContentType = "text/csv"
Response.Write "1,2,3"
%>

When I run this on a XP Pro web server, the filename in the Save As dialog box is correctly populated as abc.csv.

When i run on a Win Server 2003 web server, the filename in the Save As dialog box is incorrectly set to the ASP page name, x.csv in this instance.

Any ideas greatly appreciated.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Crystal Reports Not working in Windows 2003 Server varooon Crystal Reports 0 January 10th, 2008 01:13 AM
Csv Export Coby Access VBA 4 July 25th, 2007 08:19 AM
Outlook '03 automation from Access '03 error Derek_05 Access VBA 2 February 3rd, 2006 06:09 AM
Export csv grahampinkney Access 3 February 21st, 2004 07:35 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.