后台生成静态页面出现错误提示!错误 '80020009'

后台生成静态页面出现错误提示!

错误 '80020009'

发生意外。

/admin/html.asp,行9

错误代码如下:

<%
if session("user_admin")="" then
response.Redirect("login.asp")
response.End()
end if
%>
<%
filename="../index.htm"
if request("body")<>"" then
Set fso = Server.CreateObject("Scripting.FileSystemObject")
Set fout = fso.CreateTextFile(server.mappath(""&filename&""))
fout.Write request("body")
fout.close
set fout=nothing
set fso=nothing
mskrindex="ok"
end if
%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta copy="广西商贸网,硬件,游戏,外设,娱乐">
<title>首页模板</title>
<style>
td{font-size:9pt;line-height:140%}
body{font-size:9pt;line-height:140%}
a:link       { color: #0033CC; text-decoration: none }
a:visited    { color: #0033CC; text-decoration: none }
a:active     { color: #FF0000; text-decoration: none }
a:hover      { color: #000000; text-decoration: underline}
</style>
<SCRIPT LANGUAGE="JavaScript">
helpstat = false;
stprompt = true;
basic = false;
function thelp(swtch){
 if (swtch == 1){
  basic = false;
  stprompt = false;
  helpstat = true;
 } else if (swtch == 0) {
  helpstat = false;
  stprompt = false;
  basic = true;
 } else if (swtch == 2) {
  helpstat = false;
  basic = false;
  stprompt = true;
 }
}

function AddText(NewCode) {
document.frmAnnounce.body.value+=NewCode
}

function openscriphtml()
{
if (navigator.appName!="Microsoft Internet Explorer")
   alert("此功能 Netscape 用户不能使用!")
else
   {newwin=window.open('html_editor.htm','','width=544,height=294');
    newwin.focus();
   }
}
function runEx(){
//alert('请注意,按下确定将生成页面,按下后请稍后....');
var winEx = window.open("", "winEx", "width=300,height=200,status=yes,menubar=yes,scrollbars=yes,resizable=yes"); winEx.document.open("text/html", "replace");
winEx.document.write(unescape(event.srcElement.parentElement.children[2].value));
winEx.document.close();
}
</SCRIPT>
<script language="Javascript">
<!-- hide

function insertsmilie(smilieface){

 document.frmAnnounce.body.value+=smilieface;
}
// -->
</script>
</head>
<body topmargin="1" leftmargin="1">
<%if mskrindex="ok" then%>
<table border="0" cellspacing="0" style="border-collapse: collapse" width="100%" cellpadding="0">
  <tr>
    <td width="100%"><font color="#FF0000">·</font>成功:生成首页完成,时间<%=Now()%><br><font color="#FF0000">·</font><a target="_blank" href="<%=filename%>"><%=filename%></a></td>
  </tr>
</table>
<%else%>
<table border="0" cellspacing="1" style="border-collapse: collapse" width="100%" bgcolor="#555555" height="100%">
<form name="frmAnnounce" method="post" action="html.asp">
 
  <tr>
    <td width="100%" bgcolor="#FFFFFF" height="100%"><textarea style="width:100%; height:100%;" rows="19" name="body" cols="102"><!--#include file="index_html.asp"--></textarea></td>
  </tr>
  <tr>
    <td width="100%" bgcolor="#38BFBF">
    <p align="center">       
    <input name="change" class=buttonface value="生成首页(HTML页)" type='submit'> </td>
  </tr>
</form>
</table>
<%end if%>  
</body>   
</html>

可能是Response.Write request.Form("body")
由于数据量太大,堆栈溢出!  我的index_mb.asp文件超过了100k啊!   要怎么解决啊!大虾们帮一帮忙吧!火急啊!

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值