setting up classic asp site on iis7, site runs but can see server tags

Go To StackoverFlow.com

2

Hi I have been sent a classic asp site to set up on IIS7. Im too young to know anything abuout classic asp and i cant find any documentation about my problem online. I have installed asp and the classicasp *.asp handler is enabled. When i go to the site the homepage loads ok but i can see a server tag at the top of the page:

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

<% 
OpenDB()
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/index.dwt" codeOutsideHTMLIsLocked="false" -->
<head>

I can see the <% OpenDB() %> tag at the top of the page on the front end.

Can anyone help me?

2012-04-04 08:36
by user1238321
Had any luck seting up ASP Classic on your IIS server - Guido Gautier 2012-04-09 13:33


3

This means your code is NOT executed by the ASP Classic engine. This means that your ASP Classic setup in IIS may not be correct.

Try the following tutorial on setting up ASP Classic in IIS7:

Running classic ASP on IIS 7

Let me know if this worked!

Also here are some common tips on running Classic ASP on IIS7:

Tips for Classic ASP developers on IIS7

2012-04-04 10:41
by Guido Gautier
Ads