MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

ASP (not .net) on SharePoint 2007

  Asked By: Madhavi    Date: May 23    Category: MOSS    Views: 1016

I'm attempting to have a virtual directory setup on a SharePoint
server/site that is able to run ASP pages. I have a virtual directory
setup - all pages in here work fine except for when I go to an ASP
page - it just gives a 404 error, nothing more.

Here's a solution I found for 2003:

Went through those steps (although alittle different for 2007) but
still have same results.

Has anyone had to do this? And found a solution for it?



10 Answers Found

Answer #1    Answered By: Ross Watkins     Answered On: May 23

Have you tried creating a separate web application in IIS MMC for the ASP

Answer #2    Answered By: Jeremiah Wallace     Answered On: May 23

I hadn't tried that, so I just did. But all I did was create a new App
Pool with Default settings. Then applied it to the virtual directory.
But still no luck - exact same results.

Do you know if there are settings for the App Pool that I need to
enable ASP?

Answer #3    Answered By: Tony Freeman     Answered On: May 23

Is .asp allowed in the Web Extensions?

Answer #4    Answered By: Danny Shaw     Answered On: May 23

Yes sir it is. . any other thoughts?

Answer #5    Answered By: Benjamin Wright     Answered On: May 23

Trying to open this discussion back up, anyone else have an idea to
get ASP to run from a Virtual Directory on SharePoint server domain??

Answer #6    Answered By: Alka Sarabhai     Answered On: May 23

I don't know if this applies to pure asp  or not, but it's a thought. In
SharePoint pages that are located in the regular site cannot run inline
code unless an entry is added to the Web.config of the web application
specifying that that address is part of the page parser path. This does
not affect client side code, but may well affect other server side code
like ASP. Take a look at the following article on how to add a
pageParserPath to the web.config.


it should be noted that Microsoft considers this a very risky move as
far as the security of your site is concerned.

Answer #7    Answered By: Eashan Nadkarni     Answered On: May 23

Sad to say, this did not work either. I go to an ASP Page in the
Virtual Directory (Which I added to pageParserPath in web.config) and
it comes up 'page cannot be displayed' but I go to an html page and it
works fine.. Anyone else have an idea of what to try?

Answer #8    Answered By: William Odom     Answered On: May 23

We are running an asp  application on our MOSS front-end. Here's our
set up.

The physical path to the application is:

Under Web Sites:
The LibraryApplications folder is a virtual and appears under the
Default Web Site web application. It uses the same application pool
as the default web site.

Under the Web Service Extensions:

Active Server Pages is Allowed

From the browser, we can pull up the application as follows:


I think we needed to reset IIS after this was all set up.

Hope this helps. If not, please post the exact error message you are

Answer #9    Answered By: Mia Scott     Answered On: May 23

One other thing. You should make sure that SharePoint is not blocking
ASP files.

Central Administration > Operations > Blocked File Types

Make sure ASP is not listed in the box.

Answer #10    Answered By: Kristian Chaney     Answered On: May 23

I'm really lost at why this worked and my previous attempt did not.
But IT WORKS! I just walked through and did exactly what you said
(althoguh I could have sworn thats what I did before) and it worked fine..

Didn't find what you were looking for? Find more on ASP (not .net) on SharePoint 2007 Or get search suggestion and latest updates.