I've installed and set up Courier on both my live and staging sites but cannot get the locations to load. When I select 'Locations' in the left hand menu, nothing is listed and the following error is shown in the right hand window
Object reference not set to an instance of an object. Error details
System.NullReferenceException: Object reference not set to an instance of an object. at Umbraco.Courier.Core.Repository.loadSettings(XmlNode settingsXml) at Umbraco.Courier.Core.Storage.RepositoryStorage.GetAll() at Umbraco.Courier.UI.Pages.ViewRepositories.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Definitely check and double check the license, but I had this same error today, and it turned out not to be a licensing issue. Instead, it was exactly what it seemed. I had errors in my courier.config file.
I had quickly thrown this into my config folder and forgotten the name, alias, type, and visible attributes. If you are having problems and the license isn't helping, try comparing your courier.config file to the default courier.config file to make sure you haven't missed anything.
Can't load locations
I've installed and set up Courier on both my live and staging sites but cannot get the locations to load. When I select 'Locations' in the left hand menu, nothing is listed and the following error is shown in the right hand window
Object reference not set to an instance of an object. Error details
System.NullReferenceException: Object reference not set to an instance of an object. at Umbraco.Courier.Core.Repository.loadSettings(XmlNode settingsXml) at Umbraco.Courier.Core.Storage.RepositoryStorage.GetAll() at Umbraco.Courier.UI.Pages.ViewRepositories.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Any suggestions as to why this is happening?
@Danielle
Likely it's due to licensing. Make sure you have the Full Courier license configured for both location's hostnames and that it exists in both sites.
Definitely check and double check the license, but I had this same error today, and it turned out not to be a licensing issue. Instead, it was exactly what it seemed. I had errors in my courier.config file.
This is what I had:
This is what I needed:
I had quickly thrown this into my config folder and forgotten the
name
,alias
,type
, andvisible
attributes. If you are having problems and the license isn't helping, try comparing your courier.config file to the default courier.config file to make sure you haven't missed anything.is working on a reply...