Solved

Could not find Installable ISAM - asp .net

Posted on 2004-04-27
5
945 Views
Last Modified: 2007-12-19
I am getting this error.  I looked at a previous question with an "answer" but it did not help. I've tried what the microsoft site says but that didn't work either.  I must be just coding something  wrong.  Hopefully you folks can figure it out.

<script language="VB" runat="server" >
      sub Page_Load(Sender as Object, e as EventArgs)
            
'this is one line
dim objConn as new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;
 & Data Source=c:\ASPNET\data\banking.mdb")
            
            
            dim objCmd as new OleDbDataAdapter("select * from tblUsers", objConn)
            
            
            dim ds as DataSet = new DataSet()
            objCmd.Fill(ds, "tblUsers")
            
            
            MyDataList.DataSource=ds.tables("tblUsers").DefaultView
            MyDataList.DataBind()
      end sub
            
</script>


I am doing the sams asp .net in 21 days and this is one of their examples.  I cannot get it to work.
0
Comment
Question by:oleg27
  • 3
  • 2
5 Comments
 
LVL 11

Expert Comment

by:Slimshaneey
ID: 10929190
Try changing the connectio to this:
dim objConn as new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=c:\ASPNET\data\banking.mdb")
0
 

Author Comment

by:oleg27
ID: 10929603
Um that is exactly what i have.
0
 
LVL 11

Expert Comment

by:Slimshaneey
ID: 10929621
Yours is:
Microsoft.Jet.OLEDB.4.0; & Data Source=c:\ASPNET\data\banking.mdb")
0
 
LVL 11

Accepted Solution

by:
Slimshaneey earned 125 total points
ID: 10929625
Note the ampersand...
0
 

Author Comment

by:oleg27
ID: 10929678
I knew it was going to be something stupid. Of course i left that & in because in the text it is actually on two lines, hence the connector. Cripes.  Thank you.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
UT-F and other ASP code. What is it for ? 3 31
syntax error on ASP ? 6 43
Update table value with join syntax 2 60
If-Then-Else ASP problem 6 49
I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now