Heya.
I've been following a variety of asp.net tutorials (including the w3c ones), and have uploaded a set of test .aspx pages to my site at:
A quick test XHTML page works, but no .aspx page will work (even if only by changing the extension). I'm comfortable with VB.NET, but this is my first foray into ASP.NET on a live site.
Here's one example (http://edufray.x10hosting.com/xmllooper.aspx)
Are there any cPanel settings I need to adjust? I'm fairly sure it's not the pages, as in the source I'm getting blank pages - plus these pages work fine locally.Code:<%@ Import Namespace="System.Data" %> <script runat="server"> sub Page_Load if Not Page.IsPostBack then dim mycdcatalog=New DataSet mycdcatalog.ReadXml(MapPath("cdcatalog.xml")) cdcatalog.DataSource=mycdcatalog cdcatalog.DataBind() end if end sub </script> <html> <body> <form runat="server"> <asp:Repeater id="cdcatalog" runat="server"> <HeaderTemplate> <table border="1" width="100%"> <tr> <th>Title</th> <th>Artist</th> <th>Country</th> <th>Company</th> <th>Price</th> <th>Year</th> </tr> </HeaderTemplate> <ItemTemplate> <tr> <td><%#Container.DataItem("title")%></td> <td><%#Container.DataItem("artist")%></td> <td><%#Container.DataItem("country")%></td> <td><%#Container.DataItem("company")%></td> <td><%#Container.DataItem("price")%></td> <td><%#Container.DataItem("year")%></td> </tr> </ItemTemplate> <FooterTemplate> </table> </FooterTemplate> </asp:Repeater> </form> </body> </html>
Apologies if I've missed anything mentioned in a FAQ, but the links in this forum FAQ are dead http://forums.x10hosting.com/program...ease-read.html
Thanks for reading!


LinkBack URL
About LinkBacks
Reply With Quote


