NCS Logo - Click for home page Northstar Developer Center
Platforms
All Platforms
.NET Framework (1.x - 4.x)
Active Server Pages
ASP.NET
C#
SQL Server
VB.NET
Visual Basic

Keywords
.NET Data Types
.NET E-mail
.NET Events
.NET Functions
.NET Object Programming
.NET System.Configuration
.NET System.Diagnostics
.NET System.IO
.NET System.Net
.NET System.Net.Sockets
Active Data Objects
ASP Architecture
ASP Black Belt
ASP Built-in Functions
ASP Built-in Objects
ASP Debugging
ASP Performance
ASP Security
ASP Syntax
ASP.NET Authentication
ASP.NET Controls
ASP.NET Data Access
ASP.NET Features
ASP.NET Master Pages
ASP.NET Page Events
ASP.NET Security
ASP.NET ViewState
Atom
Certifications
COM, DCOM, COM+
Data Access
E-Mail
Errors
Exporting Data
HTML Tips
IIS
Object-Oriented Programming
RSS
SQL
Uncategorized ASP Tips
VB API Programming
VB Forms
VB Syntax
XML

Book Support
Visual Basic 6 Bible
ASP Bible
ASP Weekend Crash Course
ASP.NET At Work
Creating Web Services

Optional Feature Not Implemented

Written by Eric Smith, Northstar Computer Systems LLC

A user recently sent me this error message (without a lot of extra explanation, mind you) and was trying to figure out why his input/output parameters weren't working with his stored procedures:

Microsoft OLE DB Provider for ODBC Drivers (0x80040E21) [Microsoft][ODBC SQL Server Driver]Optional feature not implemented

Without knowing the rest of the story, I see a couple of problems:

1) The user is using ODBC to connect to his SQL Server database. This is not required under ADO and can be bypassed with a DSN-less connection (covered numerous times at ASPTechniques.com).

2) The driver he is using for ODBC does not support input/output parameters (or something else related to the transaction.

The solution I would try first, if possible, is to try connecting directly to SQL Server via OLE DB instead of ODBC. That would probably clear up the problem immediately, since the OLE DB provider supports a much richer set of functions for SQL Server.

Keywords: [ Active Data Objects ]

Publication Date: 9/1/2000