Re: ASP & Databases
From: McKirahan (News_at_McKirahan.com)
Date: 04/05/04
- Next message: Bob Barrows: "Re: ADO Field Order"
- Previous message: [MSFT]: "Re: Error: Cannot create new connection because in manual or distributed transaction mode"
- In reply to: Jim Bowman: "ASP & Databases"
- Next in thread: krunom: "Re: ASP & Databases"
- Reply: krunom: "Re: ASP & Databases"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 05 Apr 2004 11:09:50 GMT
"Jim Bowman" <anonymous@discussions.microsoft.com> 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.
>
> Any suggestions?
>
> Thanks.
>
> Jim
This worked for me:
1) Open Control Panel then click Folder Options then scroll to the
bottom and turn off "Simple File Sharing"
2) Open Windows Explorer, right-click on the database's folder, click
Properties, click on the (now revealed) Security tab then select Everyone
then click the "Write" checkbox the click "Apply".
- Next message: Bob Barrows: "Re: ADO Field Order"
- Previous message: [MSFT]: "Re: Error: Cannot create new connection because in manual or distributed transaction mode"
- In reply to: Jim Bowman: "ASP & Databases"
- Next in thread: krunom: "Re: ASP & Databases"
- Reply: krunom: "Re: ASP & Databases"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|