Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8912897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:19:53+00:00 2026-06-15T04:19:53+00:00

I have a hosting account with GoDaddy.com, IIS 7 server running .NET 4.0, and

  • 0

I have a hosting account with GoDaddy.com, IIS 7 server running .NET 4.0, and I am in the early stages of developing a web site for our church. The content is a free CSS based template I have moved into an ASP.NET Web App with Master pages. (If critique on content is necessary please keep in mind this is a very early stage of development…but I am open to any suggestions. 🙂 )

For some reason, when I enter the full URL to the default page, the page renders properly. However, if I only enter the folder name without the page name, I only get the content form the page itself.

See for your self:

http://www.websmithsllc.com/lpacftp/Home.aspx

http://www.websmithsllc.com/lpacftp

I don’t think this is an issue with my wire-up between the content page and the masterpage as it will properly render when I use the full URL. Therefore, I assume the issue is in one of three areas:

  1. How I am publishing: One Click to an FTP directory
  2. The project settings: Currently Home.aspx is the start page
  3. An issue with the settings on my host.

I really hope the issue isn’t #3 because my experience so far has been that their tech support is severely lacking in the area of Visual Studio / IIS development and publishing.

Now, some additional clues. I KNOW that the Site.Master file is being rendered, at least to some extent. The menu that is being displayed is created in the Site.Master.Page_Load event handler:

    protected void Page_Load(object sender, EventArgs e)
    {
        //Load sidebar content
        Page p = HttpContext.Current.CurrentHandler as Page;
        menuContent.Text = Helpers.StaticHelperMethods.GenerateMenuContent(p.Title);
    }

Static method:
public static string GenerateMenuContent(String pageTitle)
{
StringBuilder menu = new StringBuilder();

        if (pageTitle == "Home")
        {
            menu.Append("<a href=\"Home.html\" class=\"but but_t\"  title=\"Home Page\">Home</a>\n");
        }
        else
        {
            menu.Append("<a href=\"Home.html\" class=\"but\"  title=\"Home Page\">Home</a>\n");
        }
    More similar code...

In this case, p.Title should == “Home”, but the code is responding as though is does not, and I don’t know how (if I can) debug live to see what’s going on. Finally, if you look closely at the second link, you’ll notice some stock ASP.NET advertising text- that appears to be coming from the stock “Default.aspx” file in the BodyContent asp:Content object. However, looking at the properties/Web tab I can see that the startup action is Specific Page : Home.aspx.

So- hopefully I haven’t added a ton of unnecessary info here, but at least enough for someone with more experience to help me figure out what I’m doing wrong here.

Thanks in advance for whatever help you can offer me on this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T04:19:54+00:00Added an answer on June 15, 2026 at 4:19 am

    You need a default page. Create it and then in the code behind in Page_Load write:

    Response.Redirect(“Home.aspx”);

    Or change your default page in IIS. Or change your home page to Default.aspx (and rename the class and the page directive).

    Of the three, creating a Default.aspx page that redirects to Home.aspx is likely the easiest.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a shared-hosting account at GoDaddy, which includes LAMP (Linux, Apache HTTP Server,
I have a basic web hosting account through GoDaddy. It has plenty of space,
I have a Clustered Windows Hosting site which currently hosts an MVC Web Application
I have a site developed in ASP.NET and hosted on a windows server using
I have setup an SVN server on my hosting account. Users can check in
Actually I had a single domain (example.com) which is hosted in godaddy hosting account,
I have a hosting account on a USA based server. I want to produce
I have a hosting account where I cannot login to the server, I must
I have a site running in a Windows shared hosting environment. In their control
I have an hosting account on Godaddy which has been redirected for last few

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.