FP2002 XP submission_form.asp

D

Doug

I am new to FP2002 and have created a sample database
using the database interface wizard.
A "submission_form.asp" is on my computer. The top of
the page in Preview mode has a message "This page
contains elements that may need to be saved or published
to preview correctly." When I click the "OK" button on
the form, Error msg "A runtime error has occurred.
Object expected." The line of code is
<form METHOD="POST" action="--WEBBOT-SELF--"
onsubmit="return FrontPage_Form1_Validator(this)"
language="JavaScript" name="FrontPage_Form1">

I'm guessing this may be related to publishing on a web
server?

I have ensure all IIS and Frontpage components were added
using "Add or Remove Programs".
FP's menu "Tools/Web Settings" shows "No web server is
currently in use".
Also "Tools/Server" is grayed out and I cannot access it.

Does anyone know how to fix this issue so that when I
click the "OK" button, the form's content is submitted to
the database without error?
 
M

Mark Fitzpatrick

How are you opening your web? You must be using File | Open Web and then
using http://localhost/webname where webname is the name of the subweb you
want to open (or just use localhost if you want to open the root web). The
issues you are having are consistent with opening the web through the file
system instead of the web server (in other words, using like file:\\c:|My
Documents\My Web\ instead of http://localhost/myweb). If you have been
making disk-based webs stored in someplace like My Documents, you'll have to
move them to your web server since it will use the c:\inetpub\wwwroot as the
root of the web site. Youc an do this by opening your web and using the File
| Publish Web to publish it to your local web server and entering
http://localhost/webname to publish to a new subweb. Then open the subweb
using the same URL you just published to.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP- FrontPage
 
J

Jim Buyens

Right. In order to operate, database pages require the use
of software that only resides on a real Web server.
Preview mode displays pages locally from disk, with no Web
server in the loop.

To test your page, you'll need to either:
o Publish it to your Web server (hopefully in a test
location) or,
o Install a Web server on your PC, and then test from
that location.

If you want a local Web server and have Windows 2000 or
Windows XP Pro, the version of IIS that comes with Windows
will do nicely. You can install this through Add/Remove
Programs, Windows Components.

If you have Windows XP Home, you'll need to upgrade to
Windows XP Pro.

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)
|/---------------------------------------------------
*----------------------------------------------------
 
D

Doug

I would like to use my computer as web server if
possible. As previously mentioned, I have ensure FP
extension and IIS components have been installed on my XP
computer.

During publishing, I entered "http://Inetpub/wwwroot/"
into the "Publish Destination" dialog box. I verified
that this directory exists in C:/Inetpub/wwwroot/. An
error msg shows:

"Unable to open 'http://Inetpub/wwwroot'. Server error:
Possible causes:
1. The web server may not have the Frontpage server
Extensions installed.
2. The web server may be temporarily out of service.
3. If you are connecting through a proxy server, the
proxy settings may be incorrect.
4. An error may have occurred in the web server.
If this server does not support the Frontpage server
extensions, frontpage may still be able to publish to the
server via FTP.
 
T

Thomas A. Rowe

You have to enter http://localhost not http://Inetpub/wwwroot/

--

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

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

Jim Buyens

The default IIS confiuration is for c:\InetPub\wwwroot to be the Web
server's "root folder". This means that that the URL
http://localhost
points to
c:\InetPub\wwwroot

Therefore, when you publish to http://localhost, the file will show up
in c:\InetPub\wwwroot.

BTW, you should also use http://localhost after choosing Open Web from
the File menu in FrontPage.

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)
|/---------------------------------------------------
*----------------------------------------------------
 

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

Similar Threads


Top