为什么会出这样的错误信息?

vbyzc 2009-12-10 09:13:22
服务器是在美国
程序在我本地测试没问题
上传到服务器就这样
就是其中一个页面
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

这不是程序错误,不知是为何
但是其它的ASP页面去正常
我试了一下排除这个页面的代码
有用到<!--#include fileu=""-->这行代码肯定不行
全删掉,,并且把ASP全去掉,却可以显示
有的include的文件里并不是ASP代码

这种是什么状况?

...全文
100 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
aidenliu 2009-12-11
  • 打赏
  • 举报
回复
服务器IIS没启用父路径?
vbyzc 2009-12-11
  • 打赏
  • 举报
回复
我研究了一下,问题出在 <!--#include file=""-->
我把所有这个给去掉就没事了
然后我把其中一个本来用include的文件里面的内容直接贴进页面,当然这样没问题
然后再把这粘进来的内容删掉,再恢复那个include文件,竟然可以了!
我这样试了2个include进文件了!

也就是说现在页面中有两行<!--#include file=""-->,可以正常访问
其它的几个<!--#include file=""-->都我注释掉了
我再恢复其中一个,又不行了。
很明显这是服务器问题

shsy_wm 2009-12-11
  • 打赏
  • 举报
回复
重新装一下IIS!
anbs01 2009-12-11
  • 打赏
  • 举报
回复
iis 上面的问题。
vbyzc 2009-12-11
  • 打赏
  • 举报
回复
include file没错
我在这贴中打错了

就算是这句错了,那也不是那样的错误信息
那根本不是程序报错


至于有没有启用父路径我就不知道了
jiguoguo 2009-12-10
  • 打赏
  • 举报
回复
<!--#include fileu=""--> 写错了 是file
sayfree 2009-12-10
  • 打赏
  • 举报
回复
#include file=""
fileu是什么意思?

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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