IIS, ASP and Databases

J

Jim Bowman

I am unable to insert a row in a database using an .asp
page.

I can read a row from the database using an .asp page
that includes the SQL SELECT statement. But when I use
the sample code in Lesson 3 (Creating a Guest Book using
a Database) from Module 1 (Creating ASP Pages) from the
IIS documentation, I get an error message: "Microsoft
JET Database Engine (0x80004005) Operation must use an
updateable query." The Lesson 3 code uses the SQL INSERT
statement.

Related issues:
-The Win XP documentation recommends "Before you install
IIS, you need to install the Windows TCP/IP Protocol and
Connectivity Utilities." I have been unable to find the
TCP/IP and connectivity utilities.
-Permissions may be the cause. I can't change them
because the IIS Snap-in panel doesn't appear when I right
click Control Panel and click Manage|Services &
Applications|Internet Information Services. IIS Snap-in
is, however, listed as installed in Add/Remove Programs
in Control Panel.
-There is no network connected to my PC. I am the
computer admimnistrator.

Any suggestions?

Thanks.

Jim
 
G

Guest

The answer turns out to be permissions in the folders
containing the database. There were read-only and that
status permitted a SELECT statement but blocked the
INSERT statement.

Jim Bowman
 

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

IIS, asp and databases 2
IIS 1
ASP Works locally not over network 1
IIS version 5.4 errors with ASP & XP-Pro 1
IIS problem 1
9+ hours of trying to get iis working 1
IIS 2
Can ASP and ASP.net bothwork on IIS 5.0 1

Top