Solved

Context-Type in ASP Result Files

Posted on 1997-09-08
3
194 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

762 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

10 Experts available now in Live!

Get 1:1 Help Now