Solved

website ASP pages Server 2008 R2

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

Title # Comments Views Activity
SolarWind and DNS Server 12 69
Alternative access for remote users 6 86
Scripting vs. Programming languages 25 152
Convert MSI to MSM 1 49
Have you considered what group policies are backwards and forwards compatible? Windows Active Directory servers and clients use group policy templates to deploy sets of policies within your domain. But, there is a catch to deploying policies. The…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

862 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now