+ Reply to Thread
Results 1 to 7 of 7

Thread: Server Side Includes .stm file error

  1. #1
    Barn Enthusiast peebman2000 is on a distinguished road peebman2000's Avatar
    Join Date
    Mar 2008
    Posts
    215
    Rep Power
    4

    Server Side Includes .stm file error

    Hey everyone its Peeb, I got a little problem with a site I'm moving from production to development. It is a .stm files with includes of .htm files.

    I'm not familiar with .stm files, but when I moved the .stm file to development I get an "Error processing SSI file" error message. Obviously something is wrong with it processing the includes.

    Does anyone know anything about this error or what I can do about this error? Not much is online about this.

    Thanks for any ideas and suggestions.

  2. #2
    Super Sarcasm Mistress mehere is a glorious beacon of light mehere is a glorious beacon of light mehere is a glorious beacon of light mehere is a glorious beacon of light mehere is a glorious beacon of light mehere's Avatar
    Join Date
    Mar 2008
    Location
    Wide Awake In Dreamland
    Posts
    830
    Rep Power
    8

    are you using include virtual or include file? are parent paths enabled in IIS?
    Quote of the Month:
    INSIGHT: When the going gets tough, the tough get going. The smart left a long time ago.

    Questions to Ponder:
    Are people more violently opposed to fur rather than leather because it's much easier to harass rich women than motorcycle gangs?

    iif([sarcasm]=true,iif([you have to ask]=true,"didn't work","ha ha ha"),"not sarcasm")
    copyright © 2008 sbenj69

    Sarchasm: The gulf between the author of sarcastic wit and the person who doesn't get it.

  3. #3
    Barn Enthusiast peebman2000 is on a distinguished road peebman2000's Avatar
    Join Date
    Mar 2008
    Posts
    215
    Rep Power
    4

    reply

    Its just a regular include file, here and example:

    Code:
    <!-#include file="includes/Header.htm" -->
    
    I spoke with our network team, they don't like to have parent path enabled in IIS for security reason, so its not on.

    Should they have parent paths enabled for includes?

    And thanks for the reply.

    Quote Originally Posted by mehere View Post
    are you using include virtual or include file? are parent paths enabled in IIS?

  4. #4
    Super Sarcasm Mistress mehere is a glorious beacon of light mehere is a glorious beacon of light mehere is a glorious beacon of light mehere is a glorious beacon of light mehere is a glorious beacon of light mehere's Avatar
    Join Date
    Mar 2008
    Location
    Wide Awake In Dreamland
    Posts
    830
    Rep Power
    8

    in order to use include file you need parent paths enabled. however, you can change it to include virtual and you should be okay.
    Code:
    <!-#include virtual="/includes/Header.htm" -->
    
    Quote of the Month:
    INSIGHT: When the going gets tough, the tough get going. The smart left a long time ago.

    Questions to Ponder:
    Are people more violently opposed to fur rather than leather because it's much easier to harass rich women than motorcycle gangs?

    iif([sarcasm]=true,iif([you have to ask]=true,"didn't work","ha ha ha"),"not sarcasm")
    copyright © 2008 sbenj69

    Sarchasm: The gulf between the author of sarcastic wit and the person who doesn't get it.

  5. #5
    Barn Enthusiast peebman2000 is on a distinguished road peebman2000's Avatar
    Join Date
    Mar 2008
    Posts
    215
    Rep Power
    4

    reply

    Thanks, now if I change it to virtual, will the network team still need parent path on or no?

    Quote Originally Posted by mehere View Post
    in order to use include file you need parent paths enabled. however, you can change it to include virtual and you should be okay.
    Code:
    <!-#include virtual="/includes/Header.htm" -->
    

  6. #6
    Super Sarcasm Mistress mehere is a glorious beacon of light mehere is a glorious beacon of light mehere is a glorious beacon of light mehere is a glorious beacon of light mehere is a glorious beacon of light mehere's Avatar
    Join Date
    Mar 2008
    Location
    Wide Awake In Dreamland
    Posts
    830
    Rep Power
    8

    Quote Originally Posted by peebman2000 View Post
    Thanks, now if I change it to virtual, will the network team still need parent path on or no?
    no they won't
    Quote of the Month:
    INSIGHT: When the going gets tough, the tough get going. The smart left a long time ago.

    Questions to Ponder:
    Are people more violently opposed to fur rather than leather because it's much easier to harass rich women than motorcycle gangs?

    iif([sarcasm]=true,iif([you have to ask]=true,"didn't work","ha ha ha"),"not sarcasm")
    copyright © 2008 sbenj69

    Sarchasm: The gulf between the author of sarcastic wit and the person who doesn't get it.

  7. #7
    Barn Enthusiast peebman2000 is on a distinguished road peebman2000's Avatar
    Join Date
    Mar 2008
    Posts
    215
    Rep Power
    4

    Thanks I'll try that, thanks for the help.

+ Reply to Thread

Similar Threads

  1. SQL Server 2008
    By stephenhy88 in forum Microsoft SQL Server
    Replies: 7
    Last Post: August 13th, 2008, 02:55 AM
  2. Error Type:Active Server Pages, ASP 0113 (0x80004005)
    By guddu in forum ASP Development
    Replies: 20
    Last Post: July 11th, 2008, 10:44 AM
  3. Cassini Web Server Stand-alone
    By Wolffy in forum .NET Development
    Replies: 0
    Last Post: April 8th, 2008, 02:18 PM
  4. SQL Server Views
    By theChris in forum Microsoft SQL Server
    Replies: 3
    Last Post: March 23rd, 2008, 08:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO