468,103 Members | 1,264 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,103 developers. It's quick & easy.

ASP Page on WSS Site, why dont they work?

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>
Jul 22 '05 #1
9 1404
"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
Jul 22 '05 #2
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.
Jul 22 '05 #3
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.

Jul 22 '05 #4
If you "view source" do you see the ASP code?
Try a page with only VBScript on it.

<%@ Language=VBScript %>
<%
Response.Write "<html><body>Hello World!</body></html>"
%>

What do you get?

--
--Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com

"Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
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.


Jul 22 '05 #5
Page returns nothing, its completely blank.

If I do a View Source, I get:

<%@ Language=VBScript %>
<%
Response.Write "<html><body>Hello World!</body></html>"
%>

Here is the URL:
http://www.helpfoundation.com/test.asp

Thanks!

"Mark Schupp" <no******@email.net> wrote in message
news:uM**************@TK2MSFTNGP14.phx.gbl...
If you "view source" do you see the ASP code?
Try a page with only VBScript on it.

<%@ Language=VBScript %>
<%
Response.Write "<html><body>Hello World!</body></html>"
%>

What do you get?

--
--Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com

"Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
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.



Jul 22 '05 #6
Your server is not processing ASP scripts. You will need to check your IIS
settings.
Make sure that ASP is enabled and that .asp and .asa extensions are mapped
to asp.dll

--
--Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com

"Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Page returns nothing, its completely blank.

If I do a View Source, I get:

<%@ Language=VBScript %>
<%
Response.Write "<html><body>Hello World!</body></html>"
%>

Here is the URL:
http://www.helpfoundation.com/test.asp

Thanks!

"Mark Schupp" <no******@email.net> wrote in message
news:uM**************@TK2MSFTNGP14.phx.gbl...
If you "view source" do you see the ASP code?
Try a page with only VBScript on it.

<%@ Language=VBScript %>
<%
Response.Write "<html><body>Hello World!</body></html>"
%>

What do you get?

--
--Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com

"Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
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.



Jul 22 '05 #7
Thank you for your reply...

I've checked the http://server/BlockedFileType.aspx Blocked File Types, and
ASP is not listed. ASA, is however

On the Application Configuration, ASP files are mapped to:
C:\WINDOWS\system32\inetsrv\asp.dll
Though the verbs are limeted to: GET,HEAD,POST,TRACE

Hmmm

Thanks,
Scott<-

"Mark Schupp" <no******@email.net> wrote in message
news:eI**************@TK2MSFTNGP10.phx.gbl...
Your server is not processing ASP scripts. You will need to check your IIS
settings.
Make sure that ASP is enabled and that .asp and .asa extensions are mapped
to asp.dll

--
--Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com

"Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Page returns nothing, its completely blank.

If I do a View Source, I get:

<%@ Language=VBScript %>
<%
Response.Write "<html><body>Hello World!</body></html>"
%>

Here is the URL:
http://www.helpfoundation.com/test.asp

Thanks!

"Mark Schupp" <no******@email.net> wrote in message
news:uM**************@TK2MSFTNGP14.phx.gbl...
If you "view source" do you see the ASP code?
Try a page with only VBScript on it.

<%@ Language=VBScript %>
<%
Response.Write "<html><body>Hello World!</body></html>"
%>

What do you get?

--
--Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com

"Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
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.
>
>



Jul 22 '05 #8
> On the Application Configuration, ASP files are mapped to:
C:\WINDOWS\system32\inetsrv\asp.dll
Though the verbs are limeted to: GET,HEAD,POST,TRACE That is correct.

That's as far as my knowledge of IIS6 goes. You might want to ask on an IIS
newsgroup.

Have you seen this link yet
http://www.aspfaq.com/show.asp?id=2476

--
--Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com

"Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl... Thank you for your reply...

I've checked the http://server/BlockedFileType.aspx Blocked File Types,
and ASP is not listed. ASA, is however

On the Application Configuration, ASP files are mapped to:
C:\WINDOWS\system32\inetsrv\asp.dll
Though the verbs are limeted to: GET,HEAD,POST,TRACE

Hmmm

Thanks,
Scott<-

"Mark Schupp" <no******@email.net> wrote in message
news:eI**************@TK2MSFTNGP10.phx.gbl...
Your server is not processing ASP scripts. You will need to check your
IIS settings.
Make sure that ASP is enabled and that .asp and .asa extensions are
mapped to asp.dll

--
--Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com

"Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Page returns nothing, its completely blank.

If I do a View Source, I get:

<%@ Language=VBScript %>
<%
Response.Write "<html><body>Hello World!</body></html>"
%>

Here is the URL:
http://www.helpfoundation.com/test.asp

Thanks!

"Mark Schupp" <no******@email.net> wrote in message
news:uM**************@TK2MSFTNGP14.phx.gbl...
If you "view source" do you see the ASP code?
Try a page with only VBScript on it.

<%@ Language=VBScript %>
<%
Response.Write "<html><body>Hello World!</body></html>"
%>

What do you get?

--
--Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com

"Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
> 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.
>>
>>
>
>




Jul 22 '05 #9
Thank you for the Reply... Though I think I found the issue. You cant
really have ASP and ASP pages on the same site without excluding the ASP
folder from the WSS Site.

I followed this to get a folder to run ASP files:
http://www.asaris-matrix.com/mvp-wal...rm.aspx?ID=329

Though now I cannot get that folder to show up in FrontPage to allow me to
edit the pages... )-;

Thanks,
Scott<-
"Mark Schupp" <no******@email.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
On the Application Configuration, ASP files are mapped to:
C:\WINDOWS\system32\inetsrv\asp.dll
Though the verbs are limeted to: GET,HEAD,POST,TRACE

That is correct.

That's as far as my knowledge of IIS6 goes. You might want to ask on an
IIS
newsgroup.

Have you seen this link yet
http://www.aspfaq.com/show.asp?id=2476

--
--Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com

"Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
Thank you for your reply...

I've checked the http://server/BlockedFileType.aspx Blocked File Types,
and ASP is not listed. ASA, is however

On the Application Configuration, ASP files are mapped to:
C:\WINDOWS\system32\inetsrv\asp.dll
Though the verbs are limeted to: GET,HEAD,POST,TRACE

Hmmm

Thanks,
Scott<-

"Mark Schupp" <no******@email.net> wrote in message
news:eI**************@TK2MSFTNGP10.phx.gbl...
Your server is not processing ASP scripts. You will need to check your
IIS settings.
Make sure that ASP is enabled and that .asp and .asa extensions are
mapped to asp.dll

--
--Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com

"Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Page returns nothing, its completely blank.

If I do a View Source, I get:

<%@ Language=VBScript %>
<%
Response.Write "<html><body>Hello World!</body></html>"
%>

Here is the URL:
http://www.helpfoundation.com/test.asp

Thanks!

"Mark Schupp" <no******@email.net> wrote in message
news:uM**************@TK2MSFTNGP14.phx.gbl...
> If you "view source" do you see the ASP code?
> Try a page with only VBScript on it.
>
> <%@ Language=VBScript %>
> <%
> Response.Write "<html><body>Hello World!</body></html>"
> %>
>
> What do you get?
>
> --
> --Mark Schupp
> Head of Development
> Integrity eLearning
> www.ielearning.com
>
> "Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
> news:%2***************@TK2MSFTNGP15.phx.gbl...
>> 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.
>>>
>>>
>>
>>
>
>



Jul 22 '05 #10

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by BizWorld | last post: by
6 posts views Thread by Helpneeded | last post: by
6 posts views Thread by anthonykallay | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.