Form email and file save not working

K

Ken McCrory

Here's the setup:

Server:
Windows 2003
IIS 6 (web & SMTP servers)
FP 2002 server extensions
17 virtual web sites and numerous sub webs

Web pages in question:
Created in FP
Contains a form area

Problem:
No problem if the form results go to a database. Works fine. Data goes to
the database and I get a confirmation web page.

Send to email and send to file don't work. No error message. No confirmation
page. But no email or results in the file either. If the file doesn't exist
it gets created but it's empty. Nothing in the event logs of the server. In
the web logs there are entries that info was sent via POST but again no
error (result code 200). The SMTP logs show no receipt of any commands. SO
it looks like the page is being sent but whatever actually executes the ASP
commands to send the email or save the info in a file DON'T HAPPEN. I've
tried this on several different of the virtual web sites on this same server
but none of them work. I've modified existing pages and created new ones.
They all act the same.

I've done a search of the Internet and this newsgroup and found other people
with similar problems but I've tried checking all of the SMTP, IIS, FP, web
site, and form properties that were presented in those solutions to no
avail. Sorry, this one might be hard. Who's up to the challenge?

Ken "BiggMakk" McCrory
 
T

Thomas A. Rowe

You have to process the form via CDONTS or CDOSYS, you can use the FP Form Handler.

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

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

Ken McCrory

Thanks for the quick reply. I'm assuming you meant to say "...you CANNOT
usethe FP Form Handler."

IF above TRUE then
Why not? It's what's built-in to FP and used to work!
Another server in our organization works and it's setup is the same as
mine as far as I can tell.
What do I change to get it to work again?
End if

I hadn't heard of CDONTS and CDOSYS but a quick Internet search found enough
information to get it to work in an ASP.NET page. That confirms the SMTP
server is working. This is not something a "normal" FP user would know how
to do.

Wait, you said "process" the form. How do I tell FP and/or the server
extensions to use that form handler instead of the built in?

Ken "BiggMakk" McCrory
 
S

Steve Easton

Is the email address one associated with the domain??
Are "server write" permissions enabled on the folder the file is being saved to??

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
R

Ronx

To use the FrontPage form handler the page must be an .htm(l) page, not
..asp(x).
FrontPage extensions cannot process any page containing server-side
scripting.
 
K

Ken McCrory

I made a copy of the page and changed the extension on the copy to .htm. Now
I get this error:

FrontPage Error.
User: please report details to this site's webmaster.


Webmaster: please see the server's application event log for more details.

There is nothing in the application event log.

Ken "BiggMakk" McCrory
 
T

Thomas A. Rowe

The name of the form, can not have any spaces, change from "Judge Response" to JudgeResponse" or
leave empty.

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

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

Thomas A. Rowe

Have you checked with the server Admin to see what info about the issue has been written to the
server's application event log file?

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

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

Ken McCrory

I am the administrator. There are no entries in any of the event logs for
this problem.
 
T

Thomas A. Rowe

Open the site directly on the server in FP, open the form and remove the email address, then save
and test. Does the form result get written to the file in _private? Is so then the extensions have
not been configured to send email.

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

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

Ken McCrory

"Curiouser and curiouser..."

I had made all the recommended changes in this thread and as of yesterday it
was still not working. NOW (no changes since yesterday) it is working...sort
of. If I set the form's email address to my home e-mail address that is
outside this domain then it works, I get the e-mail and it saves the results
to the file in the _private folder. If I set the e-mail address to my work
address that is in the same domain (smsu.edu) then I don't get the e-mail
but the results still get written to the file in the _private folder. This
is starting to sound like an intra-domain e-mail problem now.
 
Top