Solved

Could not find Installable ISAM - asp .net

Posted on 2004-04-27
5
944 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 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

13 Experts available now in Live!

Get 1:1 Help Now