Cannot update. Database or object is read-only.
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or object is read-only.
This is the most common error that I'm asked about. This error usually happens when you try to insert data into or update data in an Access database. It means that you don't have sufficient permissions to write to the database.
If you are running the web server yourself then read the FAQ, Checking and Setting up the Correct Permissions on the Server.
If you are not running the server yourself you will need to contact your web space provider and ask them how to sort the problem out. You may need to use a special folder or they may have to setup a system DSN for you or change the permissions on the directory containing the database.
Operation must use an updateable query
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
This error usually happens when you try to insert data into or update data in an Access database. It means that you don't have sufficient permissions to write to the database.
If you are running the web server yourself then read the FAQ, Checking and Setting up the Correct Permissions on the Server.
If you are not running the server yourself you will need to contact your web space provider and ask them how to sort the problem out. You may need to use a special folder or they may have to setup a system DSN for you or change the permissions on the directory containing the database.
General error Unable to open registry key
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x6cc Thread 0x78c DBC 0x144cfc4 Jet'.
This error can happen for a number of reasons the main reason being if the path to the database is incorrect.
You need to check that the path to the database is correct (You must use the physical path on the server to the database and not a virtual path).
The error is also quite common if the permissions on the server are incorrect. Check that IIS has sufficient permissions to access the registry and that the correct permissions, read and write, are set on the directory containing the database and the database itself, for the IUSR account.
Could not find file
Microsoft JET Database Engine (0x80004005)
Could not find file 'C:\Inetpub\wwwroot\databaseName.mdb'.
This error is more or less what it says, the database file can not be found. This usually occurs if the path to the database is incorrect.
You need to check that the path to the database is correct (You must use the physical path on the server to the database and not a virtual path).
Could not use '(unknown)'; file already in use
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Could not use '(unknown)'; file already in use.
This is a bit of an odd error that I have never received myself but have been asked about on number of occasions. It usually means that either incorrect permissions are set on the server or the incorrect version of MDAC (Microsoft Data Access Components installed on the server or the version is not correctly installed). You need to ensure the ODBC version you have is 4 or greater.
If you are running the web server yourself then read the FAQ, Checking and Setting up the Correct Permissions on the Server and the FAQ on, Checking you have the correct ODBC Access Database Drivers.
If you are not running the server yourself you will need to contact your web space provider and ask them how to sort the problem out.
Another reason for this error is that you have the database already open in MS Access or another program, if this is the case shut down the other program you have the Access database open in.
Table 'tblTable' is exclusively locked by user 'Admin' on machine 'MyMachine'
Microsoft JET Database Engine error '80004005'
Table 'tblTable' is exclusively locked by user 'Admin' on machine 'MyMachine'.
This error means that you are either unable to open the table or that you already have the table open in 'Design View' in Microsoft Access. Close Access and try again.
Too few parameters. Expected 1
Microsoft OLE DB Provider for ODBC Drivers (0x80040E10)
[Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
This error occurs only with Microsoft Access when one of the field names used in a select statement does not exist in the table being queried.
Check that your SQL query is correct and that you have not misspelled any of the field names in your select statement and that the field name exists in the table being queried.
Either BOF or EOF is True, or the current record has been deleted
ADODB.Recordset (0x800A0BCD)
Either BOF or EOF is True, or the current record has been deleted.
Requested operation requires a current record.
This is a recordset error. It means that you have tried to read into a variable or display in a web page a record from the recordset that has either been deleted or does not exist.
The most common occurrence of this error is if you have run a database query that has not returned any records and you have then tried to read in a record from the recordset that contains no data.
You need to first check that there is a record in the recordset before reading it in (eg. 'If NOT rsRecordSet.EOF Then').
Item cannot be found in the collection corresponding to the requested name or ordinal
ADODB.Recordset (0x800A0CC1)
Item cannot be found in the collection corresponding to the requested name or ordinal.
This like the error above is a recordset error. You have tried requesting a field from the recordset that does not exist.
Check when you are reading in the field from the recordset into a variable or to display in a web page that you have spelt the field name correctly and that the field exists in the database.
The search key was not found in any record.
Microsoft JET Database Engine (0x80004005)
The search key was not found in any record.
This error often means that the database has become corrupted.
The solution to this is to repair the database. If the database is on a remote server download the database and follow the instructions below to repair the database.
Access 2000, XP, and 2003 Compact and Repair Database
Open the database in Microsoft Access, click on the 'Tools' menu and select 'Database Utilities -> Compact and Repair Database'.
Access 2007 Compact and Repair Database
Open the database in Microsoft Access, click on the 'Office Button' in the top left corner then select 'Manage -> Compact and Repair Database'.
Friday, August 1, 2008
Active Server Pages (ASP) Access Database Errors
Posted by articles at 4:35 PM 0 comments
ASP Application/Script won't run!
This seems to be the most common problem that people have.
ASP need's to be run through a web server, hence the name Active Server Pages, no Server, no Active Pages. If you are not familiar with ASP please read through the article on, What is Active Server Pages (ASP)?
If you are finding that you can't get an ASP script to run on your web space provided by your web space provider then check with them that they fully support ASP.
ASP is completely different to CGI and Pearl, so having support for CGI does not mean that you have support on your web space for ASP.
How can I tell if my web space supports ASP?
To be able to tell if your web space provider supports ASP, the easiest way is to look at any FAQ or support pages that your hosting provider may have, or contact them by email or phone and ask them.
ASP and Database Issues
The other biggest problem that seems to occur is if the script uses a database and is not running correctly or not at all. If the script is using a database then please look at the, ASP application uses an Access database and has an error , Knowledegbase Article.
The page cannot be displayed. HTTP 500 - Internal server error
If you are receiving this generic error message when trying to run an ASP page please see our knowldegsebase article HTTP 500 - Internal Server Error.
Posted by articles at 4:19 PM 0 comments
What Are Active Server Pages (ASP)?
Active Server Pages or ASP, as it is more commonly known, is a technology that enables you to make dynamic and interactive web pages.
ASP uses server-side scripting to dynamically produce web pages that are not affected by the type of browser the web site visitor is using.
The default scripting language used for writing ASP is VBScript, although you can use other scripting languages like JScript (Microsoft's version of JavaScript).
ASP pages have the extension .asp instead of .htm, when a page with the extension .asp is requested by a browser the web server knows to interpret any ASP contained within the web page before sending the HTML produced to the browser. This way all the ASP is run on the web server and no ASP will ever be passed to the web browser.
Any web pages containing ASP cannot be run by just simply opening the page in a web browser. The page must be requested through a web server that supports ASP, this is why ASP stands for Active Server Pages, no server, no active pages.
As ASP was first introduced by Microsoft on it's web server, Internet Information Services (IIS), that runs on Windows 2000/XP Pro/NT4, it is this web server that ASP pages usually run best on.
For those of you running Windows and wish to play around with ASP on your own system you will need to install Microsoft's Internet Information Services (IIS). Lucky IIS or its micro version Personal Web Server (PWS) comes free with Windows.
For Windows users you can find Internet Information Services (IIS) or Personal Web Server (PWS) in the following places: -
* Windows XP Pro/2003/2000 - IIS can be found in 'Add/Remove Programs' in the 'Control Panel'.
* Windows 98 - PWS can be found under 'add-ons' on the Windows 98 CD.
* Windows NT4/95 - You can get hold of IIS by downloading the NT4 Option Pack from Microsoft (don't be fooled by the name as it also runs on Windows 95).
* Windows ME - IIS and PWS are not supported on this operating system.
* Windows XP Home Edition - IIS and PWS are not supported on this operating system.
For those of you running other operating systems or web servers Sun produce a product called Chili!Soft ASP which enables ASP to be used on other web servers including, Apache, I-Planet, Zeus, Red Hat Secure Server, etc, using various operating systems including, Linux, Solaris, HP-UX, AIX, etc. You can find out more information on Sun Chilli!Soft ASP or download a trial version from, http://www.chilisoft.com.
Please note: This page is a general tutorial on 'What is ASP?' and does not relate to any of the ASP based software that is available from this web site. For more information on the Free ASP Applications available please see our Products Section.
Posted by articles at 4:18 PM 0 comments
Wednesday, July 30, 2008
privacy policy
asp-ad.blogspot.com Privacy Statement
What follows is the Privacy Statement for all asp-ad.blogspot.com websites (a.k.a. blogs) including all the websites run under the asp-ad.blogspot.com domain.
Please read this statement regarding our blogs. If you have questions please ask us via our contact form.
Email Addresses
You may choose to add your email address to our contact list via the forms on our websites. We agree that we will never share you email with any third party and that we will remove your email at your request. We don’t currently send advertising via email, but in the future our email may contain advertisements and we may send dedicated email messages from our advertisers without revealing your email addresses to them. If you have any problem removing your email address please contact us via our contact form.
Ownership of Information
asp-ad.blogspot.com is the sole owner of any information collected on our websites.
Comments/Message Boards
asp-ad.blogspot.com websites contain comment sections (a.k.a. message boards). We do not actively monitor these comments and the information on them is for entertainment purposes only. If we are alerted to something we deem inappropriate in any way, we may delete it at our discretion. We use email validation on most of our message boards in order to reduce “comment spam.” These email addresses will not be shared with any third party.
Cookies
Currently we assign cookies to our readers in order to save their preferences. This data is not shared with any third party. Accessing our websites is not dependent on accepting cookies and all major browsers allow you to disable cookies if you wish.
Third Party Cookies
Many of our advertisers use cookies in order to determine the number of times you have seen an advertisement. This is done to limit the number times you are shown the same advertisement. asp-ad.blogspot.com does not have access to this data.
Traffic Reports
Our industry-standard traffic reporting records IP addresses, Internet service provider information, referrer strings, browser types and the date and time pages are loaded. We use this information in the aggregate only to provide traffic statistics to advertisers and to figure out which features and editorials are most popular.
Legal proceedings
We will make every effort to preserve user privacy but asp-ad.blogspot.com may need to disclose information when required by law.
Business Transitions
If asp-ad.blogspot.com is acquired by or merges with another firm, the assets of our websites, including personal information, will likely be transferred to the new firm.
Links
asp-ad.blogspot.com websites frequently link to other websites. We are not responsible for the content or business practices of these websites. When you leave our websites we encourage you to read the destination site’s privacy policy. This privacy statement applies solely to information collected by asp-ad.blogspot.com
Notification of Changes
When asp-ad.blogspot.com makes changes to this privacy policy we will post those changes here.
Contact Information
If you have any questions regarding our privacy policy, please contact us. halimyanuar@yahoo.comPosted by articles at 12:34 PM
