G
Guest
Hi There. Seriously stuck and need help! I am trying to access Access 2000 database using ASP.NET(VB) and I am getting a "Could not find installable ISAM" crap. There are quite a few resources dedicated to solving this problem but none work (spent 6 hours on google trying everything suggested). The code I am using is very simple but does not work because if the ISAM rubbish!!! If anybody came across this problem and managed to solve it, please, please get in touch ([email protected]). I reinstalled Office, reinstalled JET, reinstalled ODBC.NET and NOTHING!!!!!!!!!!!!!!!!!
The code I am using is below
**********************
Private Const DataPath As String = "database/DB.mdb
Public ReadOnly OleDbConnectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0;UserID=Admin;Pwd="""";" & "DataSource=" & DataPat
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Loa
adrAdverts.AdvertisementFile = "adverts.xml
If IsPostBack The
adrAdverts.AdvertisementFile = "adverts.xml
End I
Connect(
End Su
Private Sub Connect(
Tr
Dim cnn As New OleDbConnection(OleDbConnectionString
cnn.Open(
If cnn.State.Open The
lblError.Text = ("Open"
Els
lblError.Text = ("failed to open"
End I
Catch ex As Exceptio
lblError.Text = ex.ToStrin
End Tr
End Su
The code I am using is below
**********************
Private Const DataPath As String = "database/DB.mdb
Public ReadOnly OleDbConnectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0;UserID=Admin;Pwd="""";" & "DataSource=" & DataPat
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Loa
adrAdverts.AdvertisementFile = "adverts.xml
If IsPostBack The
adrAdverts.AdvertisementFile = "adverts.xml
End I
Connect(
End Su
Private Sub Connect(
Tr
Dim cnn As New OleDbConnection(OleDbConnectionString
cnn.Open(
If cnn.State.Open The
lblError.Text = ("Open"
Els
lblError.Text = ("failed to open"
End I
Catch ex As Exceptio
lblError.Text = ex.ToStrin
End Tr
End Su