Solved

Could not find Installable ISAM - asp .net

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP SQL Syntax Duplicate Key 7 113
Get hold of longitude and latitude in iframe string 11 51
ASP exit 10 26
VB script help 23 30
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 was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
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…

735 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