+ Reply to Thread
Results 1 to 3 of 3

Thread: Unable to serve aspx (ASP.NET) pages

  1. #1
    edufray is offline x10Hosting Member edufray is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    1

    Unable to serve aspx (ASP.NET) pages

    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)
    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>
    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.

    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!

  2. #2
    Twinkie is offline Banned Twinkie is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Ft. Lauderdale, Florida
    Posts
    1,389

    Re: Unable to serve aspx (ASP.NET) pages

    LMSTFY?? Where is it when you need it

    Sorry for the lack of quick responses, but this is the most commonly asked question on this forum. Please search feature to find out how to set up ASP.NET for your account

  3. #3
    zen-r's Avatar
    zen-r is offline Lord Of The Keys zen-r is an unknown quantity at this point
    Join Date
    Aug 2008
    Location
    Location,Location. Nothing else matters ....apparently.
    Posts
    1,937

    Re: Unable to serve aspx (ASP.NET) pages

    For great installation & servicing of Audio Visual systems & equipment
    inc. LCD & Plasma Screens, Loudspeakers, Projectors, Aerials & Satellite Dishes, Lighting effects & controllers, Hifi, Amplifiers, Surround Sound, Home Cinema & Video etc
    -: based around Plymouth, Devon, or anywhere in the southwest of the UK, visit :-

+ Reply to Thread

Similar Threads

  1. Ok, so I'm trying to decided wether to use asp.net or php
    By mrfish in forum Programming Help
    Replies: 8
    Last Post: 06-16-2009, 05:59 AM
  2. can server absolut run aspx pages?
    By edzzik in forum Free Hosting
    Replies: 1
    Last Post: 09-22-2008, 08:49 AM
  3. can we run aspx and asp pages in stoli
    By indisoft in forum Scripts & 3rd Party Apps
    Replies: 2
    Last Post: 08-01-2008, 09:17 AM
  4. Replies: 7
    Last Post: 09-16-2005, 10:27 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers