Grrr. ADO & OLEDB
I have run in to a very frustrating error.
I get this error:
Microsoft JET Database Engine error '80040e24'
Rowset does not support fetching backward.
Now I know it must be a cursor but I have tried every cursor under the sun but to no avail.
Just a few notes. The line that gives the error is
[VBS]oRS.MoveLast[/VBS]
I am using the JET.4.0 Driver to open the database.
Anyone ever run in to this problem? I have used this sort of script 100's of times with absalutly no side effects...until now Strange thing is the recordset doesn't support Bookmarks either (second )
View Replies
Have it working as an href link from a button, but cannot get it working as an error condition like:
if on.error then
something = "javascript:parent......."
end if
Is this due to server side parsing of asp ?
View Replies
View Related
I'm given the oledb string, I would like to connect to ms sql server database through the ASP server programming language, if any one will walk me through this it will be much appreciated also how to query the database once connected?
View Replies
View Related
I was trying to setup IIS, ASP and MSDE 2000 Rel A on a machine yesterday and my usual SQL server OLEDB dsn-less connection string would not work on this machine. I know it's down to this, as I used a tool called QTADO to setup dummy data in the db and I had to use an ODBC dsn-less connection to connect to the db. I couldn't use the program's default OLE DB method.
The machine was WinXP Pro SP2 (might have been SP1), but I thought the OLE DB thingy came as standard on this OS. I didn't have chance to try the standard SQL ODBC connection string, will do this on Wed, but I'm sure it will work. Any ideas why the OLE DB wouldn't? Just kept getting General Network error on Connection (read).
View Replies
View Related
I've managed to run procedures with an output parameter, but a return value
from a function is sufficiently different to stump me. Code:
View Replies
View Related
When I connect to a MS Access 2000 db with no password using a OLEDB string is no problem but if the db is protected by password I get this message:
"Cannot start your application. The workgroup information file is missing or opened exclusively by another user."
The string used is this:
"Provider=Microsoft.Jet.OLEDB.4.0; Password=xxxxx; Data Source=" & Server.MapPath("xxxxx")
Does anybody have a clue?
View Replies
View Related
I have a OLEDB Connection String that is working very well for me. My
question is that I read that you can store the Connection String in a
seperate include file or somewhere else. I am just wondering where is
the proper place to store this Connection String and how do I call it
from my application. Code:
View Replies
View Related
Is it possible to use data shaping in asp using Microsoft.Jet.OLEDB.4.0?
I tried it, but it returns an error saying that I must only use Insert,update,select,etc.. sentences only....
View Replies
View Related
Anybody know how to do a SQL Update in asp.net using the OleDbCommand Parameter. that has a parameter that is to be NULLED?
sqlCommand.Parameters.Add("@date", ????);
is what i need to do the update w/ a null specifically i am updating Nulls to a date field in my DB.
View Replies
View Related