B
Ben
Hi,
I made two rootapplications with VWD under IIS 5.
I installed ODBC.net connector from Microsoft and Myodbc 3.51 from Mysql.
The same files (test.aspx and test.aspx.vb) has been copied in both
rootapplications.
In the first rootapplication, it works.
In the other, i get:
"Type 'Microsoft.Data.Odbc.OdbcConnection' is not defined."
The code:
(in test.aspx):
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="mysqlodbc.aspx.vb"
Inherits="mysqlodbc" %>
<%@ import namespace="System.Data"%>
<%@ import namespace="Microsoft.Data.Odbc"%>
.....
(in test.aspx.vb)
Partial Class mysqlodbc
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Load
Dim oConnection As Microsoft.Data.Odbc.OdbcConnection
....
I would understand that none would work, but one yes and the other no ....??
Thanks for any hint
Ben
I made two rootapplications with VWD under IIS 5.
I installed ODBC.net connector from Microsoft and Myodbc 3.51 from Mysql.
The same files (test.aspx and test.aspx.vb) has been copied in both
rootapplications.
In the first rootapplication, it works.
In the other, i get:
"Type 'Microsoft.Data.Odbc.OdbcConnection' is not defined."
The code:
(in test.aspx):
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="mysqlodbc.aspx.vb"
Inherits="mysqlodbc" %>
<%@ import namespace="System.Data"%>
<%@ import namespace="Microsoft.Data.Odbc"%>
.....
(in test.aspx.vb)
Partial Class mysqlodbc
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Load
Dim oConnection As Microsoft.Data.Odbc.OdbcConnection
....
I would understand that none would work, but one yes and the other no ....??
Thanks for any hint
Ben