This project is read-only.

Azure hosted Export incomplete when imported to locally hosted Orchard instance.

Topics: Administration
May 23, 2016 at 9:59 PM
I'm trying to learn how to move sites between environments.

So far I've set up an Azure instance and people are editing content there.

I also created a local instance in WebMatrix.

Today I created an Export of the Azure site and tried to import it into the local site.

This seemed to go well and the message said "Status: complete" at the top of the page afterward.

When I tried to view the site, I got the following error:
Server Error in '/' Application.
Object reference not set to an instance of an object.
[NullReferenceException: Object reference not set to an instance of an object.]
Bootstrap.Filters.LayoutFilter.OnResultExecuting(ResultExecutingContext filterContext) +145

I tried Importing it to another Orchard instance and the Content was imported - but without the Theme.

So I manually installed the Theme and it looked better, but for some reason there were old extra menu items.

Also, images at the following path could not be found:


I was hoping I could use imports and exports for deployment between environments but the feature doesn't seem to offere backups that are complete or stable enough for that use.

Any ideas on what might be going wrong?