Hi all,
I am running Windows XP SP2 with IIS and .NET framework 2.0 installed. In the Default Website I have designated index.aspx as a valid document.
When I go to
http://localhost in my web browser I get a blank page. Not a "Page Cannot Be Found" error, just a page with a white background and nothing more.
In my index.aspx page I am trying to attach to and view information in a ACCESS database. The code is VERY simple right now (until I can get it working correctly) Here is the code....
<html>
<head>
<title>ASPX Test</title>
</head>
<body>
<form runat="server">
<asp:SqlDataSource id="ProductsSource" Runat="Server"
ProviderName="System.Data.OleDb"
ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0; Data Source=D:\Databases\eCommerce\eCommerce.mdb"
SelectCommand="SELECT ItemNumber, ItemName, ItemPrice, ItemQuantity FROM Products"/>
<asp:GridView DataSourceID="ProductsSource" Runat="Server"/>
</form>
</body>
</html>
The path in the DataSource is relative to my local machine. I know that the database contains data.
Any help would be greatly appreciated.