The Database File Or Object Is Read Only
Actually, I do not know why i can not add records to my access database table by using asp code, I get an error that tells me that the database file or object is read only file even though the file is not readable only from its proprties, I need some helpful information to solve this problem.
View Replies
ADVERTISEMENT
I had made a form name 'dform.html' which asks idno, name and phone from the user and after the user clicks on button "save data" sdata.asp is executed. sdata.asp is written to save the values entered for idno,name and phone in dform.html into table "myfriends" in the mydata.mdb (access database). but when i am clicking on save data button i am getting error saying
"Error Type:
Microsoft JET Database Engine (0x80040E09)
Cannot update. Database or object is read-only.
/SDATA.ASP, line 9"
can please anyone tell me why i am getting this error.
View Replies
View Related
Error Type:
Microsoft JET Database Engine (0x80040E21)
Cannot update. Database or object is read-only.
/q_maker/aero_admin/delete.asp, line 12
what is wrong! i checked the db and its not readonly.
View Replies
View Related
I have code that loops through a directory reading files..
now the problem is that files are constantly being uploaded and I only want the file system object to read those that are finished being uploaded.
How can I check the properties of the file to see if it's in middle of being written before i read the file?
View Replies
View Related
My database is working perfectly and I am still getting the following error:
Microsoft JET Database Engineerror '80040e09'
Cannot update. Database or object is read-only. /raven/aspBoardFunctions.asp, line 144
I called my new webspace provider and they said you should be able to change permissions with my ftp program. I looked and viewing permissions is the only thing I find. Any suggestions? Code:
View Replies
View Related
I have an asp app that connects to an Access database. It works properly at my work on XP with IIS5.1 running.
I zipped up the asp pages and the Access database and emailed it to my home, which is XP and runs IIS5.1. When I recreate my work environmnet at home and try to update the database I get the following error when the code hits my AddNew method.
Microsoft JET Database Engine (0x80040E09)
Cannot update. Database or object is read-only.
I've tried going into Access/Security/Tools/User and Group Permissions and setting all the tables to be able to update. I've even created new ODBC drivers, but neither has worked. The database is not set to read-only.
View Replies
View Related
I am trying to add a record to a database. I keep on getting the error message:
Error Type:
Microsoft JET Database Engine (0x80040E09)
Cannot update. Database or object is read-only.
/client_add_db.asp, line 31
Line 31 is rst.AddNew
I have checked the attributes in the folder - it is not set to read only. For some reason the folder that the DB is in will not let me make the folder NOT read only - I have even tried the attrib command as recommended by ms in the cmd but that will still not change the dir to not be read-only although that did make the db not read-only.
View Replies
View Related
Everytime I try to use the rs.update command I get this:
Microsoft JET Database Engine error '80040e09'
Cannot update. Database or object is read-only.
View Replies
View Related
I was on here recently about error 500 messages (which I managed to sort by replacing the forum).However I am still getting error 500 messages with two sites. Both are trying to update information in the database. It displays info correctly, just doesn';t update. But everything is ok afaik and it works fine on my pws.
The errors are as follows (from different pages):
error type 1
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
error type 2
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or object is read-only.
View Replies
View Related
[Microsoft][ODBC Microsoft Access Driver] Cannot update. Database or object is read-only.
I keep getting this error message when im adding a new record to my database.
Here is my code: ....
View Replies
View Related
i'm converting an image file to hexa..then the hexa is saved to a text file..
can any one help me how to read the content text of a text file?...
im doing it this way because i don't want to save hexa in my database, because it makes the database slower to open up.
View Replies
View Related
i recently just uploaded an access database only to find that it has read only persmission, so any adding, updating, deleting etc.. doesn't work anymore. the file became read only when i uploaded it. How do i change the read/write access to this file online?
View Replies
View Related
Im just not sure how to go about it because im new to asp. I want to write an ASP script that will read a money amount from an SQL database and when money is taken through a payment it will change the value in the database.
View Replies
View Related
i was getting error as follow while inserting record in database using objrs.AddNewstatement.
Microsoft JET Database Engine (0x80040E09)
Cannot update. Database or object is read-only.
i have setup a virtual directory. i tried the steps u suggested in both WWWroot folder and my Virtual directory .still i m getting the same error.
View Replies
View Related
I want to read an asp file as a text file. The problem is that the file that I want it to read is located on a server. For example: I want to read te content of this file: http://www.bnro.ro/Ro/Info/default.asp . I want to look after some values in that file.
View Replies
View Related
I need to be able to find a record by a unique code from a ms access database,take the value of the price field in that record,then store the value in a JavaScript variable.
These variables are being used for calculations.
So can I change the hard coded JavaScript code
e.g.
var price1=(229); // 229 being $229 the price for item1
to
var price1=(item1); // item1 = 229 - value read from database and stored in variable price1.
View Replies
View Related
I have an asp application in which, a page generates reports depending upon the id passed to it. For eg. printpage.asp?id=52 . Now I have a Print button on this page on clicking of which the contents of the page should be read and passed to the activex dll which I have prepared for printing the page.( I had to do this because the printer is installed on the server where the application resides and it should print on the server printer).
Now my question is how to read the asp file (say printpage.asp?id=52) contents in such a way that the fonts and formatting should remain the same, as that content will be printed on the server printer using Active X dll.
View Replies
View Related
how to read the contents of a PDF file from an ASP page? I am trying to create a search engine that displays PDF files and Docs as links in an ASP page once the search request is submitted.
View Replies
View Related
I am trying to read a file through classic ASP. The file is located on a file server, seperate from the webserver. This is the path I'm trying to read the file from
FILESERVERMYFOLDERmyfile.txt . How can I accomplish this task?
View Replies
View Related
I'm looking to display a 'phonebook' which will read the columns in a .csv or .txt file and display them in a sortable table by column. Here is what I have an excel file which has nearly 550 first, and last names, extensions, phone numbers, and office locations which I'd like to display on our companies intranet.
I'm looking for a way to show the table in a window with column headings that are clickable to sort by first, last and office name in an alphabetical fashion. Any direction to tutorials, free stuff or development here.
View Replies
View Related
how to connect to a mdb database and read from it. But how can i make a simple textarea that takes inout and writes it.
all i want is a textarea with submit so i can write to my database only with a couple of words i dont have any code so fare apart from read the data and connect.
View Replies
View Related
Trying to update 2 fields. my database is read only..
Microsoft JET Database Engine error '80040e09'
Cannot update. Database or object is read-only.
/sendd.asp, line 16
this is line 16: rsAddComments.AddNew
is this something to do with my server directory permissions?
code .....
View Replies
View Related
I have a database that was originally in Excel. After modifying it, I have saved it with .txt and another one with .csv format. DB.txt (Text (Tabl delimited)(*.txt)
DB.csv (Text Comma Separated Value) (*.csv). What is the command/statement in oppening database record for these formats?
View Replies
View Related
can any one help me to read the datas from the excel sheet and match it with the database.i will be thankful to you if u provide me a sample code.
View Replies
View Related
I need to be able to read a tab delimited text file with an asp page so that I can stuff the fields into a sql table.I really don't know how you can do that, I checked the books I have and have been running around the internet trying to find the answer when I found this site.I cannot use a bulk insert statement because I don't have that level of access to the sql server. and I was assured that "BCP is indeed a command-line only utility and cannot be launched from ASP. You could parse the text file with ASP and generate INSERT statements that you then execute against the database. Routines for parsing tab-delimited files can be had by searching for them on google quite easily." by the system administrator
View Replies
View Related
If ASP can read remote file like php does.I am trying to read this weather forecast page, and only output certain line from it.I only know how to read a local file using server.mapPath()
View Replies
View Related
I'm write an asp to include part of a text file into my asp output html, I use FileSystemObject to get the content of the text file, but the asp just hang when it runs, the source code is listed below if anyone could help: Code:
View Replies
View Related
How can I read a file from a website ?For example, I would like to read http://www.website.com/news.htm, can I do that ?
View Replies
View Related
I'm using ASP to generate an RTF (rich text) file, via the FSO. No problems with text, but when it comes to inserting images, the files have to be embedded as either binary or hex.
Try as I might, I can't get binary to work (Word b0rks trying to open the resulting file). When I create a simple RTF in Wordpad and then view its source, Wordpad seems to be embedding the image as hex. Does anyone have a suggestion as to how I could read an image file off the disk in hex format for writing into my RTF?
View Replies
View Related
I have a pdf file,in a directory c:inetpubwwwrootproject. i am using PDF component to read it. but I am getting error. Unable to read file.
View Replies
View Related
We have a page which we want to allow our users to download files. Can someone point to peice of code that we can use to force the download as opposed to opening the files in the browser.
Only one issue here the code need to work with UNC path like myserverfiles and not just c:inetpubwwwrootfiles. I did have a look on internet but all of the code seems to be using localpath names but none with UNC path name.
View Replies
View Related
I am unable to read a network file using ASP. I am using FileSytemObject to read the file.
View Replies
View Related
I tried to read a text file from my local com, but it keep on loading and loading, after tat, i'll need to restart my IIS... im sure tat the directory of the txt file is correct... The code is running very well in another com, is there any kind of permission/ something i missed?
View Replies
View Related