Sto cercando di fare i primi passi col .net..
Ho fatto un semplicissimo db access (prova.mdb), le cui tabelle sono: id, nome e cognome.
L'ho salvato su wwwroot ed ho scritto questo codice .aspx che dovrebbe richiamarlo:

codice:
<%@ Import Namespace="System.Data.OleDb" %>

<script  runat="server">
sub Page_Load
dim dbconn,sql,dbcomm,dbread
dbconn=New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;data source=" & server.mappath("prva.mdb"))
dbconn.Open()
sql="SELECT * FROM utenti"
dbcomm=New OleDbCommand(sql,dbconn)
dbread=dbcomm.ExecuteReader()
utenti.DataSource=dbread
utenti.DataBind()
dbread.Close()
dbconn.Close()
end sub
</script>

<html>
<body>

<form runat="server">
<asp:Repeater id="utenti" runat="server">

<HeaderTemplate>
<table border="1" width="100%">
<tr bgcolor="#b0c4de">
<th>Nome</th>
<th>Cognomeme</th>
</tr>
</HeaderTemplate>

<ItemTemplate>
<tr bgcolor="#f0f0f0">
<td><%#Container.DataItem("nome")%> </td>
<td><%#Container.DataItem("cognome")%> </td>
</tr>
</ItemTemplate>

<FooterTemplate>
</table>
</FooterTemplate>

</asp:Repeater>
</form>

</body>
</html>
L'altro giorno mi si visualizzava una tabella cn i campi nome e cognome, ma aggiornando la pagina mi dava quest'errore:

Unable to connect













Firefox can't establish a connection to the server at localhost:8080.








* The site could be temporarily unavailable or too busy. Try again in a few
moments.

* If you are unable to load any pages, check your computer's network
connection.

* If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.

Oggi me lo da come apro la pagina..
Mi date una mano a capire...
e grazie anticipato