473,406 Members | 2,713 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,406 software developers and data experts.

error searching Active Directory using OleDB - DB_E_NOTABLE(0x80040E37)

Hi I am trying to search activeDirectory through OLEDB and I am getting the
exception like this DB_E_NOTABLE(0x80040E37) at OleDbDataAdapter.Fill
method.

My code look like this.

OleDbConnection activeConn = new OleDbConnection("Provider=ADSDSOObject");
string cmdString = "SELECT * FROM 'LDAP://DC=domain name, DC=COM' WHERE
objectClass='OU'"; OleDbDataAdapter custDA = new OleDbDataAdapter(); DataSet
dataset = new DataSet(); custDA.SelectCommand = new OleDbCommand(cmdString,
activeConn); try { custDA.Fill(dataset, "OU"); } catch(Exception e) {
Console.WriteLine("Exception while filling the dataset: "+e); }

Can anybody see anything wrong here? Thanks
Jul 21 '05 #1
0 3700

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: MyATiX | last post by:
Can someone please tell me why I keep getting the following error? I think it is part of the connection but can't pin down the exact error. I would be grateful if someone might have any ideas. ...
4
by: gonzal | last post by:
Hi Dose any body know why a temporary table gets deleted after querying it the first time (using SELECT INTO)? When I run the code bellow I'm getting an error message when open the temp table...
0
by: Mario Rodriguez | last post by:
Hi People, I'm try to access an Active Directory using both DirectoryEntry and DirectorySearcher (.NET DirectoryServices) and OLEDB Active Directory, in all cases I'm receiving this error: No...
0
by: Mario Rodriguez | last post by:
Hi I am trying to search activeDirectory through OLEDB and I am getting the exception like this DB_E_NOTABLE(0x80040E37) at OleDbDataAdapter.Fill method. My code look like this. ...
2
by: Rasta | last post by:
Hi, I've created a new table in a SQL Server db called 'LGBProdDetails' and I keep getting an error from my asp page that queries the table The error is: Category=Microsoft OLE DB Provider for...
2
by: sha407 | last post by:
i am using 2000 server when i connect the followig table i get error Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80040E37) Invalid object name 'tbInfo'. /h1b/webmin/signIn.asp,...
2
by: Terry On Windigo | last post by:
I must have forgotten someting. I did something like this about 4 years ago and got it to work. Now I need to do it again and I get this error message: Technical Information (for support...
0
by: Leon | last post by:
I keep geting this error in the IE when trying to run the scrept below from an ASP page. Can any one help please. Error Type: Provider (0x80040E37) Table does not exist. /gal.asp, line 43
1
by: Anthony97 | last post by:
I'm trying to run a package in integration services and I'm getting the following errors: Error: An OLE DB error has occurred. Error Code: 0x80040E37 Error:"component "OLE DB Destination""...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
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.