Solved

Context-Type in ASP Result Files

Posted on 1997-09-08
3
199 Views
Last Modified: 2013-12-25
Hi,

I'm creating active server (ASP) pages using visual studio'97 connecting

to IIS 3.0 running on an NTAS PC.  I'm trying to change my context-type
to produce a comma delimited file (text-plain for testing).  No matter
what I write from my ASP file I am always getting the following two
problems:

1) this line is added to the top of my results page:
        <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">

2)  All of my double quotes have been changed to &quot;

Is there some type of auto format that either visual studio or IIS is
doing?

Any ideas/comments would be appreciated.

Thanks,
Sheldon
0
Comment
Question by:shwood
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
Kallisti earned 100 total points
ID: 1854967
An obvious solution is to manually edit the
specific ASP file.  If you get whatever
program you are using to create the basic
template, and then rip out the extra code
that it has put in.
0
 

Author Comment

by:shwood
ID: 1854968
The addition of this code seems to happen during the  "releasing" of the working copy to the sever.  I beleive that the front page server extensions running on the web server are doing it.  Is there a setting that I'm unaware of?
0
 
LVL 1

Expert Comment

by:Kallisti
ID: 1854969
Frontpage does not play with the actual asp/htm/whatever
files once they have been written.  It does however play
around with them a lot if you use it to design them!

Try opening the .asp file up in notepad, and have a look
at it.  Clean it up manually, and make sure everything is
OK before publishing it.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Read about why website design really matters in today's demanding market.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to count occurrences of each item in an array.

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