Problem using 'include' with asp page

C

Chris Parry

Good Day,

I am trying to set up a news management system on my server which required
me to include an .asp file in a template from my site.


I have established that for an included .asp page to be displayed in the
browser, it has to be included into an .asp template - i.e. a combination of
an html template and an included asp file won't work - correct?


My problem is - How do I convert my html template to asp? - It still doesn't
work if I simply save it as an asp file in FP2003, therefore I presume there
are some code changes to be made. Can someone tell me what I have to strip
out to make it work?


The page in question is http://www.festrail.co.uk/test1/news.asp


(note that the include code:


----------------
<!--webbot bot="Include"
U-Include="http://www.festrail.co.uk/frnews/miniabstracts.asp"
TAG="BODY" -->
----------------


is not displayed when you 'view source', but it is there!)


Any advice grateful received.


Chris
 
T

Thomas A. Rowe

When using ASP SSI, make sure you remove all basic HTML tags from the page.

<html>
<head>
etc.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
C

Chris Parry

Thanks Thomas - Problem sorted.

Chris



Thomas A. Rowe said:
When using ASP SSI, make sure you remove all basic HTML tags from the
page.

<html>
<head>
etc.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

ASP Include page not working 8
Included content not included 3
Include problem with FP2003 5
File Upload in ASP? 2
ASP, ASP.NET 6
Include not displaying in aspx 8
asp not supported? 9
html conversion to asp 6

Top