无法运行ASP文件 [英] couldn't run ASP file

查看:54
本文介绍了无法运行ASP文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我可以运行hello.htm,但是hello.asp。它们是相同的,除了文件名。

.....

< body>

你好。

< / body>

.....

我从IIS属性的主目录设置了执行权限脚本或可执行文件(Windows 2000,IIS5.0)。


有什么想法吗?


谢谢。

威廉

Hi,
I could run hello.htm, but hello.asp. They are same except the file name.
.....
<body>
hello.
</body>
.....
I set Execute Permission to Script or Excutable(windows 2000, IIS5.0) from Home directory of IIS property.

Any idea?

Thanks.
william

推荐答案

2004年2月10日星期二11:36:09 -0800,威廉

< an ******* @ discussion.microsoft。 COM>写道:
On Tue, 10 Feb 2004 11:36:09 -0800, "william"
<an*******@discussions.microsoft.com> wrote:

我可以运行hello.htm,但是hello.asp。它们是相同的,除了文件名。
...
< body>
你好。
< / body>
...
我从IIS属性的主目录设置执行权限到脚本或可执行文件(Windows 2000,IIS5.0)。

任何想法?
Hi,
I could run hello.htm, but hello.asp. They are same except the file name.
...
<body>
hello.
</body>
...
I set Execute Permission to Script or Excutable(windows 2000, IIS5.0) from Home directory of IIS property.

Any idea?




可以不要说,至少你在这里发布了什么。你浏览文件时会发生什么?b $ b预计会发生什么?发生了什么?

为什么两个相同的文件适用于两种不同的技术?

(提示:Heelo World!文件的HTML与HTML中的文件不同/>
ASP ......)


Jeff



Can''t tell, at least with what you''ve posted here. What did you
expect to happen when you browsed to the file? And what did happen?
And why would two identical files work for two different technologies?
(Hint: The Heelo World! file is different in HTML from that in
ASP...)

Jeff


你好Jeff,


基本上,我试图在Windows 2000上实现ASP项目,但是无法运行它。所以我写了一个测试文件,命名为hello.htm,把它放在wwwroot文件夹下使用默认网站,我可以从IE运行它,没有错误。然后我将文件名更改为hello.asp,我无法运行它,我收到错误您尝试访问的页面存在问题,无法显示。 HTTP 500 - 内部服务器错误。我的测试文件很简单,如下所示:

< html>< head>< title> title test< / title>< / head>< body>

你好!

< / body>< / html>


谢谢。


william

Hi Jeff,

Basically, I was trying to implement ASP project on windows 2000 box, but couldn''t run it. So I wrote a test file, named it to hello.htm, put it under wwwroot folder to use default web site, and I could run it from IE, no error. Then I changed the file name to hello.asp, I couldn''t run it, I got error "There is a problem with the page you are trying to reach and it cannot be displayed. HTTP 500 - Internal server error ". My test file is simple as follows:
<html><head><title>title test</title></head><body>
HELLO!
</body></html>

Thanks.

william


访问网络浏览器


点击工具 - >互联网选项 - 高级标签


取消选中显示友好的HTTP错误消息框

在此处发布消息或仔细阅读它将会告诉你哪一行有问题

问题

" william" <一个******* @ discussions.microsoft.com>在消息中写道

新闻:7A ********************************** @ microsof t.com ...
Go to internet explorer

click Tools - > Internet Options - Advanced Tab

uncheck the box "Show friendly HTTP error messages"

post the message here or read it carefully it will tell you which line has
the problem
"william" <an*******@discussions.microsoft.com> wrote in message
news:7A**********************************@microsof t.com...
嗨杰夫,

基本上,我试图在Windows 2000上实现ASP项目,但是
无法运行它。所以我写了一个测试文件,命名为hello.htm,把它放在

wwwroot文件夹下使用默认网站,我可以从IE运行它,没有

错误。然后我将文件名更改为hello.asp,我无法运行它,我收到了

错误您尝试访问的页面存在问题,它是

无法显示。 HTTP 500 - 内部服务器错误。我的测试文件简单如下:< html>< head>< title> title test< / title>< / head>< body>
HELLO!
< / body>< / html>

谢谢。

威廉
Hi Jeff,

Basically, I was trying to implement ASP project on windows 2000 box, but couldn''t run it. So I wrote a test file, named it to hello.htm, put it under
wwwroot folder to use default web site, and I could run it from IE, no
error. Then I changed the file name to hello.asp, I couldn''t run it, I got
error "There is a problem with the page you are trying to reach and it
cannot be displayed. HTTP 500 - Internal server error ". My test file is
simple as follows: <html><head><title>title test</title></head><body>
HELLO!
</body></html>

Thanks.

william



这篇关于无法运行ASP文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆