Copied to clipboard

Flag this post as spam?

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


  • Rafe 21 posts 42 karma points
    Feb 16, 2011 @ 15:57
    Rafe
    0

    exception thrown when using dll files I compiled

    Hi guys, I have 4.5.2 installed and running fine, using the regular installer package from codeplex. When I download and compile revision 900 from the codeplex repository, then copy the dll files into my working installation, then when I load the site, it navigates to the installer page, and then throws an exception. Do you have to do something special to use custom compiled dll files in a site installed w/ the regular insaller package?

     

    Object reference not set to an instance of an object.

    [NullReferenceException: Object reference not set to an instance of an object.]
    umbraco.presentation.install._default.loadContent(InstallerStep currentStep) +446
    umbraco.presentation.install._default.OnInit(EventArgs e) +677
    System.Web.UI.Control.InitRecursive(Control namingContainer) +333
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Feb 16, 2011 @ 20:47
    Jan Skovgaard
    0

    Hi Rafe

    Can you desribe the steps you take when creating and compiling your project? Have you remembered to reference the neccesary Umbraco dll files?

    I think a snippet of your code could make it more easy to help you out.

    /Jan

  • Jameskn 64 posts 78 karma points
    Feb 20, 2011 @ 00:33
    Jameskn
    0

    Hi Rafe, 

    I would backup your current install then copy everything if you have from the compiled install over. You will maybe find a last minute tweak or something like that is missing out and it would rule out any other oddness going forward. I would probably not mix the two. ;) Mixing leads to bad hangovers ;) 

  • Kim Andersen 1447 posts 2196 karma points MVP
    Feb 20, 2011 @ 12:44
    Kim Andersen
    0

    Hi Rafe

    Just a small note, that probably won't solve the issue: Have you made sure that you are compiling against the same .NET version as the version your site is running?

    /Kim A

  • Rafe 21 posts 42 karma points
    Feb 20, 2011 @ 17:01
    Rafe
    0

    It actually turned out that I was using the wrong revision from the repository. I reverted back  to the revision marked 4.5.2 and everything works fine now.

Please Sign in or register to post replies

Write your reply to:

Draft