Re: ASP & Databases
From: Roland Hall (nobody_at_nowhere)
Date: 04/05/04
- Next message: Eranga Udesh: "Howto get the current file path with SSI"
- Previous message: Aaron Bertrand [MVP]: "Re: Incorrect RecordCount"
- In reply to: Jim Bowman: "ASP & Databases"
- Next in thread: McKirahan: "Re: ASP & Databases"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 4 Apr 2004 21:40:58 -0500
"Jim Bowman" wrote in message
news:153dc01c41a95$698241d0$a601280a@phx.gbl...
: I am unable to insert a row in a database using an .asp
: page. I am running IIS 5.1 that comes with Windows XP.
:
: 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.
Hey Jim...
This generally happens when you have do not have permissions at the file
system level. You can modify permissions with Windows Explorer for the
anonymous user. The path you're writing to is usually physical, not virtual
and should not be under the web root.
If you only need to modify files, you do not need full rights. This
included adds/mods/deletes re: records in a database.
HTH...
-- Roland Hall /* This information is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. */ Technet Script Center - http://www.microsoft.com/technet/scriptcenter/ WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp MSDN Library - http://msdn.microsoft.com/library/default.asp
- Next message: Eranga Udesh: "Howto get the current file path with SSI"
- Previous message: Aaron Bertrand [MVP]: "Re: Incorrect RecordCount"
- In reply to: Jim Bowman: "ASP & Databases"
- Next in thread: McKirahan: "Re: ASP & Databases"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|