|
-
Apr 22nd, 2002, 12:54 AM
#1
Thread Starter
Member
ODBC .Net Data Provider question
Hi
I've installed ODBC .Net Data Provider and MDAC 2.7 on my web server, but why does it always give error when I use the System.Data.ODBC namespace?
The import part of my code is as follows:
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.Odbc" %>
<%@ Assembly Name = "System.Data.Odbc" %>
The error is:
Parser Error Message: File or assembly name System.Data.Odbc, or one of its dependencies, was not found.
The server:
Windows2000, SQL server 7
I've tried changing System.Data.Odbc to Microsoft.Data.Odbc (since that's what I saw on some sites), but the result is the same. Can someone tell me what I've been missing out?
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|