Can't save aspx pages

L

Luke

In FP2002, if I open an aspx page, and click save (I don't
even have to make any changes), and then view the page in
a browser, it just returns an error:

Control 'LeftColumnNav1_SimpleSearch1_txtSimpleSearch' of
type 'txtBox'
must be placed inside a form tag with
runat=server

I've seen many topics on various forums about this error,
but the thing is, I only get this error when using FP on
my computer. I can go downstairs to a different computer
with FP2002, and save any aspx page without error, but it
won't do it here. I've uninstalled and reinstalled FP a
few times to no avail.

So I guess it isn't so much of a problem with my web as it
is with my FP installation?
 
J

Jim Buyens

This is a long shot, but:

1. Choose Page Options from the Tools menu.
2. Make sure the General tab is selected.
3. Whatever the current setting of Automaticlaly
Enclose Form Fields Within A Form, change it.

That said, if you have a text box that contains a
runat="server" attribute, you really should enclose the
entire form in <form runat="server"> and </form> tags.

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

Jim Buyens

Luke said:
Thanks, but it didn't work out. Any other suggestions?

What kind of .aspx page is this? For example:

o Is it a custom page someone wrote in Visual Studio .NET?
o Is the Web server running Windows SharePoint Services?
o Is this a Web Part Page designed to run under Windows SharePoint Services?

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

Guest

I don't think it is running sharepoint. It is an aspx page
from StoreFront 6, some web store software. I'm going to
try and reinstall FP, Storefront, AND the .NET Framework
to see if that helps. Thanks Jim.

-Luke
(e-mail address removed)
 

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