Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 24th, 2005, 11:06 PM
Friend of Wrox
 
Join Date: Jan 2005
Location: Houston, TX, USA.
Posts: 108
Thanks: 0
Thanked 0 Times in 0 Posts
Default Why .asp source codes are display on screen?

Hi, all,

I create a word object by using CreateObject("Word.application"), insert some text in the object, then saveas a "report.doc" file in file text.asp, then use Response.redirect("report.doc") to display the report on the screen. in most of the case, everything is fine, word file is created, the contents is displayed on the screen, the URL is : localhost/test/report.doc. But sometimes, even the report.doc is created, but instead of displaying the word file contents in the screen, the source codes are displayed on the screen, with some strange characters, the URL is still: localhost/test/test.asp, did anybody have the same problem before? why did this happened?

Thanks!

Andraw

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Run Source Codes elvisfeverr BOOK: Ivor Horton's Beginning Visual C++ 2005 2 January 22nd, 2008 11:27 AM
Source Codes Ratul Beginning VB 6 2 June 26th, 2007 06:31 PM
Unable to find source codes for the book sluggish_homer General .NET 1 May 21st, 2007 09:28 PM
source codes for book:Professional Java Programing stanax Forum and Wrox.com Feedback 1 November 2nd, 2003 10:46 AM



All times are GMT -4. The time now is 10:48 AM.


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