FP2003 - Can no longer use .asp includes!

K

KM

In playing around with FP2003, when I try using FP's include page bot, I can
no longer include .asp pages. An error pops up saying you can't include
..asp or .aspx pages!!

If this restriction is in the final release, I think this is huge
disappointment.

You can do this in FP2002, now all of a sudden you can't. I hope I'm wrong
about this one. To stop you from doing this.....I just don't get it.
 
J

Jeff Gruetzmacher

Sound like the page you're trying to include is an ASP page itself.
Remember, any server-side processing is done when the page is delivered to
teh client. By including an ASP page, with presumably VBScript itself in
it, the page will not process that vb code because it was already processed
when it was included. If there is no vbscript in your included ASP page,
then change the extension of the file to .html and try including that.
 
P

Peter N Roth

As Jeff said...

also, consider that in ASP, inclusion is done with
<!-- #include file="path" -->
 
T

Thomas A. Rowe

In both FP2000 and FP2002 you can use the FP Include Page component to
include content into .asp pages where the page that is being included is
also .asp page. You do not have to use ASP/SSI include statement, this is
what I think KM is referring to.

Now I can understand FP not allowing the include, if the container page is a
..htm page.
--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
 
K

KM

Guys,
What I am saying is that in previous versions we could use the "include
page" web component to include .asp pages even if the master page was an
..htm or .asp page.

You can't do that any more. The nice thing about using the web component
include page was that you could see the page included when you were working
on the master document. It didn't matter if it was an .htm or .asp page.
And it shouldn't. But now it does. That's a bummer.
 
K

Kathleen Anderson [MVP - FP]

KM said:
Guys,
What I am saying is that in previous versions we could use the
"include page" web component to include .asp pages even if the master
page was an .htm or .asp page.

Not true, at least in FP 2000. You cannot include a .asp page in a .htm page. When you are presented with a list of pages to include in an .htm page, it only shows the .htm pages in your web, it doesn't show you the ..asp pages.


--

~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
http://www.spiderwebwoman.com/resources/
 
K

Kathleen Anderson [MVP- FP]

Kathleen said:
Not true, at least in FP 2000. You cannot include a .asp page in a
.htm page. When you are presented with a list of pages to include in
an .htm page, it only shows the .htm pages in your web, it doesn't
show you the .asp pages.

As a follow-up, this *may* be because I have not applied any of the Office 2000 SRs to this machine.


--

~ Kathleen Anderson
Microsoft FrontPage MVP
Spider Web Woman Designs
http://www.spiderwebwoman.com/resources/
 

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

Top