godaddy subdirectories and asp.net

Last post 11-11-2009 3:31 AM by Mellanie. 9 replies.

Sort Posts:

  • godaddy subdirectories and asp.net

    10-14-2009, 4:28 AM
    • Member
      11 point Member
    • issam1975
    • Member since 04-21-2009, 1:34 PM
    • Posts 67

    hi


    we have an asp.net site hosted with the unlimited plan the site work great
    in the root of the ftp directory i created a subdirectory and uploaded another (asp.net)website on it (just for testing)
    i createed the new sql server database and all
    the problem is when i want to access to the new website like this www.mysite.com/newsite i have an error :
    Parser Error Message: The file '/MasterPage.master' does not exist. Source Error: Line 1: <%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" Line 2: CodeFile="Revues.aspx.cs" Inherits="Revues" %>
    somebody tell me about subdirectories configuration but i don't know how i can do this
    thanks for your assistance and good day

    i an asp.net site hosted on godaddy without a problem

    in the root of the ftp directory i created a subdirectory and uploaded another (asp.net) website on it (just for testing)


    the problem is when i want to access to the new website like this www.mysite.com/newsite i have an error :


    Parser Error Message: The file '/MasterPage.master' does not exist. Source Error: Line 1: <%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" Line 2: CodeFile="Revues.aspx.cs" Inherits="Revues" %>

    somebody tell me about subdirectories configuration but i don't know how i can do this

    thanks for your assistance and good day

  • Re: godaddy subdirectories and asp.net

    10-14-2009, 10:36 AM
    Answer

    Hi,

    This directory is not an application. Create it as virual directory then it will work.

    This is becuase ~/MasterPage.master will point to the root application.


    HTH

    Regards

  • Re: godaddy subdirectories and asp.net

    10-14-2009, 11:12 AM

    Hello,

    I agree that you should configure the directory like application.

    Regards 

  • Re: godaddy subdirectories and asp.net

    10-14-2009, 12:25 PM
    • Member
      11 point Member
    • issam1975
    • Member since 04-21-2009, 1:34 PM
    • Posts 67

    Thnks a lot !!!


    this worked perfectely


    @smiling4ever: nice avatar it reminds me some good memories :)

  • Re: godaddy subdirectories and asp.net

    10-14-2009, 4:50 PM

    Glad to hear that your problem was fixed.

    issam1975:

    @smiling4ever: nice avatar it reminds me some good memories :)


    Me too :)

  • Re: godaddy subdirectories and asp.net

    10-15-2009, 3:51 AM
    • Member
      266 point Member
    • rumsfo
    • Member since 08-05-2009, 7:36 AM
    • Posts 125

    That is not rare when people which are having coding problems think that  they are because of the hosting company

    Nice to hear you have your problems sorted

  • Re: godaddy subdirectories and asp.net

    11-04-2009, 6:59 PM
    • Member
      26 point Member
    • CeOfFuture
    • Member since 08-02-2009, 1:28 PM
    • Posts 159

    how did you create virtual directoy

  • Re: godaddy subdirectories and asp.net

    11-05-2009, 3:53 AM
    • Member
      11 point Member
    • issam1975
    • Member since 04-21-2009, 1:34 PM
    • Posts 67

    go to the godaddy controlpanel


    under content section / IIS Management


    and don't forget to select the  "Set Application Root"  option



    have fun :)

  • Re: godaddy subdirectories and asp.net

    11-06-2009, 7:58 PM
    • Member
      26 point Member
    • CeOfFuture
    • Member since 08-02-2009, 1:28 PM
    • Posts 159

    issam1975:

    go to the godaddy controlpanel


    under content section / IIS Management


    and don't forget to select the  "Set Application Root"  option



    have fun :)

    thnx for replay

  • Re: godaddy subdirectories and asp.net

    11-11-2009, 3:31 AM
    • Member
      190 point Member
    • Mellanie
    • Member since 10-18-2009, 10:28 PM
    • Posts 89

    If you want to access your new www.mysite.com/newsite don't forget to set your applications root

    Seekdotnet.com provided ASP.NET Hosting for Shared Windows 2008 Hosting and also supported Reseller ASP Hosting Plan.

    Get 25% Off for any hosting plans within type this 25%OFF at Promotional Code's box

Page 1 of 1 (10 items)