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
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 ;)
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?
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.
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.
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
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 ;)
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
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.
is working on a reply...