Question
Thread display: Collapse - |
All Answers
Start or search
Create a new discussion
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Using ASP with Sharepoint
I'm trying to run some simple asp forms on a Sharepoint site, such as
you might see anywhere, with [form action="/Email.asp" method="post"].
They're part of my company's old site and they want them migrated to
the new.
When I put one of my forms and Email.asp in the Sharepoint site
(embedded into a web part page as a Page Viewer Web Part), and the
user tries to submit the form, they get:
----The following file(s) have been blocked by the administrator: /
Email.asp----
Troubleshooting gives me this seemingly helpful paragraph:
----
I can't get custom Active Server Pages to work correctly on my site
Note By default, the ISAPI filter for Windows SharePoint Services
blocks the use of any ASP pages that are not part of the Windows
SharePoint Services installation. If you want to use custom ASP pages
with your SharePoint sites, you must put the ASP pages in a separate
virtual directory, and create an excluded path for the directory in
Windows SharePoint Services. This allows IIS to control the directory,
rather than Windows SharePoint Services, and allows the ASP pages to
run.
----
Researching this gives me these oft-repeated steps from Microsoft for
excluding a virtual directory:
----
Click Start, point to All Programs, point to Administrative Tools, and
then click SharePoint Central Administration.
On the Central Administration page, under Virtual Server
Configuration, click Configure virtual server settings.
On the Virtual Server List page, select the virtual server you want to
configure.
On the Virtual Server Settings page, under Virtual Server Management,
click Define managed paths.
----
However, I don't see "Defined Managed Paths". I see Provisioning
Options with "Extend and create a content database" and "Extend and
map to another virtual server ".
It's possible I never set up the virtual directory right and/or that I
need to do a lot of steps before I even get to this point. I also
don't know the difference between a virtual directory and a virtual
server.
It's also possible that I don't have the right Sharepoint products for
this advice. We are using WSS 2.0 and Sharepoint 2003.
I also found advice to use "Manage Blocked File Types" to remove the
file extension, but that caused the code to display instead of
execute. And now I can't find the Central Administration page to undo what I did.
Any help would be appreciated. Everything I know is self-learned and
there's no training in the budget for the rest of the year, so talk to
me like a newbie. Thank you!