473,404 Members | 2,114 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

How to resolve ADODB.Command (0x800A0E7A) error

I have this very confounding connections problem that I hope someone can help me with.

I've created an ASP page (pic.asp). On this page I used the Record Insertion Form Wizard to insert a Data Object on this page, which contains a number of controls in an Access 2007 database table.

Once created, I filled in sample data in a few text fields and tested whether or not I could insert a record, but I keep getting a 'This page cannot be displayed' error in my browser (IE7.0) as follows:

Error Type:
ADODB.Command (0x800A0E7A)
Provider cannot be found. It may not be properly installed.
/ez/pic.asp, line 31

Line 31 in my code reads:

MM_editCmd.ActiveConnection = MM_EZTrackingTool_STRING

I've tested the connection string to my database and it works fine, but I continuously get this error whenever I create a recordset.

I've just started using ASP via Dreamweaver. Any suggestions would be greatly appreciated.
Apr 8 '08 #1
2 14155
jeffstl
432 Expert 256MB
I have this very confounding connections problem that I hope someone can help me with.

I've created an ASP page (pic.asp). On this page I used the Record Insertion Form Wizard to insert a Data Object on this page, which contains a number of controls in an Access 2007 database table.

Once created, I filled in sample data in a few text fields and tested whether or not I could insert a record, but I keep getting a 'This page cannot be displayed' error in my browser (IE7.0) as follows:

Error Type:
ADODB.Command (0x800A0E7A)
Provider cannot be found. It may not be properly installed.
/ez/pic.asp, line 31

Line 31 in my code reads:

MM_editCmd.ActiveConnection = MM_EZTrackingTool_STRING

I've tested the connection string to my database and it works fine, but I continuously get this error whenever I create a recordset.

I've just started using ASP via Dreamweaver. Any suggestions would be greatly appreciated.
What provider do you have set to reference on your database connection?

Below is code I would use to connect to an Access database on a classic asp application on an IIS server.

The provider is the MS jet engine 4.0.

Expand|Select|Wrap|Line Numbers
  1. DBName = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & default_DB_Path & ";"
  2. Set default_DB_conn = Server.CreateObject("ADODB.Connection")
  3. default_DB_conn.Open DBName
  4.  
  5.  
Apr 9 '08 #2
That did the trick. I corrected my connection and everything worked fine. Thanks!
Apr 10 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Sandie Towers | last post by:
We use a number of similar databases and frequently create a new database using a backup restore of another similar database. We try to keep changes between databases in _Additional tables - like...
8
by: Drew | last post by:
This is a weird error, it seems if we reboot the web server, which is also the SQL server, I get this error, ADODB.Recordset (0x800A0E7A) Provider cannot be found. It may not be properly...
1
by: tina | last post by:
Hello, I would really appreciate some help. I am still learning VBA and I feel like my brain is fried already. Below I am trying to run a query and do a loop. I actually get the data set but...
0
by: Andre Azevedo | last post by:
Hi all ! I've created a .net serviced component with only one method. This method receive an ADODB.Command object and execute it. The ADODB.Command object is created in the client process. (VB...
2
by: Vinayaka B L | last post by:
Hi all, 'm using ADODB.Command object for interactig with database in my application. In the code i'm calling "Execute" method to insert a new row into the database. After writing data into the...
8
by: Ben | last post by:
Hi! I already sent this to the ACCESS newsgroup. But since I do not know really which side is really causing the problem, I have decided to send this inquiry to this newsgroup also, if I may....
1
by: dave.j.thornton | last post by:
I'm attempting to create a new table, and populate it using the fields from two existing tables. The code is printed below. I get the error: "Run-time error '-2147217900 (80040e14)': Syntax error...
1
by: DragonFields | last post by:
I'm hoping someone can help me. I keep receiving the ADODB.Command error '800a0cc1' error (Item cannot be found in the collection corresponding to the requested name or ordinal.) I found a couple...
1
by: mikegolden | last post by:
An application I'm working on makes extensive use of output parameters and return values, thus forcing me to use the ADODB Command object to execute the stored procs. For recordset returning stored...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.