Solved

website ASP pages Server 2008 R2

Posted on 2013-10-29
4
236 Views
Last Modified: 2013-10-31
I'm trying to move my companies website which currently sits on a Windows 2000 Server to a virtual server on my Server 2008 R2 machine.  I've moved everything over and then browsed the home page to find that my top header of the home page doesn't show up and the header is a .asp page.  We're running IIS 7.0 and the service of ASP is running.  What am I doing wrong?
0
Comment
Question by:RCL_Burco
  • 2
4 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39610032
That's a little vague.  Is the 'top header' in an 'include' statement or something else?  Have you double checked the path?

And while ASP.NET 'automatically' runs in IIS 7, Classic ASP does not and has to be installed.

http://www.iis.net/learn/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8
0
 
LVL 7

Assisted Solution

by:SterlingMcClung
SterlingMcClung earned 100 total points
ID: 39610072
In addition, I believe that IIS 7.0 disables "..\..\" style includes in the asp files.  There is an option under the ASP section o IIS to enable this, but I don't recall its exact title at this point.  This was enabled by default in previous versions, so if you use it, you will need to enable it.
0
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 100 total points
ID: 39610241
I think what SterlingMcClung is referring to is  parent path's are turned off.  The reason is for security.  If you have include files, instead of using

<!--#include file="../folder/file.asp"-->

change to

<!--#include virtual="/folder/file.asp"-->

http://www.iis.net/learn/application-frameworks/running-classic-asp-applications-on-iis-7-and-iis-8/classic-asp-parent-paths-are-disabled-by-default
0
 
LVL 7

Expert Comment

by:SterlingMcClung
ID: 39610318
That would be the term I was looking for.  You are right, that it was for security purposes and I should have mentioned that.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found listed in my profile here: http:…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

809 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