?
pls explain.
i do not use VBA, i do not even have any VBA code.
and
pls if possible to address both Q's above.
thanks
Main Topics
Browse All Topics1.
I have simple ASP program done using D.Weaver MX2004, to do simple insert,
but i keep getting this error:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.
this is using XP,
i have very similar prog at work using win2000, working ok!
2.
when i try to run aprogram like the above from D.Weaver, Review in Browser, after doing some editing with recordset, for example.
i will get this error:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Could not use '(unknown)'; file already in use.
it is true because when i go to where my DBase is , i will see *.LDB as well as the *.MDB.
my question is:
why don't i get the same problem, error msg, when using the same at work under win2000.
is there any way around this?
is it cause of the XP?
thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
VBA isn't necessary to ger references, when you did experiment e.g. with a form and an ActiveX control Access will add a reference for you, even after deleting the form entirely.
Thus I would start with removing any references (when present) till the last two that are mandatory.
Normally a database working on one PC and failing on another has to do with these references so that's why I posted this to start with.
Nic;o)
ok,
i will try it after work,
could u pls address my 1st Q:(
1.
I have simple ASP program done using D.Weaver MX2004, to do simple insert,
but i keep getting this error:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.
this is using XP,
i have very similar prog at work using win2000, working ok!)
Regards
Would have to look at the SQL, but when it's working on one PC, then the SQL should be OK.
So then I start thinking in environmental differences. The Libraries references are the most common cause of trouble.
Now we need to check the other things, like the autorizations. You need to have read/write access to the folder where the database is located, is that the case ?
Nic;o)
Nic,
i have set the authorization for that DBase as allow all.
but, i do not think i did it for the folder containing it!
i will have to check.
pls note that it is two diff environment, window 2000 at work,
XP with SP2 at homw where I'm having the problem.
also, record set connection is being updated to suit the XP/home pc env.
thanks
did not find any libraryname starting with "MISSING".
but i did set the authorization the folder containing the DBASE!
though i have the *.LDB, when opening the asp file in D.Weaver MX 2004, but does not seem to complain
about the DB being open,...
now,
still getting this error.
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.
Entry.asp, line 78
when trying to insert RS.
some of the code:
var MM_editCmd = Server.CreateObject('ADODB
MM_editCmd.ActiveConnectio
MM_editCmd.CommandText = MM_editQuery;
this is line 78: MM_editCmd.Execute();
MM_editCmd.ActiveConnectio
if (MM_editRedirectUrl) {
Response.Redirect(MM_editR
thanks
Business Accounts
Answer for Membership
by: nico5038Posted on 2005-02-21 at 09:40:12ID: 13364827
Check the references on the "XP machine".
Open some VBA code (e.g. by pressing [CTRL+G]) and select Tools/References.
Each libraryname starting with "MISSING" must be unchecked and (e.g. microsoft DAO version x.xx) replaced when necessary.
As access doesn't cleanup added libraries, often unnecessary refenreces are present.
Just delete as many as possible without getting an error executing "Debug/compile all modules"
Nic;o)