User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP section within the Web Development category of DaniWeb, a massive community of 375,238 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,215 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP advertiser: Lunarpages ASP Web Hosting
Views: 1694 | Replies: 3 | Solved
Reply
Join Date: Oct 2006
Location: South Africa
Posts: 13
Reputation: Goitse is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
Goitse Goitse is offline Offline
Newbie Poster

Help ASP To Access

  #1  
Feb 5th, 2007
Hi Guys

I am a beginner in ASP and Access and need some help.
I have a database and an ASP page that I need to connect together.
The only problem is that I get an error message saying- Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
Driver's SQLSetConnectAttr failed ERROR

If someone has any solution, please help me as soon as possible.
Thanks
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2005
Location: Dallas, TX
Posts: 481
Reputation: campkev is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 19
campkev campkev is offline Offline
Posting Pro in Training

Re: ASP To Access

  #2  
Feb 5th, 2007
post your code that is giving this error
Reply With Quote  
Join Date: Feb 2007
Posts: 12
Reputation: jenny4u is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
jenny4u jenny4u is offline Offline
Newbie Poster

Re: ASP To Access

  #3  
Feb 20th, 2007
Put the database in access_db folder on your server
make sure your server support access and asp
Reply With Quote  
Join Date: Feb 2008
Posts: 41
Reputation: zanzo is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
zanzo zanzo is offline Offline
Light Poster

Re: ASP To Access

  #4  
Mar 17th, 2008
helllo,
I do have a problem with access...

this is my code:
<%

var connection= new ActiveXObject("ADODB.Connection");
connection.Provider="Microsoft.Jet.OLEDB.4.0";
connection.ConnectionString = "Data Source=" +Server.MapPath("/database/Training11.mdb");
connection.Open;

var SQL = "INSERT INTO User (FirstName, MiddleName, LastName) VALUES ('lolo', 'keymo', 'rub')";

connection.Execute(SQL);
connection.Close();

%>

And i do get this error message:

Microsoft JET Database Engine error '80040e14'

Syntax error in INSERT INTO statement.

/testy.asp, line 16

so how could i solve this problem??
do i have some problem in the insert query??
help!!
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb ASP Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the ASP Forum

All times are GMT -4. The time now is 4:29 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC