读书人

asp 网站中产出现Microsoft VBScript

发布时间: 2012-11-07 09:56:10 作者: rapoo

asp 网站中产出现Microsoft VBScript 运行时错误 错误 '800a000d'
[color=#FF0000][/color]过往高手看看这个问题怎么处理!

Microsoft VBScript 运行时错误 错误 '800a000d'

类型不匹配: 'newsdy'

/index.asp,行 23

网站代码:

<%@ LANGUAGE = VBScript.Encode %>

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

<div id='content' style='width:990px;height:340px;background:none transparent scroll repeat 0% 0%;margin:30px auto'>


<!-- 文章列表 -->

<div id='pdv_10810' class='pdv_class' title='最新文章' style='width:348px;height:156px;top:0px;left:0px; z-index:6'>
<div id='spdv_10810' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
<div class="pdv_border" style="border:0px;height:100%;padding:0;margin:0;">
<div style="height:100%;">
<div style="height:30px;border:0px;padding:0;margin:0;background:url(base/border/780/images/top.png) 0px 0px no-repeat;">
<div style="float:right;width:53px;height:30px;background:url(base/border/780/images/top.png) -847px 0px no-repeat;">
<a href="news.asp" style="display:inline"><img src="base/border/780/images/more.gif" style="border:0px;" /></a></div>
</div>
<div style="margin:14px 2px 0px;padding:0px;">

<link href="news/templates/css/newslist_time.css" rel="stylesheet" type="text/css" />
<ul class="newslist_time">

<%#@~^GgAAAA==~1ls^P+hkNHcJ企业新闻r~X~yFb~GwYAAA==^#~@%>

</ul>

</div>
</div>
</div>

</div>
</div>

<!-- 自选产品列表 -->

<div id='pdv_10809' class='pdv_class' title='最新产品' style='width:491px;height:184px;top:170px;left:1px; z-index:8'>
<div id='spdv_10809' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
<div class="pdv_border" style="border:0px;height:100%;padding:0;margin:0;">
<div style="height:100%;">
<div style="height:30px;border:0px;padding:0;margin:0;background:url(base/border/781/images/top.png) 0px 0px no-repeat;">
<div style="float:right;width:53px;height:30px;background:url(base/border/781/images/top.png) -847px 0px no-repeat;">
<a href="product.asp" style="display:inline"><img src="base/border/781/images/more.gif" style="border:0px;" /></a></div>
</div>
<div style="margin:9px 2px 0px;padding:0px;">

<link href="product/templates/css/productlist_cyrano_lef.css" rel="stylesheet" type="text/css" />

<div class="productlist_cyrano_lef">
<div id="demo">
<table align=left cellpadding=0 cellspace=0 border=0>
<tr>
<td id="demo1" valign=top>
<table border=0 cellpadding=0 cellspacing=0>
<tr>

<!--#include file="NewsProduct.asp" -->
<%#@~^CwAAAA==~1ls^P1wNHPrAMAAA==^#~@%>


</tr>
</table>
</td>
<td id="demo2" valign=top></td>
</tr>
</table>

</div>
</div>



<script>
var speed=20;
var GD=document.getElementById('demo');
var GD1=document.getElementById('demo1');
var GD2=document.getElementById('demo2');
GD2.innerHTML=GD1.innerHTML;
function Marquee(){
if(GD2.offsetWidth-GD.scrollLeft<=0){
GD.scrollLeft-=GD1.offsetWidth;
}else{
GD.scrollLeft++;
}
}
var MyMar=setInterval(Marquee,speed);


GD.onmouseover=function() {clearInterval(MyMar);}
GD.onmouseout=function() {MyMar=setInterval(Marquee,speed);}
</script>

</div>
</div>
</div>

</div>
</div>

<!-- 产品分类(列表) -->

<div id='pdv_11513' class='pdv_class' title='企业视频' style='width:271px;height:235px;top:0px;left:717px; z-index:10'>
<div id='spdv_11513' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
<div class="pdv_border" style="border:0px;height:100%;padding:0;margin:0;">
<div style="height:100%;">
<td height="215" align="center"><div style="width:271px; height:235px; overflow:hidden"><embed src="http://player.youku.com/player.php/sid/XNDQxOTc2ODQ4/v.swf" allowFullScreen="true" quality="high" width="271" height="235" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash"></embed>
</div></td>
</div>
</div>

<div style="margin-top:-21px;height:21px;background:url(base/border/787/images/top.png) 0px -248px no-repeat"> </div>
<div style="float:right;margin-top:-21px;width:21px;height:21px;background:url(base/border/787/images/top.png) -879px -248px no-repeat"> </div>

</div>
</div>

<!-- 图片/FLASH -->

<div id='pdv_11514' class='pdv_class' title='' style='width:274px;height:106px;top:246px;left:717px; z-index:11'>
<div id='spdv_11514' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
<div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px solid;background:;">
<div style="height:25px;margin:1px;display:none;background:;">
<div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:">

</div>
<div style="float:right;margin-right:10px;display:none">
<a href="-1" style="line-height:25px;color:">更多</a>
</div>
</div>
<div style="padding:0px">


<a href="feedback.asp"><img src="diy/pics/20100311/1268288275.gif" border="0" width="100%" /></a></div>
</div>

</div>
</div>

<!-- HTML编辑区 -->

<div id='pdv_11515' class='pdv_class' title='公司简介' style='width:349px;height:155px;top:1px;left:358px; z-index:12'>
<div id='spdv_11515' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
<div class="pdv_border" style="border:0px;height:100%;padding:0;margin:0;">
<div style="height:100%;">
<div style="height:30px;border:0px;padding:0;margin:0;background:url(base/border/783/images/top.png) 0px 0px no-repeat;">
<div style="float:right;width:53px;height:30px;background:url(base/border/783/images/top.png) -847px 0px no-repeat;">
<a href="company.asp"><img src="base/border/783/images/more.gif" style="border:0px;" /></a></div>
</div>
<div style="margin:0px;padding:0px;">
<div style="PADDING-BOTTOM: 10px; PADDING-LEFT: 1px; PADDING-RIGHT: 3px; PADDING-TOP: 13px"><img style="MARGIN-RIGHT: 23px" border=0 alt="" align=left src="index/pics/20100311/201003111268289311225.jpg" /><font style="LINE-HEIGHT: 150%; COLOR: #000; FONT-SIZE: 12px">      <%#@~^FgAAAA==^mVs,okLLk/vE公司简介JB%0#gQUAAA==^#~@%></font></div>


</div>
</div>
</div>

</div>
</div>

<p>
<!-- HTML编辑区 -->
<div id='pdv_11516' class='pdv_class' title='海南房产' style='width:186px;height:183px;top:170px;left:518px; z-index:13'>
<div id='spdv_11516' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
<div class="pdv_border" style="border:0px;height:100%;padding:0;margin:0;">
<div style="height:100%;">
<div style="height:30px;border:0px;padding:0;margin:0;background:url(base/border/784/images/top.png) 0px 0px no-repeat;"></div>
<div style="PADDING-BOTTOM: 10px; PADDING-LEFT: 1px; PADDING-RIGHT: 3px; PADDING-TOP: 13px"><a href="http://www.ehouse2008.com"><img src="diy/pics/xiaoshou.jpg" alt="海南房产在线销售平台" width="182" height="132" border=0 align=left style="MARGIN-RIGHT: 0px" />
</div>
</div>

</div>

</p>
</div>
</div>
</div>

<!-- 图片/FLASH -->

<div id='pdv_11517' class='pdv_class' title='' style='width:144px;height:82px;top:237px;left:634px; z-index:14'>
<div id='spdv_11517' class='pdv_content' style='overflow:hidden;width:100%;height:100%'>
<div class="pdv_border" style="margin:0;padding:0;height:100%;border:0px solid;background:;">
<div style="height:25px;margin:1px;display:none;background:;">
<div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:">

</div>
<div style="float:right;margin-right:10px;display:none">
<a href="-1" style="line-height:25px;color:">更多</a>
</div>
</div>
<div style="padding:0px">


<img src="diy/pics/20100311/1268295626.gif" border="0" width="100%" />

</div>
</div>

</div>
</div>
</div>
<!--#include file="include/bottom.asp" -->

</body>
<script language="javascript" src="http://code.54kefu.net/kefu/js/20/258820.js" charset="utf-8"></script>
</html>


[解决办法]
<%@ LANGUAGE = VBScript.Encode %>
你用的是加密后的脚本,以下两句ASP语句
第23行,<%#@~^GgAAAA==~1ls^P +hkNHcJ企业新闻r~X~yFb~GwYAAA==^#~@%>
第57行,<%#@~^CwAAAA==~1ls^P1wNHPrAMAAA==^#~@%>
应该是解密不成功导致的.你再查一下原始语句.

读书人网 >ASP

热点推荐