WSS网站上的ASP页面,为什么它们不起作用? [英] ASP Page on WSS Site, why dont they work?

查看:84
本文介绍了WSS网站上的ASP页面,为什么它们不起作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个名为test.asp的文件中有以下代码,当我运行它时,我得到了

''测试''...是否有关于在Web上运行.ASP页面的内容是运行Windows Sharepoint Services的
吗?


谢谢,

Scott< -

--- ---------

< html>


< head>

< title> Check out查询字符串 - < / title>

< / head>


< body>

测试
<%Response.write(" Hello World")%>

< / body>


< / html> ;

解决方案

" Scott Townsend" <斯科特-I @ .- N0-SPAMplease.enm.com>在留言中写道

新闻:eH ************** @ TK2MSFTNGP09.phx.gbl ...

我有以下代码在一个名为test.asp的文件中,当我运行它时,我
得到''测试''...是否有关于在运行Windows Sharepoint Services的Web上运行.ASP页面?




应该有效。你是否在网络服务扩展中启用了ASP?


-

Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserv...y/centers/iis/
http://mvp.support.microsoft.com/
http://www.iistoolshed.com/ - 工具,脚本和实用程序用于运行IIS


Scott Townsend写道:

我在一个名为test.asp的文件中有以下代码,当我运行它时
我得到''测试''...是否有关于运行Windows Sharepoint Services的网页运行.ASP页面?



使用IIS6,ASP是默认情况下禁用。您需要明确地打开它:
http:// www.aspfaq.com/show.asp?id=2147


Bob Barrows

-

Microsoft MVP - ASP / ASP.NET

请回复新闻组。我的From

标题中列出的电子邮件帐户是我的垃圾邮件陷阱,因此我不经常检查它。通过发布到新闻组,您将获得更快的回复。


感谢各位回复。

虽然我在服务器上有其他运行ASP页面的网站。并且

我也检查了ASP Web服务扩展。


它不像它没有执行代码,ASP页面的HTML部分

正在显示,它就像ASP代码没有被执行。


我想知道它是否与它的事实有关是一个WSS网站,所有

其他页面都是.ASPX或HTML页面...


谢谢,

Scott< -


" Bob Barrows [MVP]" <再****** @ NOyahoo.SPAMcom>在消息中写道

news:eo ************** @ TK2MSFTNGP10.phx.gbl ...

Scott Townsend写道:< blockquote class =post_quotes>我在一个名为test.asp的文件中有以下代码,当我运行它时
我得到''测试''...是否有关于在网上运行.ASP页面的事情<运行Windows Sharepoint Services的运行?


使用IIS6,默认情况下禁用ASP。您需要明确地打开它:
http:// www.aspfaq.com/show.asp?id=2147

鲍勃巴罗斯
-
微软MVP - ASP / ASP.NET
请回复新闻组。我的From
标题中列出的电子邮件帐户是我的垃圾邮件陷阱,因此我不经常检查它。通过发布到新闻组,您将得到更快的回复。



I have the following code in a file called test.asp and when I run it I get
''Test''... Is there something about running .ASP Pages on a Web that is
running Windows Sharepoint Services?

Thanks,
Scott<-
------------
<html>

<head>
<title>Check out query string -</title>
</head>

<body>
Test
<% Response.write("Hello World") %>
</body>

</html>

解决方案

"Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
news:eH**************@TK2MSFTNGP09.phx.gbl...

I have the following code in a file called test.asp and when I run it I get ''Test''... Is there something about running .ASP Pages on a Web that is
running Windows Sharepoint Services?



Should work. Did you enable ASP in the web service extensions?

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserv...y/centers/iis/
http://mvp.support.microsoft.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS


Scott Townsend wrote:

I have the following code in a file called test.asp and when I run it
I get ''Test''... Is there something about running .ASP Pages on a Web
that is running Windows Sharepoint Services?


With IIS6, ASP is disabled by default. You need to explicitly turn it on:
http://www.aspfaq.com/show.asp?id=2147

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don''t check it very often. You will get a
quicker response by posting to the newsgroup.


Thank you guys for your replies.
Though I do have other webs on the server that are running ASP pages. And
I''ve also checked the ASP Web Service Extension.

Its not like it is not executing the code, the HTML portion of the ASP pages
are getting displayed, its just like the ASP code is not getting Executed.

I''m wondering if it has to do with the fact that it is a WSS site and all
the other pages are .ASPX or HTML pages...

Thanks,
Scott<-

"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:eo**************@TK2MSFTNGP10.phx.gbl...

Scott Townsend wrote:

I have the following code in a file called test.asp and when I run it
I get ''Test''... Is there something about running .ASP Pages on a Web
that is running Windows Sharepoint Services?


With IIS6, ASP is disabled by default. You need to explicitly turn it on:
http://www.aspfaq.com/show.asp?id=2147

Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don''t check it very often. You will get a
quicker response by posting to the newsgroup.



这篇关于WSS网站上的ASP页面,为什么它们不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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