Solved

Could not find Installable ISAM - asp .net

Posted on 2004-04-27
5
951 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

752 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