Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • ClausV 2 posts 22 karma points
    Oct 07, 2009 @ 10:17
    ClausV
    0

    Packages functionality missing in upgraded 4.0.2.1

    I've just upgraded my umbraco 3.3 to 4.0.2.1 and were about to install the membercontrols package, but where is the import package function? OK, found a post that said to expand the packages folder on the developer view and choose Install Local Package (http://www.nibble.be/?p=65)....

     

    Expanded the Packages folder.... NOTHING...  no sub-nodes.The only option I have when right-clicking on Packages is Create or Reload nodes... Nothing else...

    Fine I thought, I'll try to create a package... Doing fine... Saving... Everything is OK... Publishing... BANG! 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:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.cms.businesslogic.packager.repositories.Repository.getAll() +60
       umbraco.presentation.developer.packages._Default.saveOrPublish(Object sender, CommandEventArgs e) +269
       System.Web.UI.WebControls.ImageButton.OnCommand(CommandEventArgs e) +8738382
       System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +176
       System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
    



    Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082

     

    I suspect something is missing in the upgrade files downloaded from CodePlex, but have NO idea of what... Do any of you have any clues?

    The site is running on a W2K3R2 box with .Net Framework 3.5

     

    regards,

     Claus

     

  • Nicolás Lope de Barrios 21 posts 42 karma points
    Mar 10, 2010 @ 04:28
    Nicolás Lope de Barrios
    0

    Same thing happens to me. Umbraco 4.0.3 running on Windows Server 2008 with .NET Fwk 3.5 and SQL Server 2008 EE.

  • Nicolás Lope de Barrios 21 posts 42 karma points
    Apr 06, 2010 @ 00:16
    Nicolás Lope de Barrios
    0

    Had the same problem, it was solved. Thanks!!

    Detailed solution:

    1. Click on Developer - Packages to generate an event
    2. Through Event Viewer on the Windows Server, Applications, I found that the \data\packages folder was empty.
    3. Copied previous versions from and old site (with created and installed folders, and their respective .config files)
    4. Problem solved.

    cheers,
    Nico.

Please Sign in or register to post replies

Write your reply to:

Draft