Newbie : Help me upload aspx files please

Discussion in 'C#' started by electron, Oct 28, 2007.

  1. #1
    hi, i uploaded the following files on a free account on tripod :

    img(folder)
    site.master
    site.master.cs
    trail.aspx(has a master page)
    trail.aspx.cs
    web.config

    and when i opened trail.aspx in my browser, it only showed the content present in the trail.aspx & did not inherit site.master.

    
    <%@ Page Language="C#" MasterPageFile="~/site.master" AutoEventWireup="true" CodeFile="trail.aspx.cs" Inherits="trail" Title="Untitled Page" %>
    
    Code (markup):
    was written on the top of the page, i guess something is wrong with this statement.

    Please help me out on this one.

    TIA
     
    electron, Oct 28, 2007 IP
  2. Forrest

    Forrest Peon

    Messages:
    500
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Note sure. You're using content blocks in the master page and hooking into them in trail?
     
    Forrest, Oct 28, 2007 IP
  3. teraeon

    teraeon Peon

    Messages:
    40
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Check to make sure that you have .NET Framework 2.0 set on your IIS virtual directory. Right click on the site in IIS and go to properties, there will be an ASP.NET Tab click on that and make sure that you're using the IIS 2.0 Framework.

    Also just so you don't have any headaches, make sure that your site is not in the same pool as other asp.net 1.1 or 1.0 applications, if it is you might either want to 1. switch those sites to the 2.0 framework, or 2. create a new pool and put your 2.0 framework sites in there.
     
    teraeon, Oct 31, 2007 IP
    Forrest likes this.