File Upload Confirmation

G

Guest

I a trying to use the built in file upload form in FP2002. I have a server with Windows 2000 & FPSE2002.

The form contains 4 fields

1) Titl
2) Descriptio
3) Submitte
4) File (upload

This form is used to allow users to submit documents for review. When I press submit on the form in my test environment, I receive "Front Page extension cannot be run on this page" error.

What I have done is changed the defaul confirmation to an ASP page I have constructed which writes the 4 fields to a database. I have tested the ASP page and it correctly parses a url like "http://myweb/conf.asp?field1=x". The problem seems to be when I tell the UPLOAD form to use this ASP confirmation page it bombs

Any ideas?
 
T

Thomas A. Rowe

You need to use a ASP upload component, as you can not use FP run-time
component with server-side scripts.

--

==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle,
MS KB Quick Links, etc.
==============================================


dwdino said:
I a trying to use the built in file upload form in FP2002. I have a server with Windows 2000 & FPSE2002.

The form contains 4 fields:

1) Title
2) Description
3) Submitter
4) File (upload)

This form is used to allow users to submit documents for review. When I
press submit on the form in my test environment, I receive "Front Page
extension cannot be run on this page" error.
What I have done is changed the defaul confirmation to an ASP page I have
constructed which writes the 4 fields to a database. I have tested the ASP
page and it correctly parses a url like "http://myweb/conf.asp?field1=x".
The problem seems to be when I tell the UPLOAD form to use this ASP
confirmation page it bombs.
 
J

Jim Buyens

Right. ASP is incompatible with most browse-time features
of the FrontPage Server Extensions, including the feature
that saves uploaded files.

To get this working, you'll need to code the whole page in
ASP. The ASP code will need to use an ActiveX control for
picking the uploaded file out of the Request object.

Most hosts provide at least one of such ActiveX control as
part of their basic service (no extra charge). Look around
the host's support pages to see which one they provide,
and where to find documenation.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------


-----Original Message-----
I a trying to use the built in file upload form in
FP2002. I have a server with Windows 2000 & FPSE2002.

The form contains 4 fields:

1) Title
2) Description
3) Submitter
4) File (upload)

This form is used to allow users to submit documents for
review. When I press submit on the form in my test
environment, I receive "Front Page extension cannot be run
on this page" error.
What I have done is changed the defaul confirmation to an
ASP page I have constructed which writes the 4 fields to a
database. I have tested the ASP page and it correctly
parses a url like "http://myweb/conf.asp?field1=x". The
problem seems to be when I tell the UPLOAD form to use
this ASP confirmation page it bombs.
 
G

Guest

This is an Intranet server, so I am the host

I have found a couple of examples of ASP pages to use for uploading. I will just have to work my way throught the original developers code to understand what to modify

Thanks,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top