鄂俊慧 发表于 2016-5-20 10:28:51

解决Windows 2000不支持Response.CodePage代码的问题

  网站报错:
  Microsoft VBScript 运行时错误 错误 '800a01b6'
  对象不支持此属性或方法: 'Response.CodePage'
  /XXX.asp,行15
  报错原因:
造成这个原因是IIS版本太低了,不支持Response.CodePage属性和方法.
Windows 2003的IIS6.0就支持这个Response.CodePage属性和方法.
  解决方法:
1 将操作系统换成Windows 2003 + IIS6.0
2 将网站程序代码中的的Response.CodePage全部用Session.CodePage代替.
例如:
  <% Response.CodePage=65001%>
  换成
<% Session.CodePage=65001%>
页: [1]
查看完整版本: 解决Windows 2000不支持Response.CodePage代码的问题