Copied to clipboard

Flag this post as spam?

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


  • Mark Thomas 34 posts 127 karma points
    May 01, 2013 @ 12:10
    Mark Thomas
    0

    Uninstalling Newsletter Studio removes all content from trees in backoffice

    Hi,

    I am depply frustrated. It seems like it all started when I tried to uninstall the Newsletter Studio package.

    After this no content was visible under the content node, and similar for media, settings, dev, and so on.

    The specific error was in DependancyHandler, line 2, character 31006

     

    To get my tree nodes back I tried to reinstall Newsletter Studio again, but right after installation I get a new error:

     

    System.Data.SqlClient.SqlException: Invalid column name 'SenderName'.

     

    And when I try and view a node with a rich text editor I get this error:

    System.ArgumentException: Item has already been added. Key in dictionary: 'undo'  Key being added: 'undo'

    Please help!!
    Our test environment is unusable at the moment...
    Mark.

     

  • Markus Johansson 1914 posts 5761 karma points MVP c-trib
    May 01, 2013 @ 12:17
    Markus Johansson
    100

    Hi!

    Sorry for the problems this is not the expected behaivor.

    I looks like the version you uninstalled was older than the one you installed later? The ns_Newsletter table should have a nvarchar(max) field called "SenderName" from version 1.3.2 and above. But I can't see why uninstalling the package caused the DepandancyHandler to be blow? Did you look in the umbraco log? Anything there?

    The System.ArgumentException-errors is due to duplications in the /config/tinyMce.config-file which was a known bug in the old uninstaller. If you clean up any duplicates there you should be fine.

    // m

  • Mark Thomas 34 posts 127 karma points
    May 01, 2013 @ 12:42
    Mark Thomas
    0

    Hi,

    Yes I did install an older version from last year some time, but unfortunately my company chose another solution and I thought I would clean up our test environment.

    I managed to clean up the tinyMceConfig file, even though I couldn't see the duplicates. I deleted about 10 different keys!

    Now when uninstalling I get this error in the umbracoLog:

    Error undoing package action 'NewsletterStudio' for package Newsletter Studio: System.IO.IOException: The directory is not empty.       
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)     
    at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive)     
    at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive)     
    at NewsletterStudio.Install.NewsletterStudioInstaller.Undo(String packageName, XmlNode xmlData)     
    at umbraco.cms.businesslogic.packager.PackageAction.UndoPackageAction(String packageName, String actionAlias, XmlNode actionXml)
     
  • Markus Johansson 1914 posts 5761 karma points MVP c-trib
    May 01, 2013 @ 12:51
    Markus Johansson
    0

    The uninstaller uses a lot of built in "Install actions" and some of them are quite bad at handeling errors.

    I guess that this is when we try to remove the folder  RemoveFolder("/umbraco/newsletterstudio");

    Is that folder empty?

  • Mark Thomas 34 posts 127 karma points
    May 01, 2013 @ 12:52
    Mark Thomas
    0

    That folder is empty.

     

    Another install error I got was (3 times with the same timestamp):

    Error undoing package action 'addApplicationTree' for package Newsletter Studio: 

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

    at umbraco.cms.businesslogic.packager.standardPackageActions.addApplicationTree.Undo(String packageName, XmlNode xmlData)     

    at umbraco.cms.businesslogic.packager.PackageAction.UndoPackageAction(String packageName, String actionAlias, XmlNode actionXml)

     

    My cleaning up the tinyMceConfig file came back to bite me... Suddenly I was missing all the stuff that I removed, but the error was a simple tinyMce is not defined.

    And another thing to add to the confusion. Umbraco.Licensing.dll was suddenly missing...

    So unfortunately an unproductive Umbraco day at the office, but I suppose it makes up for yesterday!! :-)

    Have a nice day and thanks for the help.

    Mark.

  • Markus Johansson 1914 posts 5761 karma points MVP c-trib
    May 01, 2013 @ 14:30
    Markus Johansson
    0

    Install error or uninstall error?

    Sorry, but I can't tell anything from these errors.

    Does your trees work now?

  • Mark Thomas 34 posts 127 karma points
    May 01, 2013 @ 14:33
    Mark Thomas
    0

    This was an uninstall error.

    I don't suppose these errors were anything to do with the greater issue.

    Everything is working again now, thanks. And now I can get on with getting our razor scripts and config files into source control, where I started this morning :-P

  • Markus Johansson 1914 posts 5761 karma points MVP c-trib
    May 01, 2013 @ 14:36
    Markus Johansson
    0

    Cool!

    Sorry for the problems.

    Cheers!

    // m

Please Sign in or register to post replies

Write your reply to:

Draft