Solved

Context-Type in ASP Result Files

Posted on 1997-09-08
3
198 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
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 is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

910 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

21 Experts available now in Live!

Get 1:1 Help Now