Groups | Blog | Home
all groups > dotnet odbc.net > august 2003 >

dotnet odbc.net : Imports Microsoft.Data.Odbc in VB codebehind


Arv Sepetys
8/9/2003 7:44:27 PM
After reinstalling VisualStudio.Net I am getting the
following message when executing my web application:

BC30466: Namespace or type 'Odbc' for the
Imports 'Microsoft.Data.Odbc' cannot be found.

I have researched many articles and found reference
(Microsoft knowledge base #Q318917) to an ODBC.Net bug
which can be worked around by adding a compile directive,
but this seems to apply only to the in-line vb code. How
can this problem be avoided when using codebehind vb?

Any idea why this would have worked before the reinstall
and not now?

Thanks!
Dan Greenberg
8/10/2003 7:16:06 AM
Hi -

Did you try to reinstall the Microsoft.Data.Odbc as well. Look for the
file named odbc_net.MSI and just click on it. After reinstalling it - drop
the reference and re add it in your project. I think that might work. Hope
this helps.

Dan Greenberg
Freedom of Information, Inc.

[quoted text, click to view]

AddThis Social Bookmark Button