ASP Problem

G

Guest

I have a FP page with a form. Once I save, it asks me to save as .asp. Ok.
When I go to do so, it says a file with that name already exists... ok, I
guess. I can get that file changed... but it doesn't display properly when I
visit that page online. I get the asp scripting for the form/database
connection. So what am I doing wrong?
1. Am I saving the file correctly from .html to .asp?
2. How do I get the page to display correctly?
3. Do I save the .asp file in another folder on the site?

Any help would be appreciated. Thanks.
 
T

Thomas A. Rowe

You must test the form from a Windows IIS web server in your browser via http.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage
==============================================
Agents Real Estate Listing Network
http://www.NReal.com
==============================================
 
G

Guest

Thank you, but I figured out another way. I did save the form, say I named
it register.html, and renamed it with an .asp extension and placed it in a
private folder. Now on the design view of the file named register.html, in
the Form Properties box, under the send to field, I directed it to send to
the _private/folder/register.asp. This seemed to work.


Now my problem is that although I can connect to the database when I setup
the form, FrontPage is not writing to the database.... any ideas?
 
R

Ronx

It is not writing to the database because you do not have any form handler
in place to write to the database.
It sounds like the data is being written to _private/folder/register.asp
which is, in this context, a simple text file.

The form MUST be handled by an .asp page, that the form action must be
similar to
action="pagename.asp "
- and this can only be tested on an IIS server.
 
G

Guest

Ok, so, if I create the site w/ FP, upload it onto my Server which is a
remote Linux based server, with Front Page Server Extensions abilities, I
cannot run forms, applications and such to e-mail/dbases, etc.? I can with
Publisher, why the limitation in the specialized Front Page, if at all?

I'd hate to have to get in the code and write the php language (about the
only one I'm comfortable with) and change the code. I seem to have a lot of
problems with Front Page when I alter the source code.

Any help would be appreciated.
 
A

Andrew Murray

Access (a Windows application) wont work on Linux. ASP usually requires a
Windows Server, not Linux.

Publisher is not a web design program.

The inbuilt DB features of frontpage are designed to run on IIS (Windows)
not Linux.

You can't alter the code that FP creates (i.e. the db wizards code is
created as part of the 'webbots' and therefore is code that can't be
altered. Frontpage will change it back to the original code if you try to
change it in the actual code, the only way to change it is re-do the
wizard.).
 
K

Kathleen Anderson [MVP - FrontPage]

You can't alter the code that FP creates (i.e. the db wizards code is
created as part of the 'webbots' and therefore is code that can't be
altered. Frontpage will change it back to the original code if you try to
change it in the actual code, the only way to change it is re-do the
wizard.).
</snip>

This is not an accurate statement.

--

~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
web: http://www.spiderwebwoman.com/resources/
 
T

Thomas A. Rowe

If you created a form in MS Publisher and then publish it to the server via MS Publisher, it is
using the FP Form Handler. You can also create a form in FP using the defaults, would then use the
FP Form Handler as well.

However you are now trying to use ASP/Access which is not supported under Unix/Linux OS

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage
==============================================
Agents Real Estate Listing Network
http://www.NReal.com
==============================================
 

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