Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • MK 429 posts 905 karma points
    Jan 21, 2014 @ 07:47
    MK
    0

    Installation Error on server

    Hi there,

    Im trying to install Contour 3.0.18 on Server and I'm getting the following error:

     

    Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.

     

    Line 29: <body class="umbracoPage">
    Line 30:     <form id="form1" runat="server">
    Line 31:     <asp:ScriptManager ID="ScriptManager1" EnablePartialRendering="true" runat="server">
    Line 32:     </asp:ScriptManager>
    Line 33:     <asp:ContentPlaceHolder ID="body" runat="server">
    [TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.]
       System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type) +0
       System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) +525
       System.ModuleHandle.ResolveTypeHandle(Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) +19
       System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) +315
       System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg) +208
       System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent) +1171
       System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType) +146
       System.Web.UI.AssemblyCache.GetAjaxFrameworkAssemblyAttribute(Assembly assembly) +103
       System.Web.UI.ScriptManager.get_DefaultAjaxFrameworkAssembly() +592
       System.Web.UI.ScriptManager..ctor() +30
       ASP.umbraco_masterpages_umbracopage_master.__BuildControlScriptManager1() in c:\spaces\xxx\stage.xxx.com\wwwroot\umbraco\masterpages\umbracoPage.Master:31
       ASP.umbraco_masterpages_umbracopage_master.__BuildControlform1() in c:\spaces\xxx\stage.xxx.com\wwwroot\umbraco\masterpages\umbracoPage.Master:30
       ASP.umbraco_masterpages_umbracopage_master.__BuildControlTree(umbraco_masterpages_umbracopage_master __ctrl) in c:\spaces\xxx\stage.xxx.com\wwwroot\umbraco\masterpages\umbracoPage.Master:1
       ASP.umbraco_masterpages_umbracopage_master.FrameworkInitialize() in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\74198caa\1230b536\App_Web_umbracopage.master.a29f75f4.iuoimoql.0.cs:0
       System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +1349
       System.Web.UI.Page.ApplyMasterPage() +75
       System.Web.UI.Page.PerformPreInit() +210
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1716
       

    Any input will be appreciated.

    Regards,

    Moshe

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Jan 21, 2014 @ 09:04
    Dennis Aaen
    100

    Hi Moshe,

    Here is a long post with the same issue, what I could pull out of it, was it could be a problem with the. Net 4.5.

    Correct me if I´m wrong.

    http://our.umbraco.org/forum/umbraco-pro/contour/42981-Could-not-load-type-SystemRuntimeCompilerServicesExtensionAttribute-from-assembly-mscorlib

    /Dennis

  • MK 429 posts 905 karma points
    Jan 21, 2014 @ 13:35
    MK
    0

    Hi Dennis,

    Many thanks for your reply.

    Just for the ref. Ive installed the 3.0.12 for now and it works fine.

    Cheers,

    Moshe

Please Sign in or register to post replies

Write your reply to:

Draft