"Database Results Wizard" error message when you try to change a record in your database in FrontPage 2003 or in FrontPage 2002 Service Pack 3 (817029)
The information in this article applies to:
- Microsoft Office FrontPage 2003
- Microsoft FrontPage 2002 Service Pack 3 (SP3)
- Microsoft ASP.NET (included with the .NET Framework 1.1)
SYMPTOMSIn Microsoft Office FrontPage 2003 or in Microsoft FrontPage 2002 Service Pack 3 (SP3), when you use the
Database Editor to make changes to a database record in an Active Server Page
(ASP) page that is contained in a Web site that you created by using the
Database Interface Wizard, you may receive an error message that is similar to
the following: Database Results Wizard Error
Your page contains a query with user input parameters
that could not be resolved. This could happen if your DatabaseRegionStart
webbot has an empty or missing s-columnnames or s-columntypes
attributes.
See Microsoft Knowledge Base Article
817029. WORKAROUNDWorkaround 1To work around this problem, you can use the Database Results Wizard
to change the page to use ASP.NET. Note You will have to have ASP.NET installed and functional to use
these features. See the "More Information" section of this article for
additional details about how to install ASP.NET. To change to
database region to use ASP.NET, follow these steps: - Open the ASP page in FrontPage.
- On the Insert menu, point to
Database, and then click Results.
- In the Database Results Wizard dialog box,
follow these steps:
- Click ASP.NET.
- Click Use an existing database
connection, and then click to select your database in the database
connection box.
- Click Next.
- Select your correct Record source, and
then click Next.
- If fields are missing in the list of fields for your
database, click Edit List to add missing Available
fields to your Displayed fields, and then click
OK.
- Make any other changes to filter, to limit, or to sort
the database results that you want.
- Click Next two times, and then click
Finish.
- You must resave the page with an .aspx file
extension.
Workaround 2To work around this problem, you can also use ASP option in the Database Results Wizard. Then, manually add the
missing column names to the Webbot section of the ASP page. Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. To use this workaround, follow
these steps:
- Insert a new ASP page.
- Insert a Database Results Wizard for the same database, and make sure that you select all the fields.
- Switch to Code View.
- Locate the following section of code.
<!--webbot bot="DatabaseRegionStart" - Copy the values of the s-columnnames attribute and the s-columntypes attribute.
- Open the failing ASP page.
- On the View menu, click Page, and then click Code at the bottom of the document window.
- Locate the following section of code.
<!--webbot bot="DatabaseRegionStart"
- Update the s-columnnames value to include all field
names as in the following example.
s-columnnames="Expr1000,EmployeeID,FirstName" - Update the s-columntypes value to include all field
types as in the following example.
s-columntypes="3,3,202" - At the bottom of the document window, click
Design. This will force the update of the section of ASP code
generated by the Webbot.
Note If you run the Database Results Wizard on the region again, you
will lose all your changes and you must repeat these steps.
Modification Type: | Major | Last Reviewed: | 10/17/2006 |
---|
Keywords: | kbProgramming kbCtrl kbDatabase kbprb KB817029 kbAudEndUser kbAudITPRO |
---|
|