I just ran into a problem while deploying af site that I have updated from v4.11.10 to 6.1.6. I did the update locally and then deployed the database and files.
However when i deployed the site and logged in to umbraco to see if everything was ok I found out that every published page i tried to view in the backoffice threw a YSOD.
I can't seem to figure out what's causing this, so any help would be much appreciated. Here is the YSOD i get:
[NullReferenceException: Object reference not set to an instance of an object.]
Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetById(UmbracoContext umbracoContext, Boolean preview, Int32 nodeId) +43
Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.DetermineRouteById(UmbracoContext umbracoContext, Boolean preview, Int32 contentId) +35
Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetRouteById(UmbracoContext umbracoContext, Boolean preview, Int32 contentId) +87
Umbraco.Web.Routing.DefaultUrlProvider.GetUrl(UmbracoContext umbracoContext, Int32 id, Uri current, UrlProviderMode mode) +66
Umbraco.Web.Routing.<>c__DisplayClass3.<GetUrl>b__0(IUrlProvider provider) +28
System.Linq.WhereSelectArrayIterator`2.MoveNext() +66
System.Linq.Enumerable.FirstOrDefault(IEnumerable`1 source, Func`2 predicate) +94
Umbraco.Web.Routing.UrlProvider.GetUrl(Int32 id, Uri current, UrlProviderMode mode) +169
Umbraco.Web.Routing.UrlProvider.GetUrl(Int32 id) +15
umbraco.cms.presentation.editContent.UpdateNiceUrls() +168
umbraco.cms.presentation.editContent.OnPreRender(EventArgs e) +20
System.Web.UI.Control.PreRenderRecursiveInternal() +83
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +974
The odd thing is that I can access unpublished pages fine, although i can't publish them. When I do i get this YSOD:
Can't acess published nodes.
Hi,
I just ran into a problem while deploying af site that I have updated from v4.11.10 to 6.1.6.
I did the update locally and then deployed the database and files.
However when i deployed the site and logged in to umbraco to see if everything was ok I found out that every published page i tried to view in the backoffice threw a YSOD.
I can't seem to figure out what's causing this, so any help would be much appreciated.
Here is the YSOD i get:
The odd thing is that I can access unpublished pages fine, although i can't publish them. When I do i get this YSOD:
Let me know if additional information is needed.
/Thor
Nevermind, turned out I was missing some files.
is working on a reply...