There are three common problems that can cause the Novell ODBC Driver for eDirectory to fail in producing the report you requested.
Some reports generate so much data that the workstation runs out of memory or disk space. An eDirectory Data Source can contain thousands and millions of objects, depending on the eDirectory versions that are running in the tree. If you are getting "out of resource" types of errors, restrict your query to select fewer items:
Select fewer attributes or specify the attributes rather than using a wildcard to include all attributes.
Examine the attributes you select to ensure that only a few of them are multi-valued.
Restrict the number of objects selected by specifying only one container.
For more information on how eDirectory attributes and objects can cause a report to become extremely large, see:
You must have eDirectory rights to the data you request in your report. If you do not have at least Browse rights to the objects and Read rights to the attributes, your report contains NULL in all the columns. You can use the Effective Rights Table to generate a report that indicates your rights to the objects and attributes for which you are interested in generating a report.
You must use the correct table and column names in SQL statements.
If the table or column name has a space, the name must be enclosed in double quotes.
If the attribute uses a syntax that creates multiple columns in the table, the column name for the attribute includes a field specifier.
For information on how attributes are split into multiple columns, see Section 3.3, Composite Attributes.
For information on how to discover the tables and columns available in your eDirectory tree, see Possible eDirectory Tables and Columns.
Many Microsoft* tools use the Jet Engine for ODBC access. Because Jet limits the number of columns to 255 you may not have access to all the columns you need. The following are workarounds for this limitation:
Create a User-defined table to access the columns you need.
Select ODBC options instead of Jet, if available. For example the ‘defaultType' property of Visual Basic data access objects can be switched from ‘useJet' to ‘useODBC'.
You might get this error if the Jet is parsing the query incorrectly. To resolve this, use the dbOpenSnapshot and dbSQLPassThrough flags with the OpenRecordset() or any equivalent function. For more information, see the sample code for Browse under vb.
To avoid this timeout problem, set the QueryTimeout value to 0 as follows:
Dim conODBCDirect As DAO.Connection conODBCDirect.QueryTimeout = 0