#include file/virtual

H

hmcclungiii

Hello all, hopefully I can get a quick answer as I'm on a tight
deadline, and any help you can offer is greatly appreciated.

In short, my client has a website hosted on IIS, and uses a large number
of #include virtual's.

Everytime I open the web with Frontpage, all the virtual's are changed
to file's. How can I stop this? I have to keep manually doing
find&replace to correct this, which is extraordinarily time consuming!

Thanks,
hmcclungiii
 
T

Thomas A. Rowe

I have never seen FP modify a <!--- #INCLUDE statement, can you show us how these are inserted into
your pages?
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
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.
==============================================
 
H

hmcclungiii

I enter the following ...
<!--#include virtual="/_fpclass/fpdblib.inc"-->

Frontpage warns me that it will change it, and it does. The line is
changed to
<!--#include file="../_fpclass/fpdblib.inc"-->
every time!

Needless to say, this causes error ASP 0131.

There are hundreds of these occurrances. Please tell me one of you FP
Gurus has a solution :)

Thanks,
hmcclungiii
ps. Again, any help or advice is greatly appreciated.
 
T

Thomas A. Rowe

Ok, this is a line that FP inserts, so it FP will always correct it. The solution is that the host
must enable Parent Path, since the FP database component will write it as a file path.

You can not stop FP from changing code that it writes.

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

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
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.
==============================================
 
H

hmcclungiii

I really appreciate the assistance Thomas.

Are there any workarounds for this? The host won't enable parent paths,
for security reasons.

Maybe a file that contains the template for the code FP is writing, in
which that particular string could be modified?

No way to cause FP to use virtual paths?

Thanks,
hmcclungiii
 
T

Thomas A. Rowe

There really is no security issue, if the host stores all web sites on a different drive, other than
the C / boot drive. Plus the Parent Path is a per web setting, not global.

I am not aware of a specific workaround when using the FP database component. You could place the
specific file in each folder for the pages that require it, then you would avoid the Parent Path
issue.

<!--#include file="fpdblib.inc"-->
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
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

Top