5d报告是什么意思:为什么我用浏览器打开ASP是这样的??

来源:百度文库 编辑:杭州交通信息网 时间:2024/04/29 22:23:06
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="admin/BBSConfig.asp"-->
<!--#include file="INC/online.asp"-->
<!--#include file="INC/ShowMsg.asp"-->
<!--#include file="INC/header.asp"-->
<!--#include file="INC/style.asp"-->
<!--#include file="INC/Board_Config.asp"-->
<%
'****************************************************************
'* dgfox BBS Ver1.0.0/帝极论坛 Ver1.0.0
'*
'* 版权所有: Dgfox V1.0
'*
'* 程序制作: 帝极软件坊
'*
'* 主页地址: http://www.dgfox.com.cn 帝极论坛
'*
'* 论坛地址: http://www.dgfox.com.cnhttp://www.dgfox.com.cn
'*
'****************************************************************
'* Powered by: Dgfox V1.0
'* Copyright 2003-2004. - All Rights Reserved.

'****************************************************************
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="keywords" content="dgfox,forum,bbs,youmeng,帝极论坛">
<title><%=BBS_Config(0)%> - 首页</title>
<link href="<%=Css_path%>" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0">
<%
Call onlineuser()
top()
%>
<table border="0" align="center" cellpadding="4" cellspacing="1" class="table-noColor">
<tr>
<td width="599" valign="bottom">
<%
if userOnline = true then
response.Write("欢迎回来:<strong>"& username &"</strong> <a href=""search.asp?action=search&searchin=Getnew"">查看今日热门贴子</a> | <a href=""search.asp?action=search&username="& username &"&title=yes"">查看您发表的贴子</a><br>您上次访问本站:"&lastonline&" 现在时间:"& formatdatetime(Now(),2)&" "& formatdatetime(Now(),4) &"")
else
response.Write("欢迎光临 "& BBS_Config(0) &".<br>如果这是您第一次访问本站, 请<a href=""register.asp"">注册</a>才可以看到全部内容和发表你的意见。")
End if
%>
</td>
<%
All_Board
postCount = Application(dgfoxMasterCookies&"postcount")
threadcount = postCount(0)
replycount = postCount(1)
%>
<td width="355" valign="bottom">
<div align="right">主题总数:<strong><%=threadcount%></strong>  帖子总数:<strong><%=replycount+threadcount%></strong><br>
注册会员:
<%

asp页面没有被服务器编译,你看到的是以浏览器形式阅读源代码。

装的win2003吧?

在IIS6.0中新增了web程序扩展这一选项,你可以在其中对ASP、ASP.NET、CGI、IDC等程序进行允许或禁止,默认情况下ASP等程序是禁止的。

解决方法:
在IIS中的“Web服务扩展”中选中Active Server Pages,点击“允许”。

asp 用 IIS 调试

asp 用 IIS 调试