SubSonic Forums
All Your Database Are Belong To Us

SubsonicCMS Subsonic Starter Site - SVN Revision 11 - 404 on Default.aspx

Latest post 08-20-2008 11:41 PM by ranomore. 1 replies.
  • 08-19-2008 4:18 PM

    SubsonicCMS Subsonic Starter Site - SVN Revision 11 - 404 on Default.aspx

    Hello Subsonic-Team!
    First of all my kudos for the things great things you offer for free.

    I am just starting to learn subsonic so yesterday i got the Revision 11 from svn (http://subsoniccms.googlecode.com/svn/trunk/Web) and tried it to run today. On the Default.aspx i got a 404 error:

    Oops! Can't find that page...
    Narrator: In A.D. 2101, war was beginning and we try to find URL but cannot...

    So i went to Default.aspx.cs and removed the comments

    on line 14:    protected CMS.Page thisPage = new CMS.Page();  

    and

    on line 18:     Master.thisPage = thisPage;

    Which did the trick for default.aspx - no 404 anymore.

    But then on Login.aspx and on CMSPageList.aspx there was the same problem and i could not solve it.

    Could it be that in Default.aspx.cs the line:

    //        SiteUtility.BuildBasePage((BasePage)this, ref thisPage, "default.aspx");

    needs to be uncommented as well?

    I tried that but got the errror:

    CS1502: overloaded ... SiteUtility.BuildBasePage(BasePage, BaseMasterPage, string) ... invalid arguments

    Should i stick to the offical released version of Subsonic Starter?

     Btw: I am running Vs 2008, and haven 3.5 with sp1 installed

    Thanks Best regards

     

     

  • 08-20-2008 11:41 PM In reply to

    • ranomore
    • Top 10 Contributor
    • Joined on 11-05-2007
    • Salt Lake City
    • Posts 322

    Re: SubsonicCMS Subsonic Starter Site - SVN Revision 11 - 404 on Default.aspx

    All static pages need to exist in the CMS_Page table for them to be viewed. This is new functionality, and it still needs to be worked out. Big Smile

    They should already be in the database in the app_data folder, or you could run the numbered scripts in the App_Data\scripts folder.

Page 1 of 1 (2 items) | RSS