After upgrading from Sitecore 7.2 to 7.5, whenever a content editor tried to upload an image, using the image picker from a data template, like so:
They would receive this error:
Server Error in '/' Application.
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0012: The type 'System.Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Runtime, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
Line 25: }
Line 26: }
Line 27: @Html.Sitecore().Placeholder("Page.Stylesheets")
Line 28: @Html.Sitecore().Placeholder("Page.Code")
Line 29: </head>
Source File: c:\Websites\authoring.instantoffices.com\Website\sitecore\shell\client\Speak\Layouts\Layouts\Speak-Layout.cshtml Line: 27
<add assembly="System.Runtime, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
Software Architect, Programmer and Technologist Jon Jones is founder and CEO of London-based tech firm Digital Prompt. He has been working in the field for nearly a decade, specializing in new technologies and technical solution research in the web business. A passionate blogger by heart , speaker & consultant from England.. always on the hunt for the next challenge