Solved

website ASP pages Server 2008 R2

Posted on 2013-10-29
4
237 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

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…
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

828 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