need solpart menu help

Last post 10-26-2003 7:45 AM by garevalo3. 4 replies.

Sort Posts:

  • need solpart menu help

    10-22-2003, 12:39 AM
    • Member
      40 point Member
    • garevalo3
    • Member since 04-08-2003, 3:03 PM
    • Posts 8
    does anyone know when i can get the latest source for the solpart menu for rainbow? i am trying to get it to work on vs.net 2002, winxp, fw 1.1 and receive the following error:

    Server Error in '/' Application.
    --------------------------------------------------------------------------------

    Object reference not set to an instance of an object.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:


    Line 575: {
    Line 576:
    Line 577: returnValue = portalSettings.CustomSettings["SITESETTINGS_PAGE_TITLE"].ToString();
    Line 578: }
    Line 579: else


    Source File: C:\Inetpub\Release1733\Rainbow\UI\Page.cs Line: 577

    Stack Trace:


    [NullReferenceException: Object reference not set to an instance of an object.]
    Rainbow.UI.Page.GetHtmlHeadElement(String elementName, String elementValue) in C:\Inetpub\Release1733\Rainbow\UI\Page.cs:577
    Rainbow.UI.Page.get_PageTitle() in C:\Inetpub\Release1733\Rainbow\UI\Page.cs:368
    Rainbow.UI.Page.BuildHtmlHead() in C:\Inetpub\Release1733\Rainbow\UI\Page.cs:540
    Rainbow.UI.Page.OnInit(EventArgs e) in C:\Inetpub\Release1733\Rainbow\UI\Page.cs:139
    Rainbow.DesktopDefault.OnInit(EventArgs e) in C:\Inetpub\Release1733\Rainbow\DesktopDefault.aspx.cs:38
    System.Web.UI.Control.InitRecursive(Control namingContainer) +241
    System.Web.UI.Page.ProcessRequestMain() +174




    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

    i couldn't get the install cmd file to run correctly, so i copied all the stuff into my project manually. i think i got everything right and the solution compiles. however . . . as you can see i screwed something up. i'm using the release 1733 code right now. has anyone had success? i hope a link to latest code. thanks

    G-
  • Re: need solpart menu help

    10-22-2003, 4:10 AM
    • Member
      545 point Member
    • John_Mandia
    • Member since 07-19-2002, 7:52 AM
    • Posts 109
    Hi,

    I dont think your problem is the solpart menu.

    It looks like you do not have a Default Page Title set up (Which is weird as that should be done by default).

    Have a look at the database, table rb_PortalSettings, look for the row that says SITESETTINGS_PAGE_TITLE and Make sure the SettingValue has something there.

    Let me know if that fixes it.

    Regards,

    John
  • Re: need solpart menu help

    10-22-2003, 5:14 AM
    • Member
      40 point Member
    • garevalo3
    • Member since 04-08-2003, 3:03 PM
    • Posts 8
    thanks a lot! your reply got me to look into new places . . .

    i changed line 577 of page.cs from

    returnValue = portalSettings.CustomSettings["SITESETTINGS_PAGE_TITLE"].ToString();

    to the line from the old page.cs

    returnValue = portalSettings.CustomSettings["TabTitle"].ToString();

    and now it's cool.

    after looking into rb_portalsettings table, i found no entry for SITESETTINGS_PAGE_TITLE at all. not in my production database or in the fresh version 1733 database. at first i changed to returnValue = "THIS IS A TEST"; and that helped me think to check out the old file, etc.

    any ideas where this SITESETTINGS_PAGE_TITLE value is supposed to be coming from? i think it's being read from the wrong collection...

    cheers,

    G-
  • Re: need solpart menu help

    10-22-2003, 9:36 AM
    • Member
      545 point Member
    • John_Mandia
    • Member since 07-19-2002, 7:52 AM
    • Posts 109
    Hi,

    A contributor (Cant remember his name at the moment.....sorry) has been updating these settings. This might have caused an issue with old versions of Rainbow. i.e. you had an old portal, the entry was added as TabTitle....the code was then updated to SITESETTINGS_PAGE_TITLE but your old portal didnt have this entry (Which is why it fell over).

    SITESETTINGS_PAGE_TITLE is the new standard so it might be better for you to change the Table entries rather than the code ;-)

    Regards,

    John
  • Re: need solpart menu help

    10-26-2003, 3:39 AM
    Locked
    • Member
      40 point Member
    • garevalo3
    • Member since 04-08-2003, 3:03 PM
    • Posts 8
    i'm using the 1744 source now from the cvs. solpart is already there along with a lot of new stuff. thanks

    G-
Page 1 of 1 (5 items)