Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Context-Type in ASP Result Files

Posted on 1997-09-08
3
Medium Priority
?
212 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 200 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
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…
Suggested Courses

927 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