Razor Partial View Macros broken with 1.0.2 & Umbraco 7.1.4
Howdy,
We installed the 1.0.2 package and immediately started having YSOD on the front-end (error below). I saw the thread from 1.0 suggesting to remove these Google DLLs:
Google.Apis.Auth.dll
Google.Apis.Auth.Mvc4.dll
Google.Apis.dll
We pulled them out manually and the site is working again. Might want to stop including those in the package?
Mark
Server Error in '/' Application.
'Umbraco.Web.Models.DynamicPublishedContentList' does not contain a definition for 'Any'
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'Umbraco.Web.Models.DynamicPublishedContentList' does not contain a definition for 'Any'
Source Error:
Line 4: }
Line 5:
Line 6: @if (CurrentPage.Ancestors().Any())
Line 7: {
Line 8: foreach (var page in CurrentPage.Ancestors().OrderBy("Level")) {
Thanks yes I keep meaning to release a new version of the Analytics package to resolve this without the DLLs included.
I will try & find some time over the weekend to do this.
Razor Partial View Macros broken with 1.0.2 & Umbraco 7.1.4
Howdy,
We installed the 1.0.2 package and immediately started having YSOD on the front-end (error below). I saw the thread from 1.0 suggesting to remove these Google DLLs:
Server Error in '/' Application.
'Umbraco.Web.Models.DynamicPublishedContentList' does not contain a definition for 'Any'
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'Umbraco.Web.Models.DynamicPublishedContentList' does not contain a definition for 'Any'
Source Error:
Line 4: } Line 5: Line 6: @if (CurrentPage.Ancestors().Any()) Line 7: { Line 8: foreach (var page in CurrentPage.Ancestors().OrderBy("Level")) {
Source File: d:\home\site\wwwroot\Views\Partials\RecruitingUmbracoBreadcrumb.cshtml Line: 6
Stack Trace:
Thanks yes I keep meaning to release a new version of the Analytics package to resolve this without the DLLs included.
I will try & find some time over the weekend to do this.
Cheers,
Warren
Hi Warren
Have you managed to sort this issue?
Kind regards
Martin
is working on a reply...