在IIS7设置传统的ASP站点,站点运行,但可以看到服务器变量 [英] setting up classic asp site on iis7, site runs but can see server tags

查看:103
本文介绍了在IIS7设置传统的ASP站点,站点运行,但可以看到服务器变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我已被送往一个传统的ASP网站上设置IIS7。林太年轻,不懂得什么abuout传统的ASP,我不能在网上找到我的问题的任何文件。我已经安装了ASP和classicasp *启用.asp的处理程序。当我去到现场的网页加载确定,但我可以在页面顶部看到一个服务器标记:

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>

在在前端的页的顶部%OpenDB()%>标记

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

我可以看到的&lt。

谁能帮我?

Can anyone help me?

推荐答案

这意味着你的code不是由ASP经典引擎执行。这意味着你的ASP经典的设置在IIS中可能不正确。

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.

尝试在IIS7设置ASP经典下面的教程:

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

在IIS 7

让我知道,如果这个工作!

Let me know if this worked!

另外这里是上运行的IIS7经典ASP一些常见的技巧:

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

提示在IIS7

这篇关于在IIS7设置传统的ASP站点,站点运行,但可以看到服务器变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆