本机访问网站显示An error occurred on the server when processing the URL
外部访问显示internal server error,首先要打开错误信息显示 asp-属性-将错误发送到浏览器

打开错误信息显示

重新刷新,本地127.0.0.1访问,可现实报错:

Microsoft VBScript 运行时错误 错误 '800a000d'
类型不匹配: 'FormatDateTime'
错误原因:类型转换错误,应该是数据库里的某些数据错误加上程序没有判断,删掉formatedatetime

尝试修改为
if rs("addtimes")="" then
C.W("xx")
else
C.W(""&FormatDateTime(rs("addtimes"),2)&"")
end if
已就报错。

最后修改为:

评论区