IIS服务器无法显示前台首页问题,请大师们帮忙!

zhihai1989 2009-04-22 09:54:02
前台index代码:
<%@ Page %>

后台index代码:
<%@ Page language="c#" Inherits="Discuz.Web.Admin.index" Codebehind="index.aspx.cs" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>系统设置 - Powered by Discuz!NT</title>
<meta name="keywords" content="ASP.net,论坛" />
<meta name="description" content="Discuz!NT,论坛,asp.net" />
<link href="styles/dntmanager.css" rel="stylesheet" type="text/css" />
<style>
body {margin:0;}
</style>
</head>
<frameset rows="43,*" frameborder="no" border="0" framespacing="0">
<frame src="framepage/top.aspx" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" />
<%if (Request.Params["fromurl"]==null){%>
<frame src="framepage/managerbody.aspx" name="mainFrame" id="mainFrame" onresize="mainFrame.setscreendiv();" scrolling="No" />
<%}else{%>
<frame src="framepage/managerbody.aspx?fromurl=<%=Request.Params["fromurl"]%>" name="mainFrame" id="mainFrame" onresize="mainFrame.setscreendiv();" scrolling="No" />
<%}%>


</frameset>
</frameset><noframes></noframes>
</html>
在Internet信息服务中显示空白,请教各位如何解决,谢谢!
...全文
87 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
jietuan 2009-04-27
  • 打赏
  • 举报
回复
你缺少form标签,你可以在IE里面查看源文件,看看它显示的是什么。
注册失败 2009-04-27
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 CeShenBeiWang 的回复:]
反了吧
[/Quote]

顶,我也觉得是写反了
CeShenBeiWang 2009-04-22
  • 打赏
  • 举报
回复
反了吧
xu54647265 2009-04-22
  • 打赏
  • 举报
回复
C#需要在最外层套一个FORM的吧?
我C#不是很熟,希望被我猜中……

111,126

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Creator Browser
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧