Theme
|
|
|
|
Search
|
|
|
|
Poll Booth |
| Do you prefer Portals over Regular Web Pages?
|
|
2eZ ASP Portal |

|
|
|
|
| Schools
in Sarasota County |
|
|
|
| K-12
Public Schools | PK-12 Private Schools | Sarasota Colleges |
Florida Colleges and Universities | Sarasota Schools |
|
What does "Operation must use an updateable query" mean?, and how do I fix it?
This error is typically encountered when your ASP script attempts to perform an UPDATE or some other action
that alters the information in the database. This error occurs because ADO is unable to write to the
database for one of the following reasons:
The most common reason is that the Internet Guest account (IUSR_MACHINE) does not have Write permissions
on the database file (.mdb). To fix this problem, use the Security tab in Explorer to adjust the properties
for this file so that the Internet Guest account has the correct permissions.
NOTE: When using Microsoft Access databases with ADO, it is also necessary to give the
Internet Guest account Write permissions on the directory containing the .mdb file.
This is because Jet creates an .ldb file to handle database locking.
If you get this error and your site is hosted by someone else like an ISP ask them to set the permissions or
you can fix it yourself in some situations. First try to find a CGI-BIN directory and place the dbase folder in their.
ISP's normally give the CGI-BIN folder read/write access rights and you can use these so that
your database is able to write.
So how do you setup your ADO conenction string to work in the CGI-BIN folder?
Open settings/setting.asp and admin/inc.asp and change
dnsname= "Data Source=" & Server.Mappath("dbase/portal.mdb") & ";Provider=Microsoft.Jet.OLEDB.4.0;"
to
dnsname= "Data Source=" & Server.Mappath("/cgi-bin/dbase/portal.mdb") & ";Provider=Microsoft.Jet.OLEDB.4.0;"
I get a server.execute not supported when running ASP Portal?
You version of IIS is less than version 5. The latest version of ASP Portal was rewritten to work on IIS 5.
Disallowed Parent Path
If you run your own server do the following or ask your host to.
- Open the Internet Services Manager in the Microsoft Management Console (MMC).
- Right-click on your Default Web Site and select Properties.
- Click the Home Directory tab.
- Click the Configuration button.
- Click the App Options tab.
- Click to select the Enable Parent Paths checkbox.
- Click the OK button until you return to the MMC.
If your host wont do so the you need to edit all your ASP files. The easiest way to do this is to:-
- Download and install notetab from notetab.com.
- Right click on the start button and select Search.
- Search for all *.asp files in the portal directory.
- Select all the fies and drag them onto your Notetab desktop icon. (This will open all the asp files)
- In Noteab, select Search and select Replace.
- Change Scope to All Documents.
- Enter include file ="../ in the Find What field.
- In the Replace With box Enter virtual = "/portal/ (this assumes you have put the protal into a directory called portal)
- Select File and Save All and the close notebab. Refresh your browser.
© 2008 15web.com
Private and Public Schools
|
|
|